Bug#832594: libinput10: Thinkpad middle mouse not functioning properly, appears to be libinput10 issue
Package: libinput10
Version: 1.3.3-1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
See also Bug #823147
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823147
As of a couple of months ago (system's been infrequently used), middle
mouse behavior on a Thinkpad T520i changed. When using the TrackPoint
mouse and buttons, the middle button behavior changed. It's not
possible to move the pointer while the middle button is depressed,
several programs and tools don't respond (though Xorg clipboard paste
appears to work). I believe this affects *both* console and Xorg
sessions.
xev _doesn't_ report either BottonPress or ButtonRelease events for the
2nd (middle) mouse button. Contrast (button 2 was pressed and released
several times in this capture):
------------------------------------------------------------------------
ButtonPress event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x5600002, time 9625078, (36,51), root:(37,452),
state 0x0, button 1, same_screen YES
EnterNotify event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x0, time 9625078, (36,51), root:(37,452),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 256
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 4294967236 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonRelease event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x5600002, time 9625217, (36,51), root:(37,452),
state 0x100, button 1, same_screen YES
LeaveNotify event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x0, time 9625217, (36,51), root:(37,452),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0
ButtonPress event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x5600002, time 9626514, (36,51), root:(37,452),
state 0x0, button 2, same_screen YES
EnterNotify event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x0, time 9626514, (36,51), root:(37,452),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 512
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 4294967236 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonRelease event, serial 36, synthetic NO, window 0x5600001,
root 0xc4, subw 0x5600002, time 9626514, (36,51), root:(37,452),
state 0x200, button 2, same_screen YES
------------------------------------------------------------------------
xinput shows:
------------------------------------------------------------------------
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=11 [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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]
$ xinput get-button-map 11
1 2 3 4 5 6 7
$ xinput list-props 11
Device 'TPPS/2 IBM TrackPoint':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Accel Speed (275): 0.000000
libinput Accel Speed Default (276): 0.000000
libinput Accel Profiles Available (277): 1, 1
libinput Accel Profile Enabled (278): 1, 0
libinput Accel Profile Enabled Default (279): 1, 0
libinput Natural Scrolling Enabled (280): 0
libinput Natural Scrolling Enabled Default (281): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
libinput Left Handed Enabled (282): 0
libinput Left Handed Enabled Default (283): 0
libinput Scroll Methods Available (284): 0, 0, 1
libinput Scroll Method Enabled (285): 0, 0, 1
libinput Scroll Method Enabled Default (286): 0, 0, 1
libinput Button Scrolling Button (287): 2
libinput Button Scrolling Button Default (288): 274
libinput Middle Emulation Enabled (289): 0
libinput Middle Emulation Enabled Default (290): 0
Device Node (262): "/dev/input/event1"
Device Product ID (263): 2, 10
libinput Drag Lock Buttons (291): <no items>
libinput Horizonal Scroll Enabled (264): 1
------------------------------------------------------------------------
dmesg | egrep -i '(mouse|button|input)'
------------------------------------------------------------------------
[ 0.829443] mousedev: PS/2 mouse device common for all mice
[ 0.834232] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 2.039802] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 2.065074] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input2
[ 7.518036] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
[ 7.518293] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
[ 7.518298] ACPI: Sleep Button [SLPB]
[ 7.518386] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[ 7.518390] ACPI: Power Button [PWRF]
[ 8.019955] input: PC Speaker as /devices/platform/pcspkr/input/input6
[ 8.357955] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7
[ 8.389188] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input8
[ 8.796272] snd_hda_codec_conexant hdaudioC0D0: inputs:
[ 9.001070] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[ 9.004414] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[ 9.004589] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[ 9.004759] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 9.004925] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[ 9.005091] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[ 9.005260] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[ 9.005424] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[ 10.247876] input: Integrated Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input17
[ 7010.796571] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 7010.819805] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input41
[ 7138.690679] psmouse serio1: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 7138.714184] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input71
------------------------------------------------------------------------
(I'd attempted unloading and reloading psmouse several times.)
>From /var/log/Xorg.0.log
------------------------------------------------------------------------
$ egrep -i '(mouse|button)' /var/log/Xorg.0.log
[ 31.773] (==) intel(0): Silken mouse enabled
[ 34.293] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 34.293] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 34.293] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 34.492] (II) Using input driver 'libinput' for 'Power Button'
[ 34.492] (**) Power Button: always reports core events
[ 34.493] (II) input device 'Power Button', /dev/input/event4 is tagged by udev as: Keyboard
[ 34.493] (II) input device 'Power Button', /dev/input/event4 is a keyboard
[ 34.504] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 34.505] (II) input device 'Power Button', /dev/input/event4 is tagged by udev as: Keyboard
[ 34.505] (II) input device 'Power Button', /dev/input/event4 is a keyboard
[ 34.522] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[ 34.522] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 34.522] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 34.522] (II) Using input driver 'libinput' for 'Sleep Button'
[ 34.522] (**) Sleep Button: always reports core events
[ 34.522] (II) input device 'Sleep Button', /dev/input/event3 is tagged by udev as: Keyboard
[ 34.522] (II) input device 'Sleep Button', /dev/input/event3 is a keyboard
[ 34.536] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 34.537] (II) input device 'Sleep Button', /dev/input/event3 is tagged by udev as: Keyboard
[ 34.537] (II) input device 'Sleep Button', /dev/input/event3 is a keyboard
[ 34.582] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
[ 34.608] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[ 34.609] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
[ 34.610] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[ 34.612] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
[ 34.612] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[ 34.612] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[ 34.612] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[ 34.613] (**) ThinkPad Extra Buttons: always reports core events
[ 34.613] (II) input device 'ThinkPad Extra Buttons', /dev/input/event7 is tagged by udev as: Keyboard
[ 34.613] (II) input device 'ThinkPad Extra Buttons', /dev/input/event7 is a keyboard
[ 34.632] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)
[ 34.633] (II) input device 'ThinkPad Extra Buttons', /dev/input/event7 is tagged by udev as: Keyboard
[ 34.633] (II) input device 'ThinkPad Extra Buttons', /dev/input/event7 is a keyboard
[ 2481.146] (II) input device 'Power Button', /dev/input/event4 is tagged by udev as: Keyboard
[ 2481.146] (II) input device 'Power Button', /dev/input/event4 is a keyboard
[ 2481.146] (II) input device 'Sleep Button', /dev/input/event3 is tagged by udev as: Keyboard
[ 2481.146] (II) input device 'Sleep Button', /dev/input/event3 is a keyboard
[ 2481.148] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
[ 2481.148] (II) input device 'ThinkPad Extra Buttons', /dev/input/event7 is tagged by udev as: Keyboard
[ 2481.148] (II) input device 'ThinkPad Extra Buttons', /dev/input/event7 is a keyboard
[ 7219.710] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[ 7219.792] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
[ 7219.816] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[ 7219.818] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
[ 7347.597] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[ 7347.655] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
[ 7347.680] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[ 7347.681] (II) input device 'TPPS/2 IBM TrackPoint', /dev/input/event1 is tagged by udev as: Mouse Pointingstick
------------------------------------------------------------------------
I think that's the relevant information, please advise if more is
needed.
Thanks.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (999, 'testing'), (500, 'stable-updates'), (500, 'stable'), (400, 'experimental'), (400, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libinput10 depends on:
ii libc6 2.23-2
ii libevdev2 1.4.6+dfsg-1
ii libinput-bin 1.3.3-1
ii libmtdev1 1.1.5-1
ii libudev1 229-5
ii libwacom2 0.18-1
libinput10 recommends no packages.
libinput10 suggests no packages.
-- no debconf information
Reply to: