Am Freitag, 30. Juni 2006 16:15 schrieben Sie: > On Fri, 30 Jun 2006, Oliver Neukum wrote:
> In this situation it's not clear whether blocking requests is the right > thing to do. It might be better to fail them. Or to automatically resume > the device and then carry out the request. I got to do something. And whatever it is, it should be decided higher up. Given the infrastructure in place I report it the most sensible way available. > BTW, if your driver has any URBs in flight then it's good form for the > suspend method to block until they are all completed (possibly after > unlinking some of them), instead of returning an error. Of course, this > depends on the nature and structure of the driver. The device has a very nasty tendency to crash if an action is aborted and waiting for up to a minute is very unattractive in kernel. Regards Oliver Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel