<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - kernel: Huion DWH69 missing BTN_TOOL_PEN events"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97771#c59">Comment # 59</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - kernel: Huion DWH69 missing BTN_TOOL_PEN events"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97771">bug 97771</a>
from <span class="vcard"><a class="email" href="mailto:ngoonee@gmail.com" title="ngoonee@gmail.com">ngoonee@gmail.com</a>
</span></b>
<pre>(In reply to Peter Hutterer from <a href="show_bug.cgi?id=97771#c58">comment #58</a>)
<span class="quote">> 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)?</span >
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)]</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>