libftdi Archives

Subject: Re: Writing succeeds, but reading fails

From: Magnus Therning <magnus@xxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 8 May 2014 11:54:46 +0200
On Thu, May 8, 2014 at 10:56 AM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>>> "Magnus" == Magnus Therning <magnus@xxxxxxxxxxxx> writes:
>
>     Magnus> I'm completely new to using libftdi, but I'm running into
>     Magnus> problems a little sooner than I'd like.  Hopefully it's
>     Magnus> something silly that someone on the list quickly can point me
>     Magnus> to.  I've read the API reference, and searched online without
>     Magnus> finding anything that can explain the behaviour I see.
>
> If you need plain serial communication, why don't you use /dev/ttyUSBx?

The full application I want to port uses ftd2xx to find devices to
talk to, I think doing that discovery is easiest via libftdi.
However, maybe a combination works well enough, as long as I somehow
can tie the items in a `ftdi_device_list` to /dev/ttyUSBx somehow.

Then it's of course also irritating; serial communication via libftdi
ought to work, right? ;)

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus@xxxxxxxxxxxx   jabber: magnus@xxxxxxxxxxxx
twitter: magthe               http://therning.org/magnus

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

Current Thread