Am Samstag, 26. Juni 2004 20:04 schrieb David Brownell: > Oliver Neukum wrote: > > > Isn't a driver that's not switching to altsetting 0 in its suspend() buggy? > > Why would it want to? It's supposed to come back into the same > state that it was before the suspend, including config+altsettings.
But going back is the job of resume(). Shouldn't the device be quiet in between? > >>(In principle we could get around this. If there were an addition to the > >>API for usb_drivers, a notification function for warning about impending > >>resets, then we could simply notify all the children's drivers. But there > >>isn't such an API, and it's not likely to arrive during 2.6.) > > > > > > There is. Suspend() and resume(). > > Erm, no. Those are for suspend and resume, not about_to_reset(). Why? Suspend() is a command: - save state - quiet down - leave the device alone until further notice Resume(): - restore state - you may use it again Exactly what is needed. 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