hi all, i found on windows usb sdk a urb function called URB_FUNCTION_ABORT_PIPE .. do you know why is not implemented on linux usb driver?
Interesting. Alan Stern had recently proposed implementing something that sounds very similar. Linux 2.6 has this function internal to usbcore, and it'd be useful to expose it for general use by drivers.
Can it be compared with USBDEVFS_CLEAR_HALT urb linux function?
Not from what I can tell. That's a user-space API, not a kernel API, but its kernel analogue is usb_clear_halt(). That's used to re-open communications to a bulk or interrupt endpoint, after they stalled.
Stalling an endpoint shouldn't be the same as canceling pending requests; it changes hardware state.
- Dave
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
