2003-07-28 23:56:03

by Frédéric L. W. Meunier

[permalink] [raw]
Subject: PS/2 mouse and 2.6.0-test2

I think this should go in a separate e-mail (I sent another
about matroxfb).

2.6.0-test2 is the first 2.5.x I try, so I may be missing
something.

I have a Logitech PS/2 Wheel Optical (the blue, and probably
falsified) which works fine with 2.4.21. With 2.6.0-test2 I get
the following in the logs:

Jul 28 19:15:04 pervalidus /usr/sbin/gpm[83]: *** info [startup.c(150)]:
Jul 28 19:15:04 pervalidus /usr/sbin/gpm[83]: Started gpm successfully. Entered daemon mode.
Jul 28 19:15:04 pervalidus modprobe: FATAL: Module /dev/gpmctl not found.
Jul 28 19:15:04 pervalidus modprobe: FATAL: Module /dev/gpmctl not found.

Yes, /dev/gpmctl is missing. gpm is called with -m /dev/misc/psaux -t ps/2 -S "/sbin/shutdown -r -t30 +3:telinit 1:"

When I move it (I don't even press a button) it moves very fast
and may even execute the first -S command, what would require
pressing both buttons 3 times followed by the left. The same if
I killall gpm and use the mouse in XFree86. Then it starts rxvt
etc.

My .config and dmesg are at
http://www.pervalidus.net/tmp/.config-2.6.0-test2.txt
http://www.pervalidus.net/tmp/dmesg-2.6.0-test2.txt
http://www.pervalidus.net/tmp/dmesg-2.6.0-acpi=off+noapic-test2.txt

The relevant part:

mice: PS/2 mouse device common for all mice
input: PS/2 Logitech Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1


2003-07-29 02:38:33

by Frédéric L. W. Meunier

[permalink] [raw]
Subject: Re: PS/2 mouse and 2.6.0-test2

> When I move it (I don't even press a button) it moves very
> fast and may even execute the first -S command, what would
> require pressing both buttons 3 times followed by the left.
> The same if I killall gpm and use the mouse in XFree86. Then
> it starts rxvt etc.

I forgot to add the following from the logs, from my 3 boots.
Such messages don't appear in XFree86 (also nothing in
XFree86.0.log), where the mouse also fails:

Jul 28 19:15:09 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.

Jul 28 19:21:33 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.
Jul 28 19:21:42 pervalidus kernel: psmouse.c: Lost synchronization, throwing 2 bytes away.
Jul 28 19:21:43 pervalidus last message repeated 2 times

Jul 28 19:45:13 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.
Jul 28 19:46:17 pervalidus kernel: psmouse.c: Lost synchronization, throwing 2 bytes away.
Jul 28 19:46:18 pervalidus kernel: psmouse.c: Lost synchronization, throwing 2 bytes away.
Jul 28 19:46:19 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.
Jul 28 19:46:22 pervalidus kernel: psmouse.c: Lost synchronization, throwing 2 bytes away.
Jul 28 19:46:30 pervalidus kernel: psmouse.c: Lost synchronization, throwing 2 bytes away.
Jul 28 19:46:35 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.
Jul 28 19:46:37 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.
Jul 28 19:46:37 pervalidus kernel: psmouse.c: Lost synchronization, throwing 2 bytes away.
Jul 28 19:46:40 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.
Jul 28 19:46:41 pervalidus kernel: psmouse.c: Lost synchronization, throwing 1 bytes away.

I read someone got it to work as a module, so I'll likely try
that tomorrow.

2003-07-29 05:26:27

by Frédéric L. W. Meunier

[permalink] [raw]
Subject: Re: PS/2 mouse and 2.6.0-test2

> I read someone got it to work as a module, so I'll likely try
> that tomorrow.

No luck. I compiled all mouse drivers as modules and tried
modprobe mousedev
modprobe psmouse
gpm -m /dev/misc/psaux (or the /dev/input devices) -t ps/2

Same 'Lost synchronization' messages and the crazy (optical)
mouse. No keys pressed, it moves very fast if you move if
slightly, pastes text, executes any gpm -S commands, and on
XFree86 opens rxvt etc.