This page was edited more than a year ago (2012-06-16), content might not be relevant or accurate anymore.

Autoconfigured Debian on ThinkPad (evdev)

So it happened I couldn't use kbd and mouse drivers at all with recent upgrade so I was forced to fix the evdev configuration.

First thing is to get rid of /etc/X11/xorg.conf, we won't need it for keyboard or mouse and you probably won't need it for anything else. You can just rename it.


Create /etc/X11/xorg.conf.d/20-thinkpad.conf (there are some distribution files in /usr/share/X11/xorg.conf.d/):

Section "InputClass"
	Identifier	"Trackpoint Wheel Emulation"
	MatchProduct	"TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
	MatchDevicePath	"/dev/input/event*"
	Option		"Emulate3Buttons"	"true"
	# trackpoint scrolling
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
	Option		"XAxisMapping"		"6 7"
	Option		"YAxisMapping"		"4 5"


Edit your /etc/default/keyboard:


Now it's best to reboot to be sure. I couldn't get udev to switch from model pc104 to evdev and some people reported issues with that (but it might work).


If you have shortcut problems with xbindkeys or similar tools then you should try to redefine them (some keycodes are different now).

Back to top
howto/autoconfigured_debian_x.org_on_thinkpad_evdev.txt · Last modified: 2012/06/16 13:35 by disorder
disorder's homepage Valid CSS Valid XHTML 1.0 Recent changes RSS feed