Elantech touchpad physical click buttons don't work
A few weeks ago, I noticed the physical click buttons on my touchpad are not working anymore after doing an update. In grub I can boot different kernels (/etc/zypp/zypp.conf). When I boot the 4.17.13-1 kernel, the touchpad and the physical buttons work. When I boot the 4.18.0-1 kernel, the touchpad doesn't work, as described above.
xinput list gives: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ ELAN1200:00 04F3:301A Touchpad id=11 [slave pointer (2)]
My touchpad is an Elantech touchpad on an ASUS Zenbook Flip UX360C.
xinput list-props 11 gives:
Device 'ELAN1200:00 04F3:301A Touchpad': Device Enabled (148): 1 Coordinate Transformation Matrix (150): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Tapping Enabled (283): 1 libinput Tapping Enabled Default (284): 0 libinput Tapping Drag Enabled (285): 1 libinput Tapping Drag Enabled Default (286): 1 libinput Tapping Drag Lock Enabled (287): 0 libinput Tapping Drag Lock Enabled Default (288): 0 libinput Tapping Button Mapping Enabled (289): 1, 0 libinput Tapping Button Mapping Default (290): 1, 0 libinput Natural Scrolling Enabled (291): 0 libinput Natural Scrolling Enabled Default (292): 0 libinput Disable While Typing Enabled (293): 1 libinput Disable While Typing Enabled Default (294): 1 libinput Scroll Methods Available (295): 1, 1, 0 libinput Scroll Method Enabled (296): 1, 0, 0 libinput Scroll Method Enabled Default (297): 1, 0, 0 libinput Click Methods Available (298): 1, 1 libinput Click Method Enabled (299): 1, 0 libinput Click Method Enabled Default (300): 1, 0 libinput Middle Emulation Enabled (301): 0 libinput Middle Emulation Enabled Default (302): 0 libinput Accel Speed (303): 0.000000 libinput Accel Speed Default (304): 0.000000 libinput Left Handed Enabled (305): 0 libinput Left Handed Enabled Default (306): 0 libinput Send Events Modes Available (268): 1, 1 libinput Send Events Mode Enabled (269): 0, 0 libinput Send Events Mode Enabled Default (270): 0, 0 Device Node (271): "/dev/input/event17" Device Product ID (272): 1267, 12314 libinput Drag Lock Buttons (307): libinput Horizontal Scroll Enabled (308): 1
libinput list-devices gives:
Device: ELAN1200:00 04F3:301A Touchpad Kernel: /dev/input/event17 Group: 7 Seat: seat0, default Size: 103x71mm Capabilities: pointer gesture Tap-to-click: disabled Tap-and-drag: enabled Tap drag lock: disabled Left-handed: disabled Nat.scrolling: disabled Middle emulation: disabled Calibration: n/a Scroll methods: *two-finger edge Click methods: *button-areas clickfinger Disable-w-typing: enabled Accel profiles: none Rotation: n/a
When I run libinput debug-events, I get output about the position of the touchpad: event17 POINTER_MOTION .... However, I don't get any output about clicking with the physical buttons of the touchpad.
I get an EV_KEY event when running evtest and clicking either left, middle or the right physical button.
Wikipedia states this:
Since version 1.16 the xorg-xserver obtained support for libinput:
Linux kernel → libevdev → libinput → xf86-input-libinput → X server → X client
https://en.wikipedia.org/wiki/Evdev
Because evtest receives the click events, but libinput debug-events doesn't, I guess this is a bug in libinput? evtest uses libevdev and libinput debug-events uses libinput.
How can I provide more debugging information and possibly fix this bug?
This issue is also described on the OpenSUSE forum, where another user also reports having this issue.