libftdi Archives

Subject: Re: Problem with stream_test.c

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 23 Apr 2024 12:02:13 +0200
Hello,

run with strace to find out what goes wrong.

>>>>> "Board" == Board  <board@xxxxxxxxxxxxxx> writes:

    Board> Hi, I am trying to connect a FT232H chip to my computer
    Board> using the stream_test.c file. I tried it on two different
    Board> Linux machines (both running Arch-based distributions). I
    Board> get the same error, namely the call err =
    Board> ftdi_readstream(ftdi, readCallback, NULL, 4, 128); on line
    Board> 216 fails with error -2.
...

-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread