PDA

View Full Version : Mouse doesn't work after Knoppix upgrade



ezuk
04-26-2004, 06:12 PM
Hi,

I did apt-get upgrade, and apparantly messed up my config. I have a normal PS/2 mouse, and now it doesn't work. When I do 'cat /dev/psaux' I can see the signals it sends when I move it and it's fine. I had gpm, but I removed it (apt-get remove gpm), since I understood it conflicts with the X config.

Here's the relevant snippet from the xconfig. I know there are some duplicates. Pls tell me what I have to remove or edit. It's a scroll whell mouse, ps/2, standard (by Dell).

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,il"

Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection

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 "PS/2 Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Markus
04-26-2004, 09:26 PM
If you have your mouse working with the live-cd you can copy over the XF86Config-4 file to your hd.
This is what I have for PS/2:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse" # Match this with InputDevice above
Driver "mouse"
Option "Protocol" "IMPS/2" # Try PS/2 if it doesn't work
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection