Am Montag, 28. Juni 2004 17:33 schrieb Alan Stern: > > Hmm, I see. Tradeoff time. I'd say take whichever causes > > least impact to device drivers ... didn't you originally > > suggest taking the device out of suspend before unbind? :) > > I don't remember suggesting that. It isn't practical if there are any > suspended hubs between the root and the device. My preference goes to > installing altsetting 0 as soon as possible, which means when the device > resumes. There could just be a little loop in one of the resume() > routines that looks for unbound interfaces not in altsetting 0.
As soon as possible would be right after the suspend() callback. If you are switching to that then nothing is needed in case of soft disconnect. You should really preserve the sense of disconnect() as a pure binding change if possible at all. 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