In message <[EMAIL PROTECTED]>
          Ian Abbott <[EMAIL PROTECTED]> wrote:

> On 23/07/2005 17:26, Joseph Heenan wrote:
> > Greg KH has previously suggested a way to unbind a device from a
> > driver ( http://lkml.org/lkml/2005/1/11/189 ) which sounds like it
> > would help - as far as I know nothing like this had made it into the
> > kernel though.
> 
> But you're trying to do it from userspace right?  Have you tried 
> USBDEVFS_DISCONNECT?  Have a look here 
> <http://article.gmane.org/gmane.linux.usb.devel/36012> for clues on usage.

That's exactly it, thanks very much. A day's googling had only
pointed me at the blacklisting solution. :-(

For info, libusb exposes this functionality via the
'usb_detach_kernel_driver_np()' function, and it works very well. :-)

Thanks very much for taking the time to answer!

Joseph


-- 
Joseph Heenan, Glasgow, UK              http://www.heenan.me.uk/


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to