[Bug 1172669] New: Patch xf86-input-wacom package to use libinput driver instead of wacom driver for Wacom touchscreens
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669 Bug ID: 1172669 Summary: Patch xf86-input-wacom package to use libinput driver instead of wacom driver for Wacom touchscreens Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: pointedstick@zoho.com QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- The xf86-input-wacom package sets the use of the wacom driver instead of the libinput driver, which causes the touchscreen to be unusable in Qt-based software (e.g. All KDE stuff) due to an upstream bug: https://bugreports.qt.io/browse/QTBUG-84756 However even without the upstream Qt bug, arguably using the libinput driver on X11 is more correct anyway as the wacom driver is unmaintained and libinput is the only one that's usable on Wayland. Switching to the "libinput" driver resolves the issue without regressing anything in GTK apps. The required diff is as follows: $ diff -rubd /usr/share/X11/xorg.conf.d/70-wacom.conf.orig /usr/share/X11/xorg.conf.d/70-wacom.conf --- /usr/share/X11/xorg.conf.d/70-wacom.conf.orig 2020-06-08 08:08:01.576986784 -0600 +++ /usr/share/X11/xorg.conf.d/70-wacom.conf 2020-06-08 08:07:04.624218429 -0600 @@ -19,7 +19,7 @@ MatchUSBID "056a:*" MatchDevicePath "/dev/input/event*" MatchIsTouchscreen "true" - Driver "wacom" + Driver "libinput" EndSection Section "InputClass" @@ -43,7 +43,7 @@ MatchProduct "Wacom|WACOM|PTK-540WL|ISD-V4" MatchDevicePath "/dev/input/event*" MatchIsTouchscreen "true" - Driver "wacom" + Driver "libinput" EndSection Section "InputClass" Ubuntu already made this change to their packaging, FWIW: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
Ilya Bizyaev
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c1
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c2
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c3
--- Comment #3 from Ilya Bizyaev
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c4
--- Comment #4 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c5
Nathaniel Graham
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c6
--- Comment #6 from Nathaniel Graham
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c8
--- Comment #8 from Stefan Dirsch
Reading through https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242, multiple people confirmed that using the libinput driver worked for them, whereas only one person confirmed that turning off gestures worked for them--and that person was using a Dell XPS machine, which is different from the Lenovo Yoga devices against which the bug was originally reported. I suspect that bug report will get similarly re-opened with people saying that the fix didn't work for them.
That's not correct. In comment #16 they decided to use the patch (which disables gesture mode on touchscreens) instead of using libinput driver for touchscreens. Newer comments either tested with this package or tested explicitely with option gesture off. And all confirmed this would working. comments #18,19,28,32 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c9
--- Comment #9 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c10
--- Comment #10 from Nathaniel Graham
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c12
--- Comment #12 from Stefan Dirsch
Oops, you're right. However for some reason just disabling gesture support didn't work for me (unless I did it wrong?).
Just add Option "Gesture" "Off"` to the touchscreen section of 70-wacom.conf.
I can ocnfirm that uninstalling xf86-input-wacom also fixes the issue.
Thanks for confirmation.
However kcm_tablet seems to be a dependency of it, so this will remove the Plasma Wacom tablet KCM. That doesn't seem desirable.
For sure it's not. I wasn't aware of this dependancy. (In reply to Nathaniel Graham from comment #11)
I guess I'll check again once the fix is rolled out in the package itself.
Yes, this would be good. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c13
--- Comment #13 from Nathaniel Graham
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c14
Fabian Vogt
Has this fix been packaged and made available as an update yet?
The patch which disables gestures for touchscreens is there: https://build.opensuse.org/package/rdiff/openSUSE:Factory/xf86-input-wacom?linkrev=base&rev=32 So it seems like that didn't work, resetting status...
I ask because some update reset my patched /usr/share/X11/xorg.conf.d/70-wacom.conf file which broke the touchscreen again, and I can't tell whether the xf86-input-wacom package is supposed to have the fix yet.
FTR, you should be able to override that without package updates clearing it again by cp /usr/share/X11/xorg.conf.d/70-wacom.conf /etc/X11/xorg.conf.d/70-wacom.conf and editing that instead. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c15
--- Comment #15 from Nathaniel Graham
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c16
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c17
Nathaniel Graham
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c18
--- Comment #18 from Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c19
--- Comment #19 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669
http://bugzilla.opensuse.org/show_bug.cgi?id=1172669#c20
Stefan Dirsch
participants (1)
-
bugzilla_noreply@suse.com