On Tue, 2002-12-31 at 11:13, siddharth sharma rajput wrote:
>          fread(buff,20,1,fp);  ( from user space)
>          The read routine of my device driver is called
>          20 times.However I dont need this, as in a
>          single read I get the image from device.

You asked for 20 seperate 1 byte reads. Fix the user space code. Either
do a read of 1 20 byte buffer, or better yet one 80,000 byte buffer



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to