On Sat, 7 Mar 2009, Brandon Philips wrote:

> On 21:26 Fri 06 Mar 2009, Greg KH wrote:
> > On Fri, Mar 06, 2009 at 11:11:22AM -0800, Brandon Philips wrote:
> > > Hello-
> > > 
> > > When an UVC device is open and a S4 is attempted the thaw hangs (see the
> > > stack below). I don't see what the UVC driver is doing wrong to cause
> > > this to happen though.
> > 
> > I don't think this is a uvc driver issue, it looks like all you are
> > trying to do is a usb control message when things hang.
> 
> Indeed. When I was poking at this I tried to supress the control message 
> coming
> out of the uvcvideo driver after the suspend was issued to see what would
> happen and the control messages after the resume locked up instead. Eh.

Have you tried suspending just the two devices plugged into that EHCI 
controller instead of suspending the entire system?  That would make it 
a lot easier to carry out testing.

> > It looks like things die right after this message:
> >     ehci_hcd 0000:00:1d.7: Unlink after no-IRQ?  Controller is probably 
> > using the wrong IRQ.

It could be that the host controller isn't behaving correctly.  But 
even then, a timer should keep things running.  So I don't know why the 
system hanged.

BTW, all those extra debugging messages in your log made it very 
difficult to read, and they didn't help much in pinpointing the 
problem.  You should remove all of them before doing the next test.  
Instead you could use usbmon to capture the USB traffic.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to