Jump to content

2006 Odd mouse behavior - MS wireless mouse


oshunluvr
 Share

Recommended Posts

I love/hate weird problems: love when I fix them and hate...well you get it.

 

On an otherwise fairly stable 2006 install I am using a Microsoft Wireless Optical Mouse with a tilt wheel. I did my google (actually dogpile - I hate google) duty and setup my xorg.conf like this:

Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Device" "/dev/input/event1"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5 6 7"
Option "Dev Name" "Microsoft Microsoft Wireless Optical Mouse 1.0A"
Option "Dev Phys" "usb-0000:00:1d.7-1.3/input0"
Option "Buttons" "7"
EndSection

The 'Dev Name' and 'Dev Phys' came right off my system output.

This results in my mouse working but button three (pushing on the wheel) and button two (right click) are reversed.

No problem, I just put "xmodmap -e 'pointer = 1 3 2 4 5 6 7'" in /etc/X11/Xmodmap along with my multimedia key defs and this fixes it.

BUT: When I log out of kde and back in (as any user) the mouse buttons 2/3 are reversed again and the tilt and scroll functions are also reversed. I have discovered through trial and error that simply opening a konsole puts the mouse buttons back in order. Let me make that totally clear: Simply opening a konsole makes the mouse buttons function as I want. No other entries are needed. Totally weird. The output of "xmodmap -pp" will show the buttons as correct (1 3 2 4 5 6 7) but button 32 will show various numbers (I don't know why or if this is even relevant), but of course to enter the xmodmap -pp command I open a konsole, thus fixing the buttons.

 

I think that this may be solvable with a better xorg.conf entry for the mouse buttons, but I'm hoping for someone with knowledge will help before I have to try 500 different combos in xorg.

 

Any tips?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...