an hour to get the mouse working
Upgraded desktop to Linux 2.6.30 (and newer NVIDIA drivers), this also upgraded me to Xorg 7.4.
As a result, my Logitech G7 mouse changed behaviour. Instead of the horrible side “back” button doing middle click as I like, it started doing back. Pressing a scroll wheel as often as a Unix user does is not nice nor accurate.
After about an hour of fighting xorg.conf I eventually got “xinput” to work using:
xinput set-button-map 4 1 8 3 4 5 6 7 2
NB: “xinput set-button-map 4 1 8 3 4 5 6 7″ doesn’t work. However I could not get “ButtonMapping” in xorg.conf to work, even in an evdev section like this:
Section "InputDevice"
Identifier "evdev mouse"
Driver "evdev"
#Option "Name" "Logitech USB Receiver"
Option "ButtonMapping" "1 8 3 4 5 6 7 2"
Option "SendCoreEvents"
EndSection
Finally I succeed by edit hal - /etc/hal/fdi/policy/preferences.fdi to be precise need this bit including:
<device> <match key="info.capabilities" contains="input.mouse"> <merge key="input.x11_driver" type="string">evdev</merge> <merge key="input.x11_options.ZAxisMapping" type="string">4 5 6 7</merge> <merge key="input.x11_options.ButtonMapping" type="string">1 8 3 4 5 6 7 2</merge> </match> </device>
Discovering that even though I’ve set “DontZap” to false it is ignored (since the default has changed to true) didn’t improve my mood.
Posted: June 10th, 2009 under Life Rants.
Comments: 2
Comments
Comment from jonathan
Time: Wednesday 10 June, 2009, 22:13
Which is why I use a mac ![]()
Comment from adrian
Time: Thursday 11 June, 2009, 06:13
I guess I should have expected that ![]()
Write a comment