libftdi Archives

Subject: Re: Claiming devices has no effect under Linux

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 5 Oct 2010 17:01:34 +0200
>>>>> "Thomas" == Thomas Klose <thomas.klose@xxxxxxxxxxxxx> writes:


    Thomas> Now it works as expected. What is this function needed for,
    Thomas> anyway? I whitch case is it necessary to detach a module
    Thomas> explicitly?

There are a lot of FTDI devices out there, and in most cases ftdi_sio is
loaded for that device when the device is plugged in. Without the call to 
usb_detach_kernel_driver_np(), in that case libftdi can't talk to the
device. So the call to usb_detach_kernel_driver_np() is needed in many
situations.

In your situation, however it is wrong. Ideas how to handle that situation
are welcome.

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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

Current Thread