> > > while a request directed at an interface does nothing (but > > > returns 0). > > > > That seems odd. For example, how is the _device_ ever going to > > be able to suspend, if the interfaces always stay active??? > > > > There needs to be some mechanism whereby the interface drivers > > get suspended/resumed. And I don't see any reason not to use > > the existing one. > > What I mean is: > > echo -n 2 >/sys/.../4-2/4-2:1.0/power/state > > does nothing, while > > echo -n 2 >/sys/.../4-2/power/state > > calls all the interface drivers' suspend methods and then suspends the > device itself. That's what you had in mind, right?
Well, I'd much rather not have those power/state files if they're unable to do anything useful. And if there were only one interface, I don't see why suspending it should be externally distinguishable from suspending the device. But other than that ... sure! - Dave _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel