>>>>> "Akos" == Akos Vandra <[email protected]> writes:

    Akos> That's strange. Then how is the ioctl(fd, FIONREAD, &bytes);
    Akos> implemented in the kernel driver? That seems to be working fine,
    Akos> and it reads the number of bytes available...

To my knowledge as described below:
- Always pull what's available 
- Report what has been pulled.
Look at <kernel>/drivers/usb/serial/ftdi_sio.h. There is no USB request to
find out what's in the FTDI buffer. 


    >> libftdi - see http://www.intra2net.com/en/developer/libftdi for
    >> details.  To unsubscribe send a mail to
    >> [email protected]
    >> 
Please,
don't fullqoute, at least remove repeated footers and such. Otherwise the
archives get harder to read.

Bye
-- 
Uwe Bonnes                [email protected]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to