Re: 2.6.6-mm2, usb ehci warnings/error?

From: David Brownell
Date: Fri May 14 2004 - 12:10:07 EST


Prakash K. Cheemplavam wrote:
David Brownell wrote:

There appear lines like

usb usb2: string descriptor 0 read error: -108

bug or feature? They weren't there with 2.6.6-mm1. I have no usb2.0 stuff to actually test. My usb1 stuff seems to work though.

Bug; minor, since the only real symptom seems to be messages like
that. Ignore them for now, I'll make a patch soonish.

Ok, good. Thanks for the explanation of what is going on, though I don't can make too much out of it. ;-)

The short version is: it's missing this patch.

[ Greg, please merge! ]

- Dave --- bk2/xu26/drivers/usb/host/ohci-hub.c 2004-05-11 18:03:30.000000000 -0700
+++ gadget-2.6/drivers/usb/host/ohci-hub.c 2004-05-13 09:15:18.000000000 -0700
@@ -385,6 +385,7 @@
) {
ohci_vdbg (ohci, "autosuspend\n");
(void) ohci_hub_suspend (&ohci->hcd);
+ ohci->hcd.state = USB_STATE_RUNNING;
up (&hcd->self.root_hub->serialize);
}
#endif