Touchpad cursor jumps around randomly during moving on ASUS MJ401TA
We have an ASUS MJ401TA laptop equipped with Intel m3-8100Y. The touchpad cursor jumps around randomly during moving. I noticed the error message keeps showing in journal log:
Apr 29 13:36:12 endless gdm-Xorg-:0[715]: (EE) event9 - ELAN1201:01 04F3:30CE Touchpad: kernel bug: Touch jump detected and discarded.
Apr 29 13:36:12 endless gdm-Xorg-:0[715]: See https://wayland.freedesktop.org/libinput/doc/1.12.6/touchpad-jumping-cursors.html for details
I got libinput record by sudo libinput record > /tmp/touchpad.yml
touchpad.yml
udevadm info /sys/class/input/event9
P: /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-5/i2c-ELAN1201:01/0018:04F3:30CE.0003/input/input12/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-ELAN1201:01/0018:04F3:30CE.0003/input/input12/event9
E: DEVNAME=/dev/input/event9
E: MAJOR=13
E: MINOR=73
E: SUBSYSTEM=input
E: USEC_INITIALIZED=12795802
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=102
E: ID_INPUT_HEIGHT_MM=58
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/30ce:i2c-ELAN1201:01
E: DEVLINKS=/dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
Evemu recording by sudo evemu-record > /tmp/recording.evemu
recording.evemu
cat /sys/class/dmi/id/modalias
dmi:bvnAmericanMegatrendsInc.:bvrMJ401TA.201:bd03/14/2019:svnASUSTeKCOMPUTERINC.:pnVivoBook_ASUSLaptopMJ401TA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnMJ401TA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
sudo touchpad-edge-detector 105x62 /dev/input/event9
Touchpad ELAN1201:01 04F3:30CE Touchpad on /dev/input/event9
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..3192], y [0..1824]
Touchpad sends: x [0..3192], y [1..1824] \^C
Touchpad size as listed by the kernel: 102x58mm
User-specified touchpad size: 105x62mm
Calculated ranges: 3192/1823
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ELAN1201:01 04F3:30CE Touchpad:dmi:bvnAmericanMegatrendsInc.:bvrMJ401TA.201:bd03/14/2019:svnASUSTeKCOMPUTERINC.:pnVivoBook_ASUSLaptopMJ401TA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnMJ401TA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:*
EVDEV_ABS_00=0:3192:30
EVDEV_ABS_01=1:1824:29
EVDEV_ABS_35=0:3192:30
EVDEV_ABS_36=1:1824:29