Re: 2.3.15/16: USB mouse, keyboard and camera problems...

Daniel J Blueman (daniel.j.blueman@stud.umist.ac.uk)
Fri, 3 Sep 1999 14:22:22 +0100


Hi,

> > - With kernel 2.3.15, there seems to be occasional (20% of key-presses)
very
> > high latency before key events are passed from the USB keyboard on to
other
> > layers. Around a few seconds. Characters get repeated due to the key-up
> > event getting delayed.
> If you read the archives http://lists.suse.com/archives/linux-usb/
> you'll see this discussed in August and September. To fix it the
> uhci driver needs to ignore other drivers' interrupts, and the
> keyboard driver needs to handle non 0 status packets. Patch to
> uhci was posted in:
I've ensured the USB serial controller isn't sharing any IRQs with anything
else.
I may have a dig around in the keyboard.c source to see if I can tweak it to
handle non-0 status packets.

Does a non-0 status unusual in a stream of packers (eg error)? What is the
best way to handle this? Just process the keyboard data as usual, then check
the error bit in the status word, and report errors?

> > - When using my USB mouse under X, the mouse pointer continues to move
in
> > the direction it was moving last only at around 2 increments/s (delta x
& y
> > is not being zero'd when the interrupts stop being generated?).
[snip]
> Patch:
> http://lists.suse.com/archives/linux-usb/1999-Sep/0003.html
> (sent to Linus prior to 2.3.14 and resent a couple of days ago,
> no reply yet).
I'll give it a go...but your patch still isn't in 2.3.16.

> > With kernel 2.3.16, the X server fails to open the mouse device
> > (/dev/usbmouse setup as IMPS/2, char, major 10, minor 32), and exits.
The
> > keyboard works somewhat better, with the occasional hiccup.
> Works for me in 2.3.15 and 2.3.16 preferably with the above patch.
My mouse has magically started working again. Actually, I didn't include the
UHCI option in the kernel config(!). Heehe.

Thanks for the feedback,
Dan
__________________________
Daniel J Blueman - daniel.j.blueman@stud.umist.ac.uk
Undergraduate - BSc Computing Science
UMIST - Manchester

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/