[Update] ThinkPad Trackpoint Config for Debian Linux

IMG_20150831_001631

My previous post about fitting a TouchPad with physical TrackPoint buttons to a Lenovo ThinkPad T440s provided a configuration file for Arch Linux.  I have since moved to Debian Unstable (Sid) on the system which required a slightly changed config as follows:

/etc/X11/xorg.conf.d/90-evdev.conf

Section "InputClass"
 Identifier "Touchpad/TrackPoint"
 MatchProduct "TPPS/2 IBM TrackPoint"
 MatchDriver "evdev"
 Option "EmulateWheel" "1"
 Option "EmulateWheelButton" "2"
 Option "Emulate3Buttons" "0"
 Option "XAxisMapping" "6 7"
 Option "YAxisMapping" "4 5"
EndSection

The difference here is the “MatchProduct” line, on Arch this was “PS/2 Synaptics TouchPad” however on Debian it is “TPPS/2 IBM TrackPoint”.

In order to find the appropriate “MatchProduct” line for your specific system/distro, run the “xinput” command which will produce an output such as the following:

[camerong@barra ~ ]$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=10 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
 ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
 ↳ Power Button id=6 [slave keyboard (3)]
 ↳ Video Bus id=7 [slave keyboard (3)]
 ↳ Sleep Button id=8 [slave keyboard (3)]
 ↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
 ↳ ThinkPad Extra Buttons id=11 [slave keyboard (3)]
 ↳ Integrated Camera id=12 [slave keyboard (3)]

This clearly shows the correct MatchProduct identifier for your TrackPoint.