On Thursday 28 October 2004 07:46, Alan Stern wrote: > On Wed, 27 Oct 2004, David Brownell wrote: > > > So: since it's not being actively used then, why shouldn't the > > root hub (or any other device) be suspended? During boot, or at > > any other time. So long as it works when you plug in a USB device, > > it looks to me like everything is behaving quite reasonably. > > The root hub _is_ actively being used during initial probing and > enumeration, even though no devices may be plugged into it. Is it > guaranteed that the root hub isn't suspended until after > usb_register_root_hub returns?
It's never going to be suspended until after the hub driver has set everything up -- that's the essential constraint. Since that routine is called in a preemptible context, some systems could end up preempting that call, so it'd suspend before that call manages to return. That'd be OK, since everything's set up. - Dave ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
