On Friday 20 May 2005 7:08 pm, Alan Stern wrote:
> On Sat, 21 May 2005, John Steele Scott wrote:
> 
> > > And what's at that location?  Presumably it doesn't happen if you
> > > disconnect the HID device before suspend?  Is this with or without
> > > CONFIG_USB_SUSPEND?
> > 
> > Okay, I have tried both of these for a few days now. Disconnecting the
> > device before suspend avoids the problem. Setting CONFIG_USB_SUSPEND
> > fixes it completely.
> 
> Interesting.  Apparently the usb_generic_suspend() and 
> usb_generic_resume() routines don't mind calling USB drivers' suspend and 
> resume methods even if CONFIG_USB_SUSPEND isn't set.  I'd say that's a 
> bug.

Actually I'm not so sure.  I generally describe USB_SUSPEND as relating
to whether or not the USB "suspend" state is used -- selective suspend
and resume support.  Calling driver suspend() and resume() methods is
orthogonal to that ... except that to use the USB "suspend" state, any
drivers should have been properly suspended.

Now, it's also true there's something fishy going on since this works
with USB_SUSPEND but not otherwise.  What exactly that might be, I'm
not sure given the info I've seen so far.

- Dave



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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