libftdi Archives

Subject: Re: Multiple interface issues

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 2 Jun 2014 20:22:02 +0800
On Mon, Jun 2, 2014 at 3:53 AM, Steve Soloski <ssoloski@xxxxxxxxxxxxxx> wrote:
> Sigh... I spoke too soon - my test code was opening Interface A instead of
> Interface B.
>
> Verified all of my files and versions - latest libusbK (3.0.7.0); libFTDI
> (1.1) and libusb (1.0.18).
>
> The Windows driver installed is libusbK on the composite device.
>
> Trying to open my device on Interface B greater than 32 times still fails.
>
> Note that in your code snippet below, you're opening Interface A and not
> Interface B.
>
> Can you try opening Interface B instead and see if it works?
>

My test code was not correct, and now I can reproduce your issue
with either libusbk.sys or WinUSB.

And you are also right without libusbk.dll and only use WinUSB,
the test code will not fail.

On the other hand, usually you should not need to
open the device multiple times under libusb, you only
need to do it once.



-- 
Xiaofan

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

Current Thread