Hi

   I'm writing a driver based on usb-skelton.c.This is
my problem

  I need to read/write chunks of data, but in the
skel_write() function(usb-skelton.c) the maximum data
I can read/write is 512.What is teh best way to add
this feature?

1. split data as 512 chunks inside this function and
loop it until I read/write all the data?
Is there a function which I can use for this?

1.5 Do I need to add an array of struct urbs for this?
because I was getting -EINPROGRESS error so I ahd to
put mdelay to make it work.

2. Which will be better usb_bulk_msg() or
FILL_BULK_URB and the usb_submit_urb()? for
read/writing

3. What is the maximum throughput ever recorded using
usb2.0?

4. Any source code name which I can refer to?


Thanks in advance


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to