Remote control identified as tablet pad
systemd version the issue has been seen with
258
Used distribution
Fedora 43
Linux kernel version used
0855ce67726f87a5a67b4fb536d58e0e4428a248
CPU architectures issue was seen on
None
Component
No response
Expected behaviour you didn't see
libinput#1229 has a G20BTS remote control that is identified as ID_INPUT_TABLET_PAD. This is a result of #25866 and its follow-up #26666.
The critical parts of the libinput_record_G20BTS_Keyboard.log:
# Supported Events:
# Event type 0 (EV_SYN)
# Event type 1 (EV_KEY)
...
# Event code 256 (BTN_0)
# Event code 257 (BTN_1)
# Event code 258 (BTN_2)
# Event code 259 (BTN_3)
...
# Event type 2 (EV_REL)
# Event code 6 (REL_HWHEEL)
# Event code 12 (REL_HWHEEL_HI_RES)
...
# Event type 3 (EV_ABS)
# Event code 32 (ABS_VOLUME)
# Value 0
# Min 0
# Max 668
# Fuzz 0
# Flat 0
# Resolution 0The bug is triggered because we have BTN_0/BTN_1/REL_WHEEL but no other relative axes.
Not sure what this should be tagged as but a tablet pad it is not :)
cc @redstrate
Unexpected behaviour you saw
Detecting this as ID_INPUT_TABLET_PAD is wrong and will (long-term) cause some issues if we ever want to treat remotes. But we've painted ourselves a bit into a corner with the various detections because we can no longer distinguish between a tablet pad and "some device with buttons and a wheel".
This is only the first one that happened to show up but I'd not be surprised if there were more devices similar to this.
Steps to reproduce the problem
No response
Additional program output to the terminal or log subsystem illustrating the issue
Source: systemd/systemd