Lost use of middle button on Asus trackpad on Leap 15.1

Greetings all

When I upgraded from Leap 15.0 to Leap 15.1, I lost the use of my middle button on the trackpad. Left and right work well, and I can set the three-finger-tap action to simulate the middle button—but the touchpad only registers left and right

I’m using an Asus ZenBook UX330UA.

Thank you!

Which desktop environment are you using? Please show us the output from

sudo libinput list-devices

That may help us advise further.

Thank you!

Lots here, but I don’t want to redact anything that might be relevant.


adam@linux-sv30:~> sudo libinput list-devices
[sudo] password for root: 
Device:           Power Button
Kernel:           /dev/input/event6
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus Wireless Radio Control
Kernel:           /dev/input/event3
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event2
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event5
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event4
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USB2.0 HD UVC WebCam
Kernel:           /dev/input/event16
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ELAN1300:00 04F3:3028 Touchpad
Kernel:           /dev/input/event9
Group:            8
Seat:             seat0, default
Size:             103x69mm
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

Device:           HDA Intel PCH Headphone
Kernel:           /dev/input/event10
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=3
Kernel:           /dev/input/event11
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=7
Kernel:           /dev/input/event12
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=8
Kernel:           /dev/input/event13
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=9
Kernel:           /dev/input/event14
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=10
Kernel:           /dev/input/event15
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event8
Group:            10
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event0
Group:            11
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a 

I’m using KDE, Plasma 5.12.8

Thanks for the Elantech touchpad info.

Please run the following in a terminal and capture the output (if any) that occurs when you press the middle touchpad button…

sudo libinput-debug-events

Then we can see if the button is properly recognised. It may be just a case of using a newer kernel perhaps, and if that is the case, you can do so like this…
https://www.addictivetips.com/ubuntu-linux-tips/install-new-linux-kernel-versions-on-opensuse-leap/

Just to clarify further - does your touchpad have 3 physical buttons, or do you depend on middle button emulation? (I note that it is currently disabled in the libinput output you’ve provided.)

It looks like the middle touchpad button is recognized. See

event9

. so maybe getting a new kernel is the best solution:

adam@linux-sv30:~> sudo libinput debug-events
-event5   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event6   DEVICE_ADDED     Asus Wireless Radio Control       seat0 default group2  cap:k
-event1   DEVICE_ADDED     Video Bus                         seat0 default group3  cap:k
-event2   DEVICE_ADDED     Lid Switch                        seat0 default group4  cap:S
-event4   DEVICE_ADDED     Power Button                      seat0 default group5  cap:k
-event3   DEVICE_ADDED     Sleep Button                      seat0 default group6  cap:k
-event16  DEVICE_ADDED     USB2.0 HD UVC WebCam              seat0 default group7  cap:k
-event9   DEVICE_ADDED     ELAN1300:00 04F3:3028 Touchpad    seat0 default group8  cap:pg  size 103x69mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event10  DEVICE_ADDED     HDA Intel PCH Headphone           seat0 default group9  cap:
-event11  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=3       seat0 default group9  cap:
-event12  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=7       seat0 default group9  cap:
-event13  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=8       seat0 default group9  cap:
-event14  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=9       seat0 default group9  cap:
-event15  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=10      seat0 default group9  cap:
-event8   DEVICE_ADDED     Asus WMI hotkeys                  seat0 default group10 cap:k
-event0   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group11 cap:k
-event9   POINTER_BUTTON    +2.26s    BTN_MIDDLE (274) pressed, seat count: 1
 event9   POINTER_BUTTON    +2.49s    BTN_MIDDLE (274) released, seat count: 0
-event0   KEYBOARD_KEY      +6.17s    *** (-1) pressed
 event0   KEYBOARD_KEY      +6.25s    *** (-1) released
 event0   KEYBOARD_KEY      +7.30s    *** (-1) pressed
 event0   KEYBOARD_KEY      +7.55s    *** (-1) pressed
^C
adam@linux-sv30:~> 

Some resolution–

https://wiki.archlinux.org/index.php/Libinput#Via_Xorg_configuration_file was useful.

I renamed /etc/X11/conf.d/70-synaptics.conf to /etc/X11/conf.d/70-synaptics.conf.old, and now the libinput driver takes precedence. I have the middle button back.

Unfortunately, many of the settings in the KDE touchpad configuration dialog are no longer available, including mouse speed, and a few other options. Nonetheless, the default options are more sensible than before.

Thank you for all of your help!

Yes, libinput should be handling the touchpad device now. The synaptics driver has been deprecated since a few years now anyway. Glad to have been of help.