On Sat, May 20, 2006 at 11:20:45AM -0400, Paul Giblock wrote: > So what is the best way to constantly read packets from the usb > device? My device sends a 32byte report periodically. Is it safe to > call usb_submit_urb() from my hqct_read_callback function?
Yes, that's the recommended way. Lots of drivers do it this way. > Or should I use a kthread with usb_bulk_msg()? No, that's just slow and way more complex. thanks, greg k-h ------------------------------------------------------- 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