Trackpoint horizontal scrolling not working and other trouble
by kaott from LinuxQuestions.org on (#57GR7)
Howdy,
I have a Trackpoint Keyboard II and I am running Slackware-current. I can not seem to get the horizontal scrolling (hold down middle click + move trackpoint around) to work. Also, it appears to generate an unpress event when I start to scroll, thus it will paste the contents of the clipboard when able.
The vertical scroll mostly works properly. I have googled around and done some debugging, but nothing obvious jumped out at me. Looking at output of xev and libinput debug-events, it appears there are no horizontal scrolling events appearing.
Here is the output of xinput list-props for the device.
Code:$ xinput list-props 10
Device 'Lenovo TrackPoint Keyboard II Mouse':
Device Enabled (116): 1
Coordinate Transformation Matrix (118): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (252): 0
libinput Natural Scrolling Enabled Default (253): 0
libinput Scroll Methods Available (254): 0, 0, 1
libinput Scroll Method Enabled (255): 0, 0, 0
libinput Scroll Method Enabled Default (256): 0, 0, 0
libinput Button Scrolling Button (257): 2
libinput Button Scrolling Button Default (258): 2
libinput Button Scrolling Button Lock Enabled (259): 0
libinput Button Scrolling Button Lock Enabled Default (260): 0
libinput Middle Emulation Enabled (261): 0
libinput Middle Emulation Enabled Default (262): 0
libinput Accel Speed (263): 0.000000
libinput Accel Speed Default (264): 0.000000
libinput Accel Profiles Available (265): 1, 1
libinput Accel Profile Enabled (266): 0, 1
libinput Accel Profile Enabled Default (267): 1, 0
libinput Left Handed Enabled (268): 0
libinput Left Handed Enabled Default (269): 0
libinput Send Events Modes Available (237): 1, 0
libinput Send Events Mode Enabled (238): 0, 0
libinput Send Events Mode Enabled Default (239): 0, 0
Device Node (240): "/dev/input/event3"
Device Product ID (241): 6127, 24814
libinput Drag Lock Buttons (270): <no items>
libinput Horizontal Scroll Enabled (271): 1I have changed various props, namely number 255 (changed to {0,0,1}) and 271 (flipped to 0 and back to 1) with no effect. From this it appears that horizontal scrolling should be enabled.
Here is some snipped output from xev and libinput debug-events
Code:$ xev
ButtonPress event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8132213, (912,599), root:(913,636),
state 0x0, button 2, same_screen YES
ButtonRelease event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8133221, (912,599), root:(913,636),
state 0x200, button 2, same_screen YES
ButtonPress event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8136361, (912,599), root:(913,636),
state 0x0, button 5, same_screen YES
ButtonRelease event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8136361, (912,599), root:(913,636),
state 0x1000, button 5, same_screen YES
ButtonPress event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8139141, (912,599), root:(913,636),
state 0x0, button 4, same_screen YES
ButtonRelease event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8139141, (912,599), root:(913,636),
state 0x800, button 4, same_screen YESCode:$ libinput debug-events
-event3 POINTER_BUTTON +7.244s BTN_MIDDLE (274) pressed, seat count: 1
event3 POINTER_AXIS +7.648s vert -15.00/-1* horiz 0.00/0 (wheel)
event3 POINTER_BUTTON +7.648s BTN_MIDDLE (274) released, seat count: 0
event3 POINTER_AXIS +7.692s vert -15.00/-1* horiz 0.00/0 (wheel)
event3 POINTER_AXIS +7.724s vert -15.00/-1* horiz 0.00/0 (wheel)
event3 POINTER_AXIS +7.852s vert 15.00/1* horiz 0.00/0 (wheel)
event3 POINTER_AXIS +7.884s vert 15.00/1* horiz 0.00/0 (wheel)The above output is showing the events generated when scrolling vertically, but none are generated when trying to scroll horizontally. It also shows the middle button event being released, even though I have not let off the key.
I looked around to see if this was an issue with libinput but didn't find anything. I have tried some older kernels to see if that changed anything (I don't recall it ever working on older kernels, but it seemed worth a shot), but nothing newer than 5.4.61.
Does anyone have any insights on what is going on here, or any suggestions on what to do/try?
EDIT:
Forgot to mention that I had also tried switching back to evdev with negative effect as it now seemed that keypress events weren't being registered/dropped.
Thanks,
-kaott


