On Sunday 27 November 2005 9:15 am, Alan Stern wrote: > > So far as I know, the USB API doesn't allow for size limits on URB > transfer lengths. There's no mechanism to report back that an URB is too > large,
Sure there is ... return "-EMSGSIZE" from usb_submit_urb(); or perhaps some other errno value. The API clearly allows for that fault code. :) > and no driver tries to break URBs up into smaller pieces. True, but that's a different issue. Few drivers bother looking at the fault codes reported by usbcore or the HCDs ... that'd basically be a bug in the driver. - Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel