ELAN1200:00 04F3:303E touchpad: tap-to-click too sensitive, cannot debug and change pressure/size ranges
Elan touchpad ELAN1200:00 04F3:303E on an Asus VivoBook Pro 15 N580VD. libinput 1.12.4-1 on an up-to-date Arch Linux setup.
The touchpad is too sensitive to taps, so I often focus/activate things I don't want to or start a drag I didn't mean to start. I tried debugging it following https://wayland.freedesktop.org/libinput/doc/latest/touchpad-pressure-debugging.html , but I get this...
$ libinput measure touchpad-pressure
Using ELAN1200:00 04F3:303E Touchpad: /dev/input/event9
Error: device does not have ABS_PRESSURE/ABS_MT_PRESSURE
$ libinput measure touch-size
Using ELAN1200:00 04F3:303E Touchpad: /dev/input/event9
Error: device does not have ABS_MT_TOUCH_MAJOR
Other infos...
$ xinput list-props "ELAN1200:00 04F3:303E Touchpad"
Device 'ELAN1200:00 04F3:303E Touchpad':
Device Enabled (181): 1
Coordinate Transformation Matrix (183): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (336): 1
libinput Tapping Enabled Default (337): 0
libinput Tapping Drag Enabled (338): 1
libinput Tapping Drag Enabled Default (339): 1
libinput Tapping Drag Lock Enabled (340): 1
libinput Tapping Drag Lock Enabled Default (341): 0
libinput Tapping Button Mapping Enabled (342): 1, 0
libinput Tapping Button Mapping Default (343): 1, 0
libinput Natural Scrolling Enabled (318): 0
libinput Natural Scrolling Enabled Default (319): 0
libinput Disable While Typing Enabled (344): 1
libinput Disable While Typing Enabled Default (345): 1
libinput Scroll Methods Available (320): 1, 1, 0
libinput Scroll Method Enabled (321): 1, 0, 0
libinput Scroll Method Enabled Default (322): 1, 0, 0
libinput Click Methods Available (346): 1, 1
libinput Click Method Enabled (347): 1, 0
libinput Click Method Enabled Default (348): 1, 0
libinput Middle Emulation Enabled (325): 0
libinput Middle Emulation Enabled Default (326): 0
libinput Accel Speed (327): 0.600000
libinput Accel Speed Default (328): 0.000000
libinput Left Handed Enabled (332): 0
libinput Left Handed Enabled Default (333): 0
libinput Send Events Modes Available (303): 1, 1
libinput Send Events Mode Enabled (304): 0, 1
libinput Send Events Mode Enabled Default (305): 0, 0
Device Node (306): "/dev/input/event9"
Device Product ID (307): 1267, 12350
libinput Drag Lock Buttons (334): <no items>
libinput Horizontal Scroll Enabled (335): 1
$ udevadm info /sys/class/input/event9
P: /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN1200:00/0018:04F3:303E.0001/input/input12/event9
N: input/event9
S: input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
E: DEVLINKS=/dev/input/by-path/pci-0000:00:15.1-platform-i2c_designware.1-event-mouse
E: DEVNAME=/dev/input/event9
E: DEVPATH=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN1200:00/0018:04F3:303E.0001/input/input12/event9
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=70
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=103
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: ID_SERIAL=noserial
E: LIBINPUT_DEVICE_GROUP=18/4f3/303e:i2c-ELAN1200:00
E: MAJOR=13
E: MINOR=73
E: SUBSYSTEM=input
E: USEC_INITIALIZED=4315379
$ cat /sys/class/dmi/id/modalias
dmi:bvnAmericanMegatrendsInc.:bvrX580VD.315:bd03/08/2018:svnASUSTeKCOMPUTERINC.:pnX580VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX580VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
$ touchpad-edge-detector 105x73 /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 [14..2198] \^C/
Touchpad size as listed by the kernel: 103x70mm
User-specified touchpad size: 105x73mm
Calculated ranges: 3200/2184
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ELAN1200:00 04F3:303E Touchpad:dmi:bvnAmericanMegatrendsInc.:bvrX580VD.315:bd03/08/2018:svnASUSTeKCOMPUTERINC.:pnX580VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX580VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:*
EVDEV_ABS_00=0:3200:30
EVDEV_ABS_01=14:2198:30
EVDEV_ABS_35=0:3200:30
EVDEV_ABS_36=14:2198:30
The touchpad seems to have physical hardware buttons, but they are not separate: you press the left or right bottom area, it lowers and it makes a "click" sound. The upper, main area does not lower and does not make "click" sound, so I'm almost sure the touchpad uses "clickfinger". It has tap-to-click enabled and working for left-one finger, right-two fingers, middle three fingers.
I attach the output from "libinput record", recording taps from "very strong" to "very light". touchpad.yml