2002-02-08 02:54:57

by Nathaniel

[permalink] [raw]
Subject: Mouse under 2.5.3-dj3

To follow up on my previous postings of a long while ago.

I have a very boring trackpad mouse on a Sony VAIO R505JE laptop. At
least, 2.4.18-pre7 thinks it's normal PS/2 and uninteresting. 2.5.3-dj*
on the other hand, seems to be horribly confused. I rebuilt it with
everything mouse related as modules just so I didn't have to reboot when
it misdetected my mouse.

First, I modprobe mousedev, then psmouse.
Mousedev always is cool and loads without a problem, printing out its
"PS/2 mouse device common for all mice" message.

~90% of the time, psmouse does not detect a mouse. Doesn't work, obviously.
~5% of the time, psmouse reports I have a "PS/2 Generic Mouse on
isa0060/serio1".
At such times, the mouse works, but a complete cross on the trackpad
is ~100 pixels at best.
~1% of the time, psmouse blurts "Failed to enable mouse on
isa0060/serio1" Here the mouse does not work.
~4% of the time, psmouse prints "PS/2 Logitech Mouse on isa0060/serio1"
This is the correct mode of behavior.

As it is I run "modprobe mousedev; while < /dev/zero; do modprobe
psmouse; echo -n "a"; sleep 1; done" and wait for the Logitech message
to give the loop a Ctrl-C. There has to be a better way, and more
information I can provide.

FYI, keyboard glitches *seem* to have disappeared.

--Nathan



2002-02-08 07:21:05

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: Mouse under 2.5.3-dj3

On Thu, Feb 07, 2002 at 09:54:19PM -0500, Nathan wrote:
> To follow up on my previous postings of a long while ago.
>
> I have a very boring trackpad mouse on a Sony VAIO R505JE laptop. At
> least, 2.4.18-pre7 thinks it's normal PS/2 and uninteresting. 2.5.3-dj*
> on the other hand, seems to be horribly confused. I rebuilt it with
> everything mouse related as modules just so I didn't have to reboot when
> it misdetected my mouse.
>
> First, I modprobe mousedev, then psmouse.
> Mousedev always is cool and loads without a problem, printing out its
> "PS/2 mouse device common for all mice" message.
>
> ~90% of the time, psmouse does not detect a mouse. Doesn't work, obviously.
> ~5% of the time, psmouse reports I have a "PS/2 Generic Mouse on
> isa0060/serio1".
> At such times, the mouse works, but a complete cross on the trackpad
> is ~100 pixels at best.
> ~1% of the time, psmouse blurts "Failed to enable mouse on
> isa0060/serio1" Here the mouse does not work.
> ~4% of the time, psmouse prints "PS/2 Logitech Mouse on isa0060/serio1"
> This is the correct mode of behavior.
>
> As it is I run "modprobe mousedev; while < /dev/zero; do modprobe
> psmouse; echo -n "a"; sleep 1; done" and wait for the Logitech message
> to give the loop a Ctrl-C. There has to be a better way, and more
> information I can provide.
>
> FYI, keyboard glitches *seem* to have disappeared.

Can you enable I8042_DEBUG_IO in drivers/input/serio/i8042.h and send me
the 'dmesg' logs for the four cases? It might be the touchpad is
responding just on the limit of what the psmouse driver thinks is the
slowest possible speed.

--
Vojtech Pavlik
SuSE Labs