Hi guys, I am newbie trying to come up with my first USB driver, I've read through the usb-skeleton.c file and find it to be a very helpful starting point for a beginner like myself. There are several things though I am interested to learn a bit more. For example, is it a mandatory thing to set the urb transfer_buffer size same as the device endpoint max packet size? What could happen if the urb transfer_buffer size is different from the max packet size? Also, what's the advantage of using usb_submit_urb() over something like usb_bulk_msg()? In the usb-skeleton.c, it's mentioned about a urb->status race condition, how can I avoid such race condition? Would setting urb transfer_flags such as USB_QUEUE_BULK be able to avoid it?
All comments and suggestions are welcome! Thanks in advance. Gary ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
