On Tuesday, 5. October 2010 14:35:25 Thomas Klose wrote: > 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.
Well, the function does what it's named after: Claim the device, no matter who is currently using it: Kernel driver or another libftdi instance. Cheers, Thomas -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
