Hi, 

I am trying to write a bulk transfer driver  based on
usb-skeleton.c.

I am using prolific usb host-host cable (vendor id
=0x67b and product=0x2501) with 2.6.11 kernel patched
with 2.6.12 –rc5 patch.

I am not able to flush the buffer once it has been
read. Suppose I write 1024 bytes and read only 640
bytes the other 384 bytes will be read in the next
open of the device which I don’t want.  I need to
reset the device every time it is opened.

How can I be able to do it?

Regards
Ramya



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to