hussam Posted September 17, 2006 Report Share Posted September 17, 2006 I bought a usb mouse. I edited xorg.conf and changed '/dev/mouse' to '/dev/misc/psaux' to get it to work. but when I restart, it reverts back to '/dev/mouse' and my mouse stops working until I change it back to '/dev/misc/psaux' and restart X So everytime I reboot, I have no mouse until I edit xorg.conf again. this is very annoying so if anyone can help, it's much appreaciated. How do I get it to stop reverting to /dev/mouse upon reboot? Quote Link to comment Share on other sites More sharing options...
hussam Posted September 17, 2006 Author Report Share Posted September 17, 2006 (edited) In the meantime, I've disabled harddrake at boot. Edited September 17, 2006 by hussam Quote Link to comment Share on other sites More sharing options...
oshunluvr Posted September 17, 2006 Report Share Posted September 17, 2006 In the meantime, I've disabled harddrake at boot. Use /dev/usbmouse or /dev/input/mice with USB mice (IMPS/2). To check if Linux knows about your usb mouse: ls /dev/input Try cat /dev/input/whatever and move your mouse (garbage will appear if it's the right one). Press ctrl-c to cancel cat. In /etc/X11/xorg.conf, use Identifier "USB Mice" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/whatever" Option "ZAxisMapping" "4 5" Option "Buttons" "5" EndSection Scroll wheels actually report to xorg as buttons and they must be the highest numbered ones. So if you have a three button mouse (the default), use "ZAxisMapping" "4 5". If you have more than three buttons, use the "Button" option as in the example and use the appropriate numbers for the wheel. You may also need to add "SendCoreEvents" to the InputDevice line in the Server section InputDevice "USB Mice" "SendCoreEvents" p.s. I stole this info from other sources - it worked for me - good luck Quote Link to comment Share on other sites More sharing options...
scarecrow Posted September 17, 2006 Report Share Posted September 17, 2006 Why don't you use multiple mouse entries in your xorg.conf ? This is common practice... say something like that: Section "InputDevice" Identifier "Serial Mouse" Driver "mouse" Option "Protocol" "Microsoft" Option "Device" "/dev/ttyS0" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "InputDevice" Identifier "PS/2 Mouse" Driver "mouse" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "Device" "/dev/input/mice" Option "SendCoreEvents" "true" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" Option "Buttons" "5" EndSection The x-server is clever enough to load just the existing mouse every time... :D Quote Link to comment Share on other sites More sharing options...
hussam Posted September 17, 2006 Author Report Share Posted September 17, 2006 ok fixed, thanks guys. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.