Skip to content

Instantly share code, notes, and snippets.

@bahamas10
Created July 28, 2020 21:23
Show Gist options
  • Save bahamas10/d52057f65adc2fb92c8b2e32307a22b4 to your computer and use it in GitHub Desktop.
Save bahamas10/d52057f65adc2fb92c8b2e32307a22b4 to your computer and use it in GitHub Desktop.
ThinkPad TouchPad on Void Linux fix

Synaptics Touchpad

I did an XBPS upgrade on my Void Linux system and my touchpad stopped working (ThinkPad X1 Carbon Gen6). The TrackPoint (little red nub thingy in the keyboard) still worked just fine.

Find the device

xinput and libinput-devices both did not see the touchpad. I manually found the device as seen by the kernel with:

$ cat /proc/bus/input/devices

I: Bus=001d Vendor=06cb Product=0000 Version=0000
N: Name="Synaptics TM3289-021"
P: Phys=rmi4-00/input0
S: Sysfs=/devices/rmi4-00/input/input17
U: Uniq=
H: Handlers=mouse0 event15
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=6f3800001000003

I manually parsed this output and looked for something that seemed like it could be my trackpad. In this case, the TM3289-021 was the giveaway.

I then used evtest to verify that the touchpad itself was working:

$ sudo evtest /dev/input/event15
...
...
...

Using the touchpad (and clicking it) was generating a lot of output - so I knew it wasn't a hardware or kernel issue.

I tried a whole bunch of stuff, but eventually just said screw it and manually added an entry for my touchpad.

$ cat /etc/X11/xorg.conf.d/00-dave-trackpad.conf
Section "InputClass"
	Identifier "TM3289-021"
	Driver "libinput"
	Option "Tapping" "on"
EndSection

I rebooted my computer for good measure and my touchpad works again! Kind of a lame solution I guess, but it works.

@nguyenhai97
Copy link

evtest give me notthing, is that mean upstream kernel not even support my trackpoint? The old version of endless OS that come preinstalled have that work just fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment