Am Dienstag, 31. Dezember 2002 12:22 schrieb siddharth sharma rajput:
>    Hi everybody,
>
>      I am writing  device driver for fingerprint sensor.
>      I have written almost all the driver.
>
>
>      But I encountered a problem :
>      whenever I perform read on my device like this:
>
>       fread(buff,20,1,fp);  /* in user space */
>
>
>       Read routine of my device driver is called 20 times.
>       I dont want it this way, as in a single call I
>       can pass the whole image buffer to it.
>
>       As the image buffer is 76800 bytes , my driver
>       doesnt responds for minutes.
>
>       Please suggest the solution.

Use read() directly.

        Regards
                Oliver



-------------------------------------------------------
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