libftdi Archives

Subject: Re: How to open the second channel on a FT2232H device?

From: Thomas Heller <theller@xxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 02 May 2012 08:55:50 +0200
Am 30.04.2012 13:48, schrieb Thomas Heller:
I'm having problems opening the second channel on a FT2232H device
(Windows7 64 bit, using Xiafan Chen's 0.20 binary snapshot build).

I used the serial_test.exe program:

A) serial_text.exe -v 0x0403 -p 0x6010 -i 1 > null
B) serial_text.exe -v 0x0403 -p 0x6010 -i 2 > null

and tried different scenarios.

1. Using the FTDI driver, and installed libusb-win32 filter driver for
the USB-Compound device "vid:0403 pid6010 rev:0700" - both A) and B) work.

2. Using the FTDI driver, installed libusb-win32 filter drivers for
"vid:0403 pid:6010 rev:0700 mi:00" and "vid:0403 pid:6010 rev:0700
mi:01" USB Serial Converters. A) works, B) prints:
unable to open ftdi device: -5 (unable to claim usb device. Make sure
the default FTDI driver is not in use)

3. Using libusb-win32 drivers only, for both "USB Serial Converter
(Interface 0)" and "USB Serial Converter (Interface 1)".
A) works, B) doesn't work.

Am I doing something wrong? Must I install a libusb-win32 driver for
the compound device (if so - how)?

libftdi only works correctly when the composite driver for the ft2232h
is installed.  This is the device with two interfaces.

It does not work when separate drivers for the two channels are
installed (these are the two drivers with ony one interface each).

Thomas

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