Am Sonntag, 27. Juni 2004 21:50 schrieb David Brownell: > Oliver Neukum wrote: > >>>Isn't a driver that's not switching to altsetting 0 in its suspend() buggy? > >> > >>No. When the device resumes it will be in the same altsetting as it was > >>when it suspended. The driver doesn't need to switch altsettings. > > > > > > Then we must refuse any sleep states that want to power down the bus. > > No, if the bus powers off the call sequence seen by that driver > will be suspend()->disconnect() rather than suspend()->resume().
This will do horrible things if the attached device has considerable state. With usb-storage it will lead to data loss. > That's a completely routine operation, like unplugging something > while it's suspended. You want to tell folk they can't suspend > their laptop and THEN unplug all devices/cables? I don't want to, but apparently it is the case. See this thread: Process in D state with USB and swsuspsp Regards Oliver ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel