Bug 196735

Summary: Touchpad does not behave properly with 4.12.x kernel
Product: Drivers Reporter: Harish Hyma (harish.hyma)
Component: Input DevicesAssignee: drivers_input-devices
Status: NEW ---    
Severity: high CC: harish.hyma
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.12.8 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: evemu recording of the problem

Description Harish Hyma 2017-08-23 06:35:35 UTC
I am having issues with the 4.12.x series kernel. My touchpad is not behaving as it should. More specifically, a two-finger tap AFTER a three-finger tap gesture results in continuous clipboard pasting and middle-click events as long as the fingers rest on the touch pad.

I am currently running a thinkpad x250 laptop with arch linux. I have found that switching to the 4.9.x series LTS kernel solves the problem. 

Bugs have been filed for Libinput as well. Please see the following links for more details about bug reports and other information:
1.) https://bbs.archlinux.org/viewtopic.php?id=228673
2.) https://bbs.archlinux.org/viewtopic.php?id=229349
3.) https://bugs.freedesktop.org/show_bug.cgi?id=101979
4.) https://bugs.freedesktop.org/show_bug.cgi?id=102270
Comment 1 Harish Hyma 2017-08-25 07:07:44 UTC
Created attachment 258095 [details]
evemu recording of the problem

This is the evemu recording of the touch events. The bug has been confirmed by libinput developers in https://bugs.freedesktop.org/show_bug.cgi?id=101979. They say it is most probably a kernel bug.
Comment 2 Harish Hyma 2017-08-29 08:53:14 UTC
It appears that reloading the mouse kernel module using:

rmmod psmouse
modprobe psmouse synaptics_intertouch=0

Apparently temporarily solves the problem. See https://bbs.archlinux.org/viewtopic.php?id=229349 for more information.

This is weird behaviour.