I have a Trackpoint Keyboard II and I am running Slackware-current. I can not seem to get the horizontal scrolling (hold down middle click + move trackpoint around) to work. Also, it appears to generate an unpress event when I start to scroll, thus it will paste the contents of the clipboard when able.
The vertical scroll mostly works properly. I have googled around and done some debugging, but nothing obvious jumped out at me. Looking at output of xev and libinput debug-events, it appears there are no horizontal scrolling events appearing.
Here is the output of xinput list-props for the device.
Code:$ xinput list-props 10
Device 'Lenovo TrackPoint Keyboard II Mouse':
Device Enabled (116): 1
Coordinate Transformation Matrix (118): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (252): 0
libinput Natural Scrolling Enabled Default (253): 0
libinput Scroll Methods Available (254): 0, 0, 1
libinput Scroll Method Enabled (255): 0, 0, 0
libinput Scroll Method Enabled Default (256): 0, 0, 0
libinput Button Scrolling Button (257): 2
libinput Button Scrolling Button Default (258): 2
libinput Button Scrolling Button Lock Enabled (259): 0
libinput Button Scrolling Button Lock Enabled Default (260): 0
libinput Middle Emulation Enabled (261): 0
libinput Middle Emulation Enabled Default (262): 0
libinput Accel Speed (263): 0.000000
libinput Accel Speed Default (264): 0.000000
libinput Accel Profiles Available (265): 1, 1
libinput Accel Profile Enabled (266): 0, 1
libinput Accel Profile Enabled Default (267): 1, 0
libinput Left Handed Enabled (268): 0
libinput Left Handed Enabled Default (269): 0
libinput Send Events Modes Available (237): 1, 0
libinput Send Events Mode Enabled (238): 0, 0
libinput Send Events Mode Enabled Default (239): 0, 0
Device Node (240): "/dev/input/event3"
Device Product ID (241): 6127, 24814
libinput Drag Lock Buttons (270): <no items>
libinput Horizontal Scroll Enabled (271): 1I have changed various props, namely number 255 (changed to {0,0,1}) and 271 (flipped to 0 and back to 1) with no effect. From this it appears that horizontal scrolling should be enabled.
Here is some snipped output from xev and libinput debug-events
Code:$ xev
ButtonPress event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8132213, (912,599), root:(913,636),
state 0x0, button 2, same_screen YES
ButtonRelease event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8133221, (912,599), root:(913,636),
state 0x200, button 2, same_screen YES
ButtonPress event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8136361, (912,599), root:(913,636),
state 0x0, button 5, same_screen YES
ButtonRelease event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8136361, (912,599), root:(913,636),
state 0x1000, button 5, same_screen YES
ButtonPress event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8139141, (912,599), root:(913,636),
state 0x0, button 4, same_screen YES
ButtonRelease event, serial 32, synthetic NO, window 0x3000001,
root 0x389, subw 0x0, time 8139141, (912,599), root:(913,636),
state 0x800, button 4, same_screen YESCode:$ libinput debug-events
-event3 POINTER_BUTTON +7.244s BTN_MIDDLE (274) pressed, seat count: 1
event3 POINTER_AXIS +7.648s vert -15.00/-1* horiz 0.00/0 (wheel)
event3 POINTER_BUTTON +7.648s BTN_MIDDLE (274) released, seat count: 0
event3 POINTER_AXIS +7.692s vert -15.00/-1* horiz 0.00/0 (wheel)
event3 POINTER_AXIS +7.724s vert -15.00/-1* horiz 0.00/0 (wheel)
event3 POINTER_AXIS +7.852s vert 15.00/1* horiz 0.00/0 (wheel)
event3 POINTER_AXIS +7.884s vert 15.00/1* horiz 0.00/0 (wheel)The above output is showing the events generated when scrolling vertically, but none are generated when trying to scroll horizontally. It also shows the middle button event being released, even though I have not let off the key.
I looked around to see if this was an issue with libinput but didn't find anything. I have tried some older kernels to see if that changed anything (I don't recall it ever working on older kernels, but it seemed worth a shot), but nothing newer than 5.4.61.
Does anyone have any insights on what is going on here, or any suggestions on what to do/try?
EDIT:
Forgot to mention that I had also tried switching back to evdev with negative effect as it now seemed that keypress events weren't being registered/dropped.
Thanks,
-kaott