On Mon, 22 May 2006, Tilman Schmidt wrote: > Working on improving the error handling of a USB driver, I would > like to be able to trigger some of the most common error conditions > at will. A prime candidate is "endpoint stalled" (-EPIPE), which > occurs frequently enough with the device in question to be annoying, > but too rarely to properly test its handling. > > So is there a generic way of provoking a STALL condition for a given > endpoint, ideally without adverse side effects on device operation?
There is a generic way: a Set-Feature request to turn on the Halt feature for the endpoint. In theory this won't have any adverse side effects. In reality the side effects will depend on the device firmware. Alan Stern ------------------------------------------------------- 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