PDA

View Full Version : PS/2 mouse doesn't work after upgrade



pearman
07-16-2005, 09:26 PM
Hi Folks,

Is there someone who would please help me get my mouse working again?? Would I ever appreciate it!

I installed Knoppix to hard disk a while ago. My PS/2 mouse stopped working after I upgraded using aptitude. Some details:

Mouse works when I boot to the 2.6.x kernel but doesn't with the 2.4.26.
The keyboard works with the 2.4.26.

root@pearman:/dev# ls -l mouse
lrwxrwxrwx 1 root root 10 Jul 16 21:18 mouse -> /dev/psaux

/etc/X11/XF86Config contains the following lines:

Section "Keyboard"
Protocol "Standard"
AutoRepeat 500 5
LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control
# This is just the default keymap for X.
# May be changed with the KDE international keyboard tool.
XkbModel "pc105"
XkbLayout "us"

# XkbOptions "ctrl:swapcaps"
# XkbKeycodes "xfree86"
# XkbTypes "default"
# XkbCompat "default"
# XkbSymbols "us(pc101)"
# XkbGeometry "pc"
# XkbRules "xfree86"
# XkbModel "pc101"
# XkbLayout "us"
EndSection

Section "Pointer"
Protocol "PS/2"
Device "/dev/mouse"
Emulate3Buttons
Emulate3Timeout 70
EndSection

/etc/X11/XF86Config-4 contains the lines:

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

I notice the following:

root@pearman:/# ps -A | grep gpm
1254 ? 00:00:00 gpm

And I notice that a nearly identical Knoppix installation on another computer, also with kernel 2.4.26, has these same lines in its FX86Config files, yet gpm isn't running and it's PS/2 wheelmouse works fine.

Could gpm actually be causing this problem? I find:

root@pearman:/# cat /etc/gpm.conf

device=/dev/psaux
responsiveness=
repeat_type=ms3
type=autops2
append=''
sample_rate=

If gpm is the problem, how do I get it not to start at boot?

I would certainly appreciate any ideas, because I don't seem to have any more :(

Peter

Markus
07-16-2005, 09:49 PM
If gpm is the problem, how do I get it not to start at boot? As root: update-rc.d -f gpm remove
To get it back: update-rc.d gpm defaults

pearman
07-19-2005, 03:15 PM
Markus,

Well, that hunch seems to have been right. Removing gpm has freed up the mouse.

Thanks a bunch for the tip on how to do it.

Peter