[Wayland-bugs] [Bug 97771] kernel: Huion DWH69 missing BTN_TOOL_PEN events

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 17 07:07:42 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=97771

--- Comment #59 from ngoonee at gmail.com ---
(In reply to Peter Hutterer from comment #58)
> this should be just 1, not "reserved", otherwise it won't get picked up. a
> sudo udevadm test /sys/class/input/eventX should tell you whether the
> property is picked up correctly by udev. and for the above to work, you need
> to uppercase the hex, so it's b003v256Cp006E*. Those are the ones I can
> immediately spot, but why didn't you just use the example that's already in
> there (and matches by name)?

Ah, because... I'm stupid I guess.

Anyway I'm now using that, udevadm test shows the property was picked up, but
behaviour seems unchanged in that my evemu-record only shows BTN_TOOL_PEN once.
Would the evemu-record help or is there some other info which is needed?

Something which may or may not be interesting, under evemu-record the id for
the Pentablet Pen is 17
Available devices:
/dev/input/event0:      AT Translated Set 2 keyboard
/dev/input/event1:      Asus WMI hotkeys
/dev/input/event2:      Lid Switch
/dev/input/event3:      Sleep Button
/dev/input/event4:      Power Button
/dev/input/event5:      Asus Wireless Radio Control
/dev/input/event6:      HDA Digital PCBeep
/dev/input/event7:      HDA Intel PCH Mic
/dev/input/event8:      HDA Intel PCH Headphone
/dev/input/event9:      Video Bus
/dev/input/event10:     Video Bus
/dev/input/event11:     PC Speaker
/dev/input/event12:     NOVATEK USB Keyboard
/dev/input/event13:     NOVATEK USB Keyboard
/dev/input/event14:     PixArt USB Optical Mouse
/dev/input/event15:     ETPS/2 Elantech Touchpad
/dev/input/event16:     ASUS USB2.0 Webcam
/dev/input/event17:     PenTablet Pen
/dev/input/event18:     PenTablet Pad
/dev/input/event19:     PenTablet Mouse
/dev/input/event20:     PenTablet Keyboard
/dev/input/event21:     PenTablet Consumer Control
/dev/input/event22:     PenTablet System Control

But my xinput --list shows something else.

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=13   [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=15   [slave  pointer  (2)]
⎜   ↳ PenTablet Pad                             id=17   [slave  pointer  (2)]
⎜   ↳ PenTablet Pen Pen (0)                     id=20   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Asus Wireless Radio Control               id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Video Bus                                 id=9    [slave  keyboard (3)]
    ↳ Sleep Button                              id=10   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    ↳ ASUS USB2.0 Webcam                        id=14   [slave  keyboard (3)]
    ↳ PenTablet Pen                             id=16   [slave  keyboard (3)]
    ↳ NOVATEK USB Keyboard                      id=18   [slave  keyboard (3)]
    ↳ NOVATEK USB Keyboard                      id=19   [slave  keyboard (3)]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170117/252a6a37/attachment.html>


More information about the wayland-bugs mailing list