On Tue, 1 Jun 2004, Dhanesh D Pai wrote: > hi all, > I am relatively new to USB. Presently i am working on a project > wherein i am using usb-skeleton.c( in Fedora Core 1) as the device > driver. The transfer mode being bulk. But when i continuously try to > write( ie skel_write ) to the usb device( Cygnal 8051 usb > implementation) the driver returns me a error saying > - failed submitting write urb, error > > The first write to the device is fine but the subsequent writes fail. I > am not able to trace out the problem.Can anybody help me in this regard. > > > TIA > best regards > dhanesh
If you're working on a new project, you would be much better off using Linux 2.6.x rather than 2.4.x. But if you insist on using the older kernels, note that you have to set one of the bits in urb->transfer_flags (it's called URB_QUEUE_BULK or something like that) before submitting more than one bulk URB at a time. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
