On Thu, 15 Mar 2007, Oliver Neukum wrote: > Am Donnerstag, 15. März 2007 14:31 schrieb Alan Stern: > > Oliver: > > > > Suppose the superuser has suspended a USB device and disabled autoresume. > > Then what should happen under the following circumstances? > > > > 1. The device's usbfs file is opened (or already was open > > and now gets accessed). > > > > 2. The user writes to the bConfigurationValue attribute. > > The first two, yes they should. You get what you asked for. > > > 3. A new driver module is loaded and it is probed for one > > of the device's interfaces. > > I am not sure. Consequently waking up the device would cause probe > to be called again, but this seems overkill.
If the probe during insmod failed, resuming the device would not automatically cause the driver to be probed again. And after all, you shouldn't expect a probe to work if the driver can't communicate with the device. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel