On Wed, 30 Jun 2004, David Brownell wrote: > Alan Stern wrote: > > >>That's because there _is_ only one kind of "suspend"; the other > >>is power-off! > > > > > > Merely semantics. If you want to suspend your computer by storing the > > state and turning everything off (suspend-to-disk), is that a suspend or a > > shutdown? As far as the individual devices are concerned it's a shutdown. > > As far as the system, some of the drivers, and the user are concerned, > > it's a suspend. > > Which is why I've been talking about individual device behavior. > The complex behaviors get built out of many simpler ones. > > Plus, in this case the semantic confusion is at resume time. > Specifically, the notion that there might not be one, and > instead there'd be disconnect().
That's true no matter what kind of suspend you do. Even devices that really are in the actual USB suspend state can be unplugged. Drivers always have to be prepared for the possibility that suspend() might be followed by disconnect(). Alan Stern ------------------------------------------------------- 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