← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 702550] [NEW] X forgets xinput settings on suspend

 

Public bug reported:

Binary package hint: xinput

I don't know is this an issue in X or xinput...

I've used XUbuntu on a Thinkpad for several years.  I have configured
middle-click-scrolling (so middle-click + drag equals to the scroll
wheel) as descibed at
http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#Configuration_using_xinput
using:

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5

I have configured the script to be run when X starts up, and everything
has been dandy.  When I upgraded to XUbuntu 10.10, however, every time I
suspend and resume my laptop X forgets the xinput settings and I have to
run the script again.

Additionally, every now and then (maybe once or twice a week) when
resuming the script stops working because X has detected the input
device in duplicate:

$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
Warning: There are multiple devices matching 'TPPS/2 IBM TrackPoint'.
To ensure the correct one is selected, please use the device ID, or prefix the
device name with 'pointer:' or 'keyboard:' as appropriate.

unable to find device TPPS/2 IBM TrackPoint
$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=10	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=12	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=13	[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)]
    ↳ AT Translated Set 2 keyboard            	id=9	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=11	[slave  keyboard (3)]

(Devices 12 and 13)  If I manually run the commands for device 13 they
work, but not automatically.  On the contrary, occasionally the
Trackpoint (nib) and its corresponding buttons stop working completely,
and only the Touchpad functions.  I have to reboot to get it working
properly again.

The constant messing around with the mouse settings is very frustrating,
especially since it's been working fine for so long.

** Affects: xinput (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xinput in ubuntu.
https://bugs.launchpad.net/bugs/702550

Title:
  X forgets xinput settings on suspend



Follow ups

References