Trackpoint on-button scroll emits middle button release event
Summary
Recently I've started to experience intermittent issues with my external USB Trackpoint keyboard. After a successful On-button scroll is finished, a POINTER_BUTTON
BTN_MIDDLE
press and release event is also emitted. What this leads to is that after scrolling, I'm also unintentionally pasting whatever is in my clipboard, which is quite annoying.
Once the device enters this state, the only way to address the issue is to unplug the device, and plug it back in. After a while, the issue reappears.
A college of mine uses the same keyboard model (listed below), and started to experience the same issue around the same time as I. Worth noticing is that we both connect our keyboards to the USB hub of a desktop monitor, which is connected to Thinkpad laptops using USB-C.
2023-08-28 I upgraded libinput from 1.23.0-1 to 1.24.0-1 which coincides with when these issues started appearing. I'll see if I can downgrade to 1.23.0-1.
Steps to reproduce
Unfortunately it's very hard to reproduce, but happens a couple of time each day (happened once while creating this ticket). Furiously scrolling and typing has sometimes lead to some success in reproducing, but not reliably. My college states that the issue appears when leaving the device unused for a while.
Required information
- libinput version:
1.25.0-1
- hardware information:
: /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.1/3-2.1.3/3-2.1.3:1.1/0003:17EF:6047.001A/input/input43/event7
M: event7
R: 7
U: input
D: c 13:71
N: input/event7
L: 0
S: input/by-id/usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-if01-event-mouse
S: input/by-path/pci-0000:00:14.0-usb-0:2.1.3:1.1-event-mouse
S: input/by-path/pci-0000:00:14.0-usbv2-0:2.1.3:1.1-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.1/3-2.1.3/3-2.1.3:1.1/0003:17EF:6047.001A/input/input43/event7
E: SUBSYSTEM=input
E: DEVNAME=/dev/input/event7
E: MAJOR=13
E: MINOR=71
E: USEC_INITIALIZED=85010091964
E: ID_INPUT_POINTINGSTICK=1
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_INPUT_KEY=1
E: ID_BUS=usb
E: ID_MODEL=ThinkPad_Compact_USB_Keyboard_with_TrackPoint
E: ID_MODEL_ENC=ThinkPad\x20Compact\x20USB\x20Keyboard\x20with\x20TrackPoint
E: ID_MODEL_ID=6047
E: ID_SERIAL=Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint
E: ID_VENDOR=Lenovo
E: ID_VENDOR_ENC=Lenovo
E: ID_VENDOR_ID=17ef
E: ID_REVISION=0330
E: ID_TYPE=hid
E: ID_USB_MODEL=ThinkPad_Compact_USB_Keyboard_with_TrackPoint
E: ID_USB_MODEL_ENC=ThinkPad\x20Compact\x20USB\x20Keyboard\x20with\x20TrackPoint
E: ID_USB_MODEL_ID=6047
E: ID_USB_SERIAL=Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint
E: ID_USB_VENDOR=Lenovo
E: ID_USB_VENDOR_ENC=Lenovo
E: ID_USB_VENDOR_ID=17ef
E: ID_USB_REVISION=0330
E: ID_USB_TYPE=hid
E: ID_USB_INTERFACES=:030101:030102:
E: ID_USB_INTERFACE_NUM=01
E: ID_USB_DRIVER=usbhid
E: ID_PATH_WITH_USB_REVISION=pci-0000:00:14.0-usbv2-0:2.1.3:1.1
E: ID_PATH=pci-0000:00:14.0-usb-0:2.1.3:1.1
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_3_1_1
E: LIBINPUT_DEVICE_GROUP=3/17ef/6047:usb-0000:00:14.0-2.1
E: DEVLINKS=/dev/input/by-id/usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-if01-event-mouse /dev/input/by-path/pci-0000:00:14.0-usb-0:2.1.3:1.1-event-mouse /dev/input/by-path/pci-0000:00:14.0-usbv2-0:2.1.3:1.1-event-mouse
E: TAGS=:power-switch:
E: CURRENT_TAGS=:power-switch