Bug#832594: libinput10: Thinkpad middle mouse not functioning properly, appears to be libinput10 issue

2018-07-16 Thread Hector Oron
On Wed, Jul 27, 2016 at 05:47:08AM -0500, Karsten M. Self wrote:
> 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 0x561,
> root 0xc4, subw 0x562, time 9625078, (36,51), root:(37,452),
> state 0x0, button 1, same_screen YES
> 
> EnterNotify event, serial 36, synthetic NO, window 0x561,
> 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 0x561,
> root 0xc4, subw 0x562, time 9625217, (36,51), root:(37,452),
> state 0x100, button 1, same_screen YES
> 
> LeaveNotify event, serial 36, synthetic NO, window 0x561,
> 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 0x561,
> root 0xc4, subw 0x562, time 9626514, (36,51), root:(37,452),
> state 0x0, button 2, same_screen YES
> 
> EnterNotify event, serial 36, synthetic NO, window 0x561,
> 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 0x561,
> root 0xc4, subw 0x562, time 9626514, (36,51), root:(37,452),
> state 0x200, button 2, same_screen YES
> 
> 
> 
> xinput shows:
> 
> $ xinput list
> ⎡ Virtual core pointerid=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 Buttonid=6[slave  
> keyboard (3)]
> ↳ Video Bus   id=7[slave  
> keyboard (3)]
> ↳ Sleep Buttonid=8[slave  
> keyboard (3)]
> ↳ Integrated Camera   id=9[slave  
> keyboard (3)]
> ↳ AT Translated Set 2 keyboardid=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.00, 0.00, 0.00, 
> 0.00, 1.00, 0.00, 0.00, 0.00, 1.00
>   libinput Accel Speed (275): 0.00
>   libinput Accel Speed Default (276): 0.00
>   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
>   

Bug#832594: libinput10: Thinkpad middle mouse not functioning properly, appears to be libinput10 issue

2016-10-13 Thread Ross Vandegrift
Does this help:

$ xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Button Scrolling Button" 0

libinput 1.5 appears to enable scroll wheel emulation for the middle
button by default.  I recently hit a similar issue after a jessie ->
stretch upgrade.

Ross



Bug#832594: libinput10: Thinkpad middle mouse not functioning properly, appears to be libinput10 issue

2016-07-27 Thread Karsten M. Self
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 0x561,
root 0xc4, subw 0x562, time 9625078, (36,51), root:(37,452),
state 0x0, button 1, same_screen YES

EnterNotify event, serial 36, synthetic NO, window 0x561,
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 0x561,
root 0xc4, subw 0x562, time 9625217, (36,51), root:(37,452),
state 0x100, button 1, same_screen YES

LeaveNotify event, serial 36, synthetic NO, window 0x561,
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 0x561,
root 0xc4, subw 0x562, time 9626514, (36,51), root:(37,452),
state 0x0, button 2, same_screen YES

EnterNotify event, serial 36, synthetic NO, window 0x561,
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 0x561,
root 0xc4, subw 0x562, 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 pointerid=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 Buttonsid=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.00, 0.00, 0.00, 
0.00, 1.00, 0.00, 0.00, 0.00, 1.00
libinput Accel Speed (275): 0.00
libinput Accel Speed Default (276): 0.00
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):