Hi everybody,

        I have written device driver for fingerprint scanner
        device.

        But I encountered a problem, whenever I am performing
        read operation like this:

        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.

        As the image buffer is about 76800 bytes.So this
        procedure makes my driver very slow.


        Can anybody suggest , How can I avoid this problem.

        Please reply soon.

        Thanks in advance.


  Regards
  Siddharth Sharma
  Axis Software Pvt. Ltd.
  Pune, India





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