RE: additional debug output for autosuspend in cdc-ether

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 18 Nov 2009, Rickard Bellini wrote:

> 
> Hi,
> 
> The following was performed with the root hub forced to "on".
> The XactErr appears in the same place. Just after a remote wakeup signal from the device.
> usbmon log attached.

It won't be easy to find the cause.  One experiment you can try is to 
add a delay immediately after the resume occurs.

Try adding

		msleep(10);

in hub.c:finish_port_resume() just before the line saying

		status = usb_get_status(udev, USB_RECIP_DEVICE, 0, &devstatus);

Maybe the device doesn't like the Get-Status request coming so soon 
after the resume.  Or maybe the EHCI controller doesn't like it.

If errors still occur, try increasing the delay from 10 ms to 50 ms.  
If there are errors even then, the problem must lie somewhere else.

Alan Stern

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux