libftdi Archives

Subject: Claiming devices has no effect under Linux

From: Thomas Klose <thomas.klose@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 05 Oct 2010 14:35:25 +0200
Hi.

If I open a ftdi device in an instance of our application it seems not
to be claimed for exclusive access. A second instance of the application
can "steal" the device later.

I found in the sources of libftdi that the libusb function
usb_claim_interface() is called correctly by ftdi_usb_open_dev(). It was
my understanding that usb_claim_interface() marks the device to be "in
use" and a second call would result in an appropriate error.

Under windows this is not an issue. The device can be claimed only once.
I would very much appreciate if you could help me to figure out what is
wrong here.

Regards, Thomas


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

Current Thread