verify if your X220 has the faulty 8.1 firmware:
Code: Select all
dmesg | grep -i touchpad
libinput fix:[ +0.005261] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1,
id: 0x1e2b1, caps: 0xd002a3/0x940300/0x123800, board id: 1611, fw id: 1099905
Confirmed working on Debian Stretch, all credits to Peter Hutterer and the many Linux kernel developers, source: https://bugzilla.redhat.com/show_bug.cgi?id=12644531. Create a new file /etc/udev/hwdb.d/90-libinput-x220-fw8.1.hwdb
2. Look for X220 in the 90-libinput-model-quirks.hwdb file, copy the match and the property assignment into the file.
As of the time of writing, the two lines are as below, but make sure you take the latest from your locally installed libinput version.
libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPadX220*
LIBINPUT_MODEL_LENOVO_X220_TOUCHPAD_FW81=1
3. Update the udev hwdb with sudo udevadm hwdb --update
4. Verify the tag shows up with sudo udevadm test /sys/class/input/event4
5. Reboot