libftdi Archives

Subject: Re: libftdi and multiple interfaces

From: Emmanuel Blot <eblot.ml@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 11 Nov 2009 12:28:51 +0100
> I have been creating a context and doing an open on each interface.
> Here's a simple python example.

I tried some similar example (both in Python w/ ctypes and directly
with a C sample code), but it fails on Darwin (MacOSX):

The underlying libusb library is called to open the USB device (FTDI
4232) twice, and it fails on the second call, as it attempts to
exclusively open the USB device a second time.

AFAIU, a second device *interface* should be initialized, but the
device should only be open once, should'nt it?

Thanks,
Manu

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

Current Thread