Re: broken access to a USB HID device after suspend

From: Tino Keitel
Date: Fri Mar 14 2008 - 03:13:51 EST


On Thu, Mar 13, 2008 at 14:59:48 -0400, Alan Stern wrote:

[...]

> > Well, it seems to be "fixed" by a suspend/resume cycle. Do you have
> > a
> > hint how I could try to fix it without suspend/resume, to test if
> > it is
> > really the LCD's fault?
>
> Testing has to come before fixing -- you can't fix the problem if you
> don't know which component is at fault. For all we know, the
> hardware
> could be fine and the problem could lie in your application.

I meant a method other than suspend/resume to fix the broken behaviour,
so that we get an indication where the problem exactly is.

>
> All I can think of for testing is to use usbmon to record the data
> transfers when those -110 errors come up.

Well, I still don't have USB_DEBUG or usbmon enabled, but I just got
that error again. I pulled the power plug from the LCD and replugged
it, without success. Then I did a suspend/resume cycle, and it worked.

Regards,
Tino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/