[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#436271: PS/2 mouse not working



Adrian Mariano wrote:
> I have messed around with the mouse settings as I have tried to
> gain full functionality of the mouse.  I've attached xorg.conf.bak
> which I believe is the original file that was installed.  With this
> initial setup the mouse did not work in the ps/2 port but did work in
> the usb port.  I switched the "Device" in xorg.conf to /dev/psaux and
> then the mouse worked in the ps/2 port.
>   

If /dev/input/mice does not work while /dev/psaux does, the problem
might be in the kernel, not in xorg. IIRC, /dev/input/mice is supposed
to contain /dev/psaux events and the kernel manages these devices
(together with udev).

If you switch back to /dev/input/mice now, does it work? If not, does
the file /dev/input/mice even exist? If yes, do you get some ugly
characters in the terminal if you move the PS/2 mouse after starting
"cat /dev/input/mice" as root?

> The documentation for evdev suggests that it should work regardless of
> the type of connection.  And certainly the device appears in
> /proc/bus/input/devices when it is on the ps/2 port.  But it does not
> work in the ps/2 port, only the usb port.  I restarted X with the mouse
> in the ps/2 port and then shifted it back to usb when it didn't
> respond.
>   

evdev config might be a different problem. And I don't think you are
supposed to get a evdev configuration for the mouse after an install.
Did you modify the config afterwards?

> Section "InputDevice"
> 	Identifier	"Configured Mouse"
> 	Driver		"evdev"
>         Option          "Name"    "ImExPS/2 Logitech Explorer Mouse"           
> EndSection
>   

I am not very familiar with the evdev config, but you might need more
options than this. The evdev manpage is pretty well documented, you
might want to look at it.

> (II) evdev brain: Rescanning devices (1).
> (EE) PreInit returned NULL for "Configured Mouse"
> (WW) <default pointer>: No Device specified, looking for one...
> (II) <default pointer>: Setting Device option to "/dev/input/mice"
> (--) <default pointer>: Device: "/dev/input/mice"
> (==) <default pointer>: Protocol: "Auto"
> (**) Option "CorePointer"
> (**) <default pointer>: Core Pointer
> (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
> (**) <default pointer>: ZAxisMapping: buttons 4 and 5
> (**) <default pointer>: Buttons: 9
> (**) <default pointer>: Sensitivity: 1
>   

Looks like evdev is using /dev/input/mice here.

> Module                  Size  Used by
> psmouse                34952  0 
>   

Looks good.

Brice




Reply to: