You are not logged in.

#1 2019-02-15 21:04:24

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,238

Touchpad broken in Plasma(Wayland) - any workaround?

After being excited about plasma(Wayland) working well in my Lenovo S540 laptop two days ago with the plasma 5.15 release, today after the following set of updates the touchpad no longer works:

[2019-02-15 19:05] [ALPM] transaction started
[2019-02-15 19:05] [ALPM] removed libsystemd (240.95-1)
[2019-02-15 19:05] [ALPM] upgraded libassuan (2.5.2-1 -> 2.5.3-1)
[2019-02-15 19:05] [ALPM] installed systemd-libs (240.95-2)
[2019-02-15 19:05] [ALPM] upgraded systemd (240.95-1 -> 240.95-2)
[2019-02-15 19:05] [ALPM] upgraded gnupg (2.2.12-2 -> 2.2.13-1)
[2019-02-15 19:05] [ALPM] upgraded harfbuzz (2.3.1-1 -> 2.3.1-2)
[2019-02-15 19:05] [ALPM] upgraded harfbuzz-icu (2.3.1-1 -> 2.3.1-2)
[2019-02-15 19:05] [ALPM] upgraded libjpeg-turbo (2.0.1-1 -> 2.0.2-1)
[2019-02-15 19:05] [ALPM] upgraded libqmi (1.22.0-1 -> 1.22.0-2)
[2019-02-15 19:05] [ALPM] upgraded linux-firmware (20190118.a8b75ca-1 -> 20190212.28f5f7d-1)
[2019-02-15 19:06] [ALPM] upgraded linux (4.20.7.arch1-1 -> 4.20.8.arch1-1)
[2019-02-15 19:06] [ALPM] upgraded linux-headers (4.20.7.arch1-1 -> 4.20.8.arch1-1)
[2019-02-15 19:06] [ALPM] upgraded nodejs (11.9.0-1 -> 11.10.0-1)
[2019-02-15 19:06] [ALPM] upgraded npm (6.7.0-1 -> 6.8.0-1)
[2019-02-15 19:06] [ALPM] upgraded perl-file-which (1.22-2 -> 1.23-1)
[2019-02-15 19:06] [ALPM] upgraded run-parts (4.8.6-1 -> 4.8.6.1-1)
[2019-02-15 19:06] [ALPM] upgraded speexdsp (1.2rc3-3 -> 1.2rc3-4)
[2019-02-15 19:06] [ALPM] upgraded systemd-sysvcompat (240.95-1 -> 240.95-2)
[2019-02-15 19:06] [ALPM] upgraded xterm (343-1 -> 344-1)
[2019-02-15 19:06] [ALPM] transaction completed

So now plasma(Wayland) is no longer usable. I can't see any easy way to recover the functionality of the touchpad.  It may be possible to use xinput commands in a script to set the properties of the touchpad to allow tap-to-click to work again, but I have had to revert to non-Wayland Plasma again. However I note that tap-to-click is listed as disabled in the following:

$ sudo libinput list-devices
...

Device:           SynPS/2 Synaptics TouchPad
Kernel:           /dev/input/event17
Group:            8
Seat:             seat0, default
Size:             97x67mm
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

Does anyone have a similar problem, and is there a way to bring back tap-to-click touchpad functionality when running Plasma(Wayland)?   In non-Wayland Plasma running under xorg the touchpad libinput settings are set in:

$ less /etc/X11/xorg.conf.d/90-libinput.conf
...

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
        Option "DisableWhileTyping" "on"
        Option "ScrollMethod" "edge"
EndSection

But of course under Wayland these are not used. Any help appreciated.

Edit: I tried making a file:

$ cat bin/tpad-wayland 
#!/bin/sh
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Click Method Enabled" 0 1
exit

which executes fine in normal plasma desktop, but when logged to Plasma(Wayland) just gives two lines output saying "unable to find device "SynPS/2 Synaptics TouchPad".

Last edited by mcloaked (2019-02-15 21:44:15)


Mike C

Offline

#2 2019-02-19 16:29:50

cytopyge
Member
Registered: 2018-04-10
Posts: 1

Re: Touchpad broken in Plasma(Wayland) - any workaround?

Have you tried escaping the slash?

The output from the command, sometimes has a "\" to escape symbols like "/" (ie "2:14:ETPS\/2_Elantech_Touchpad") and it needs to be removed.

More documentation and options like acceleration profiles can be found in sway-input(5).

https://wiki.archlinux.org/index.php/Sway#Input_devices

Good luck!

cytopyge

Offline

#3 2019-02-21 19:41:06

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,238

Re: Touchpad broken in Plasma(Wayland) - any workaround?

I haven't tried escaping the / but then again the output quotes back the name of the device including the / so it doesn't look like that was the issue.  When I get a chance I will try it though.


Mike C

Offline

Board footer

Powered by FluxBB