On Sat, 15 Dec 2001, Vojtech Pavlik wrote:

> > Nope, it's a definition.  Suspend/resume involves preserving
> > state.  If they didn't keep power, they couldn't keep that state,
> > and they had to (re)initialize.  Just like unplug/replug.
> > 
> > If you want such devices to get initialized the same way every
> > time, that's a different issue -- not suspend/resume, since the
> > device isn't getting resumed.
> 
> Yes, it's basically unplug/replug, which should preserve the
> confuguration as much as possible, too.

Well, as explained in the other posting, suspend/resume is pretty much
different from unplug/replug because a suspended device is still drawing
some power from the suspended USB. This way even a buspowered device can
keep its state and the host can be sure, it's still the same device which
he will resume later on.

For unplug/replug OTOH I agree it's a good idea to have the device keep
its state as much as it makes sense - but the host _must not_ make any
assumption here because the replugged device might just be a different one
or might have been plugged to a different host meanwhile.

Martin


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to