Re: mouse&keyboard with 2.6.10+

From: Michael Tokarev
Date: Mon Mar 14 2005 - 06:54:40 EST

Michael Tokarev wrote:
2.6.10 almost works, but sometimes, the whole input
subsystem just "hungs", ie, both keyboard and mouse
just stops working. Plugging in USB keyboard and
loading usbhid module solves the problem - both
keyboards and the mouse works after that, and I
didn't yet notice the problem repeats after usbhid
and usb keyboard is loaded. I wasn't able to
determine when the problem occurs, for me it seems
it hangs at some "random" point - sometimes after
5 minutes after boot, sometimes after a hour or

Got another such "hung" and tried to debug it somehow.
Did a task dump (echo t > /proc/sysrq-trigger when logged
from network) -- nothing interesting; kseriod trace looks
a bit weird but it is as weird in normal mode too:

kseriod S 00000000 0 196 1 361 122 (L-TLB)
c11f9f94 00000046 00000000 00000000 c11f9000 c11f9000 c77d09e0 000024de
6b1f3a71 00000004 c11f06bc c11f9fc0 c11f9000 c11f9fd4 fffff000 c01c4d4e
c11f9000 00000000 c11f0560 c0127c20 c11f9fcc c11f9fcc c11f0560 c77c7f60
Call Trace:
[<c01c4d4e>] serio_thread+0xbe/0x110
[<c0127c20>] autoremove_wake_function+0x0/0x30
[<c0102c06>] ret_from_fork+0x6/0x20
[<c0127c20>] autoremove_wake_function+0x0/0x30
[<c01c4c90>] serio_thread+0x0/0x110
[<c0101265>] kernel_thread_helper+0x5/0x10

Everything on the system is sleeping.

After plugging in USB keyboard and loading uhci-hcd and
usbhid, the keyboard un-freeze, but mouse still didn't
work. So I tried re-loading psmouse module, and
surprizingly, mouse started working again, but now dmesg

input: PS2++ Logitech Wheel Mouse on isa0060/serio1

(normally it's
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1

and the mouse is moving very fast now. Previously
I either didn't able to make it work at all after such
freeze, or it worked automatically after loading usbhid.

BTW, it's 2.6.10, I can't made it work with 2.6.11 at all.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at