> > but do we want to guarantee that the altsetting is always zero
> > when probe is called (likewise for configuration)?  After all, drivers
> > can be responsible for setting the values they want.
> 
> I think we do.  Drivers should find their devices initially in the 
> default state.  That's why we install altsetting 0 after each driver 
> unbinds.

I guess the same goes for the configuration.

> >  Also, wouldn't setting
> > the altsetting to zero result in traffic with the device even if the
> > altsetting was already zero...?
> 
> It would.  But the overhead should be pretty small; failures during probe 
> don't occur very often.  Less often than probes overall, and they aren't 
> very common.  Furthermore, even if the altsetting already is 0, sending 
> the command should force the interface to do a partial reset.

If the configuration is reset to zero, is that guaranteed to reset the
altsetting too?

D.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to