Bug 1587968 - libinput not handling EV_REL for Wacom tablet pad
Summary: libinput not handling EV_REL for Wacom tablet pad
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libinput
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-06 11:30 UTC by Daniel Berrangé
Modified: 2018-06-08 08:37 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-08 03:05:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Graphire 4 pad capture (10.58 KB, text/plain)
2018-06-07 10:51 UTC, Daniel Berrangé
no flags Details
Graphire4 Pen capture (228.47 KB, text/plain)
2018-06-07 10:52 UTC, Daniel Berrangé
no flags Details

Description Daniel Berrangé 2018-06-06 11:30:43 UTC
Description of problem:
I have a Wacom Graphire 4, 6x8 tablet. The pad has two buttons and a wheel on it.

If I use libinput-debug-events I see an error displayed when using the wheel:

libinput error: event10 - Wacom Graphire4 6x8 Pad: Unexpected event type EV_REL (0x2)
libinput error: event10 - Wacom Graphire4 6x8 Pad: Unexpected event type EV_REL (0x2)
libinput error: event10 - Wacom Graphire4 6x8 Pad: Unexpected event type EV_REL (0x2)
libinput error: event10 - Wacom Graphire4 6x8 Pad: Unexpected event type EV_REL (0x2)

Looking at the source, evdev-tablet-pad.c indeed does not have EV_REL handled, while evdev-tablet.c does handle it.


Version-Release number of selected component (if applicable):
libinput-1.10.7-1.fc28.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Attach Wacom Graphire4 6x8
2. Run libinput-debug-events
3. Scroll the pad wheel

Actual results:


Expected results:


Additional info:

Comment 1 Peter Hutterer 2018-06-06 22:33:22 UTC
Can you attach an evemu-record for that device please? Thanks. Including the wheel motion.

Comment 2 Daniel Berrangé 2018-06-07 10:51:33 UTC
Created attachment 1448672 [details]
Graphire 4 pad capture

Comment 3 Daniel Berrangé 2018-06-07 10:52:03 UTC
Created attachment 1448673 [details]
Graphire4 Pen capture

Comment 4 Daniel Berrangé 2018-06-07 10:53:32 UTC
This tablet results in creation of 2 input event devices. One for the pad and which only generates events for the buttons + wheel on the pad. The other for the pen which generates events for the buttons on the mouse and stylus, as well as the actual pointer motion events.

The first attachment, with the pad events is the one where the wheel doesn't work.

Comment 5 Daniel Berrangé 2018-06-07 10:55:19 UTC
In case it is relevant, my libwacom-data has been augmented with the info I posted in this PR:  https://github.com/linuxwacom/libwacom/pull/23

Comment 6 Peter Hutterer 2018-06-08 03:05:27 UTC
Thanks for the evemu. This isn't something we'll fix in Fedora directly, I'm moving this to upstream. 

https://gitlab.freedesktop.org/libinput/libinput/issues/33

Am I correct in that this device is 12 years old? I think it came out in 2006, right?

Comment 7 Daniel Berrangé 2018-06-08 08:37:08 UTC
Yes, it is very old - I can't remember exactly when I got it, but it was probably sometime around 2008. Still works fine though :-)


Note You need to log in before you can comment on or make changes to this bug.