ELAN1200 random clicks
Summary
Hi,
I am getting multiple random click events from time to time with an ELAN touchpad on an Asus laptop. Multiple similar issues seem to have been reported, however they all seem either solved after a kernel update (as described here) or abandoned. The issue is consistent across linux distributions and kernel versions / flavours.
Here are two events within 10 mn this afternoon, journalctl shows them at 16:36:08 and 16:43:57.
16:36:08 gnome-shell[1171]: libinput error: event9 - ELAN1200:00 04F3:303E Touchpad: kernel bug: Touch jump detected and discarded.
...
16:43:57 gnome-shell[1171]: libinput error: event9 - ELAN1200:00 04F3:303E Touchpad: kernel bug: Touch jump detected and discarded.
16:43:57 gnome-shell[1171]: See https://wayland.freedesktop.org/libinput/doc/1.15.5/touchpad-jumping-cursors.html for details
Journalctl sometimes also shows:
gnome-shell[1171]: libinput error: event9 - ELAN1200:00 04F3:303E Touchpad: libinput bug: 1: invalid tap event TAP_EVENT_RELEASE in state TAP_STATE_TAPPED
Required information
- libinput version: 1.15.5
- hardware information: Asus S530. Arch linux, Gnome 3.36.2, Wayland, using clickfinger and tap to click enabled.
cat /sys/class/dmi/id/modalias
dmi:bvnAmericanMegatrendsInc.:bvrX530UA.306:bd08/19/2019:svnASUSTeKCOMPUTERINC.:pnVivoBookS15X530UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX530UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
-
libinput record
output:
16:36:08 | 16:43:57 |
---|---|
16_35_59 | 16_43_33 |
16_36_11 | 16_44_06 |
16_36_20 | 16_44_09 |
I hope I got the time-frames right, otherwise I still have all the other yml files...
$ udevadm info /sys/class/input/event9
P: /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-5/i2c-ELAN1200:00/0018:04F3:303E.0001/input/input11/event9
N: input/event9
L: 0
S: input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-5/i2c-ELAN1200:00/0018:04F3:303E.0001/input/input11/event9
E: DEVNAME=/dev/input/event9
E: MAJOR=13
E: MINOR=73
E: SUBSYSTEM=input
E: USEC_INITIALIZED=11992363
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=103
E: ID_INPUT_HEIGHT_MM=70
E: ID_SERIAL=noserial
E: ID_PATH=pci-0000:00:15.1-platform-i2c_designware.1
E: ID_PATH_TAG=pci-0000_00_15_1-platform-i2c_designware_1
E: LIBINPUT_DEVICE_GROUP=18/4f3/303e:i2c-ELAN1200:00
E: DEVLINKS=/dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
$ sudo touchpad-edge-detector 105x62 /dev/input/event9
Touchpad ELAN1200:00 04F3:303E Touchpad on /dev/input/event9
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..3200], y [0..2198]
Touchpad sends: x [0..3200], y [2..2198] -^C//|
Touchpad size as listed by the kernel: 103x70mm
User-specified touchpad size: 105x62mm
Calculated ranges: 3200/2196
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ELAN1200:00 04F3:303E Touchpad:dmi:bvnAmericanMegatrendsInc.:bvrX530UA.306:bd08/19/2019:svnASUSTeKCOMPUTERINC.:pnVivoBookS15X530UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX530UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:*
EVDEV_ABS_00=0:3200:30
EVDEV_ABS_01=2:2198:35
EVDEV_ABS_35=0:3200:30
EVDEV_ABS_36=2:2198:35
Have a great day everyone