libftdi Archives

Subject: Re: Claiming devices has no effect under Linux

From: Thomas Klose <thomas.klose@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 06 Oct 2010 22:56:29 +0200
Am Mittwoch, den 06.10.2010, 16:30 -0400 schrieb DJ Delorie: 
> > In this case you could detach sio with modprobe, rmmod,
> 
> ... detaching all my modems...
> 
> > usb_detach_kernel_driver(), or whatever in your *application*.
> 
> My application does not have root privs, so it cannot do any of the
> above.  The FTDI device in question has a "device name" string that
> the kernel matches to set the device permissions to allow libftdi (and
> thus my custom application) to detach the driver though.

You do not need root privileges for usb_detach_kernel_driver().

I am tired...


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

Current Thread