XP-Pen Artist 12 Pro - Event stream breaks after pressing the upper stylus button
Summary
I encounter the same bug as in #839 (closed) and #842 (closed) on my XP-Pen Artist 12 Pro tablet (ID 28bd:091f XP-Pen 11.6 inch PenDisplay
). It works fine without any modification when plugged in, until I hit the upper button on the stylus, at which point the tablet events (from stylus) stop being picked up on entirely (stylus does nothing after that).
The problem can be fixed by unplugging and repluging the device.
The problem can be prevented doing this process : plug, then go to the proximity of the tablet with the stylus with the upper button already pressed (after this method, no problem...).
Events collection stops in libinput debug-events
but not in libinput record
or evtest
.
@JoseExposito may have a solution ?
Steps to reproduce
- Plug in the tablet.
- Run
libinput debug-events --verbose
. - Bring the stylus to the tablet without pressing the higher of both buttons (
BTN_TOUCH
). - Press the higher of both buttons now (
BTN_TOUCH
) and events from stylus (position, clicks, etc.) are no longer printed.
[Note that this button send a BTN_TOUCH
event but I think it should send a BTN_STYLUS2
event like in #842 (closed) (it can be changed with an hwdb.d rule but it's not clean and it doesn't solve the problem stated in this issue)...]
Required information
- libinput version: 1.23.0
- hardware information: Archlinux 6.2.10-arch1-1
-
libinput record
output : libinputrecord.txt -
libinput debug-events --verbose
output: libinputdebugevents.txt