Hi Dave,
On 2015-08-18 23:29, Dave McMahan wrote:
Anders,
Thanks for your quick response.
Unfortunately, I can't use only plain serial communications. I must
use GPIO signals connected to Port A and serial communications on
Port B.
that alone is not a problem, it's just a bit tricky to set up.
You must "unbind" Port A from the serial driver in order to use the
GPIO pins with libftdi (will check tomorrow @work how I did that and
report back).
As far as I can tell on Android Lollipop running on a Nexus9 tablet,
there is no kernel driver for ftdi.
It should not be too difficult to build the ftdi_sio kernel module
since the Google has published the Kernel sources.
http://www.androidpolice.com/2014/11/05/google-releases-kernel-source-for-nexus-9-volantis-and-nexus-player-fugu/
In any event, I must use libftdi to control the GPIO signals (both
inputs and outputs) and I thought it would be a bad idea to mix a
kernel driver with libftdi calls on the same device at the same time.
It is not a problem using separate drivers to handle the separate USB
endpoints of the FT2232H chip - the ports really are independent.
Cheers
Anders
> From: Anders Larsen [mailto:al@xxxxxxxxxxx]
> Sent: Tuesday, August 18, 2015 5:22 PM
> To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Help with FT2232H flow control
>
> Hi,
>
> On 2015-08-18 22:01, Dave McMahan wrote:
> > Hello,
> >
> > I am using the FT2232H chip in an Android (linux) environment. I
am
> > working with the latest libftdi (version 1.2), libusb (version
1.0).
> >
>
> It sounds as if you are using plain serial communications?
>
> If so, the FT2232H should Just Work (tm) - the Kernel driver
ftdi_sio.ko
> should take care of everything, including hardware flow control
> (without any special libraries like libftdi or D2XX)
>
> Cheers
> Anders
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|