Bug 98265

Summary: Wacom tablet not found by Gnome 3.22
Product: Wayland Reporter: camalot
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: major    
Priority: medium CC: peter.hutterer
Version: 1.5.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Output of libinput-list-devices
evemu-record of pen attempting to interact with windows
Output from libwacom-list-local-devices, looks sane to me.

Description camalot 2016-10-14 18:17:28 UTC
I upgraded to Gnome 3.22 on Archlinux yesterday and my Wacom Intuos PTH-451 tablet is no longer detected and configurable through the Gnome Settings Wacom Tablet settings panel.  In addition, while the touchpad controls the regular mouse pointer and seems to work fine, the pen controls a separate pointer that seems to react to the windows on the screen, changing pointer shape based on whether it is on the edge of a window to indicate the window can be resized, etc. but clicking any of the buttons and touching the tip to the tablet generally doesn't seem to work to click on GUI controls.  Though, on some (but not all) windows, it does allow dragging the window.  It also works to left-click on gnome-shell controls such as the Activities overview button on the left side of the bar across the top of the screen.

I'm using libinput and xf86-input-libinput, currently without xf86-input-wacom, though I tried using xf86-input-wacom and seem to get the same behavior.

I'm not sure where to start with debugging this.  It seems like the fact that the tablet is not recognized and configurable in the Settings panel is a good place to start and that seems likey to the be related to the way the input system works, so I'm starting by filing a bug here.

Here are the libinput package versions I'm currently running:

[amidon@kea-tablet ~]$ pacman -Ss libinput
extra/libinput 1.5.0-1 [installed]
    Input device management and event handling library
extra/xf86-input-libinput 0.20.0-1 (xorg-drivers xorg) [installed]
    Generic input driver for the X.Org server based on libinput

I've attached an evmu-record of some events from the pen device, though I'm not sure that will be helpful in this case.  I've also attached the output of libinput-list-devices.

Suggestions on where to go from here would be greatly appreciated.
Comment 1 camalot 2016-10-14 18:18:43 UTC
Created attachment 127307 [details]
Output of libinput-list-devices
Comment 2 camalot 2016-10-14 18:19:30 UTC
Created attachment 127308 [details]
evemu-record of pen attempting to interact with windows
Comment 3 Peter Hutterer 2016-10-17 04:20:36 UTC
when the tablet is plugged in, what does libwacom-list-local-devices say?

and does libinput-debug-events look sane? i.e. getting events for the tablet, etc.
Comment 4 Jason Gerecke 2016-10-17 23:19:28 UTC
I don't believe that gnome-settings-daemon and gnome-control-center have yet been updated to work with tablets under Wayland. Additionally, there are a lot of applications that simply won't work with tablets at this time until their toolkits start supporting Wayland or until Xwayland supports tablets (see https://plus.google.com/117863863653209681821/posts/7w9USq3fPZ9 -- mea culpa for getting distracted from my Xwayland patches).

The "shell" bits of GNOME (e.g. the Activities menu, window decorations, etc.) should usually work from what I understand, though I've had occasional issues with them as well.
Comment 5 camalot 2016-10-18 00:28:16 UTC
Created attachment 127371 [details]
Output from libwacom-list-local-devices, looks sane to me.
Comment 6 camalot 2016-10-18 00:35:23 UTC
Jason, thank you for the clarity about what's going on in your comment and the linked Google+ post.  That really helps.  I had thought from the announcement that tablets work under Wayland/libinput in Gnome 3.22 that they the really did work.  Seems like there is a ways to go.  If you are aware of a good place to keep tabs on progress on this I would appreciate a pointer, and if there is anything I can help with testing I'd be happy to do it.

I'm going to close this issue since I don't see anything that seems wrong on the libinput side, with events being reported by libinput-debug-events and so on.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.