On Mon, 5 Sep 2005, Franck wrote: > Alan, > > 2005/9/5, Alan Stern <[EMAIL PROTECTED]>: > > On Mon, 5 Sep 2005, Franck wrote: > > > > > > On the other hand, it's not really all that much useless work. 4 times > > > > per second or so there's a single, very short transaction (IN followed > > > > by > > > > NAK). Unless you've got some good reason for avoiding it, why bother? > > > > > > > > > Can you point out in the code where is the setup of 4 times per second > interval ? I can't find it.
It's in drivers/usb/core/hub.c. The URB is set up near the end of hub_configure(), and it is submitted in hub_activate(). Search for occurrences of "hub->urb". The requested period is endpoint->bInterval, taken from the hub's endpoint descriptor. Alan Stern ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
