Re: [linux-usb-devel] Re: USB troubles in rc2

Alan Stern
2004-08-10T19:02:29Z

On Tue, 10 Aug 2004, Michael Guterl wrote:

> I turned USB and ACPI debugging on in the kernel. I am recreating
> this problem by booting the machine with no USB devices plugged in,
> then plugging the keyboard in, and then unplugging the keyboard. I am
> recreating the problem with 2.6.8-rc3-mm1, but any 2.6.8-rc* kernel
> seems to reproduce the same errors, and yes I have tried 2.6.8-rc4 as
> well.
>
> When I plug the USB keyboard in here is what dmesg shows.
<...>
> usb 3-1: control timeout on ep0in
> drivers/usb/input/hid-core.c: ctrl urb status -2 received
> drivers/usb/input/hid-core.c: timeout initializing reports
>
> input: USB HID v1.10 Keyboard [ABBAHOME USB Keyboar?] on usb-0000:00:02.1-1
> usb 3-1: adding 3-1:1.1 (config #1, interface 1)
> usb 3-1:1.1: hotplug
> usbhid 3-1:1.1: usb_probe_interface
> usbhid 3-1:1.1: usb_probe_interface - got id
> drivers/usb/input/hid-core.c: ctrl urb status -2 received
> drivers/usb/input/hid-core.c: usb_submit_urb(ctrl) failed
>
> When I unplug the keyboard this is what is shown, and the latter
> portion is repeated over and over again.
>
> :00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110
> ohci_hcd 0000:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110
> ohci_hcd 0000:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110
> ohci_hcd 0000:00:02.1: urb c134c460 path 1 ep1in 5f160000 cc 5 --> status -110

This is very strange. You might get a little more helpful information if
you edit drivers/usb/input/hid-core.c and replace the line that says
"#undef DEBUG" with "#define DEBUG".

Alan Stern