On Thu, 24 May 2007, Oliver Neukum wrote:

> > Am Donnerstag, 24. Mai 2007 14:25 schrieb Sam Liddicott:
> > Recompiled and:
> > # CONFIG_USB_SUSPEND is not set
> > 
> > Same problem, and still get the:
> > 
> > usb usb2: suspend_rh (auto-stop)
> 
> Odd, even impossible. Did you replace all USB modules?

Not at all.  uhci-hcd automatically shuts off (auto-stops) root hubs to
which no device is connected.  It does this even when
CONFIG_USB_SUSPEND isn't set, in order to reduce the DMA load.

It's not clear whether this is connected to Sam's problem.  Yes, usb2
is stopping, but the FTDI devices are attached to usb1 so in theory it
shouldn't matter.  In practice, you never know...

If you really want to prevent the auto-stop, you have to edit the
source code.  In drivers/usb/host/uhci-hub.c, make any_ports_active()
return 1 always.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to