Hi I've been looking at the usbdevfs stuff for writing a user mode driver to a simple device. I had questions.
The device has interrupt endpoints. I see special transfer ioctls for bulk, but not interrupt. I've been assuming that I need to submit a usbdevfs_urb and then go and reap it. Does that sound about right? Is there any sample code or a good example which uses these functions? Unrelated question, if you're writing a normal device driver and your device has interrupt endpoints and you submit an interrupt urb, will you be called each time there's an interrupt continuously until you unlink the urb, or do you have to resubmit it? I found one driver in which the write urb was filled-in with an 'interval' of 0. Does that mean just process and return when you are done and please don't reschedule? Perhaps what I mean to ask is what does the 'interval' parameter in the urb structure mean during interrupt transfers and when do you need to resubmit? Thanks for the help Roland _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
