On Wed, Oct 6, 2010 at 4:15 PM, Thomas Klose <thomas.klose@xxxxxxxxxxxxx> wrote:
>> I just sent a patch to libusb-devel, that checks in
>> libusb_kernel_driver_active() for itself ("usbfs") and returns another
>> value, so that above libftdi patch works as expected.
For reference: thread is here.
> If this works as expected, it would solve my problem since no driver is
> loaded for our device to begin with.
> However, if this must be the default way to open a ftdi device which is
> already attached to a driver, would you consider to re-attach the driver
> if the device is closed? I think libusb_attach_kernel_driver() can do
> that. This would leave the system in the original state at least.
I tend to think it is better to leave for the user to decide to re-attach
the kernel driver or not. Some user may really not want to use
the original sio driver.
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx