On Fri, 9 Dec 2005, Harry Butterworth wrote:

> While you are discussing this stuff, you might like to consider the
> problem of stealing a device from a back-end driver that has already
> claimed it.  I don't know if this is currently possible.  With my
> testing so far I have had to disable the back-end drivers for the
> devices that I wanted to export to stop them from getting the devices
> before me.

It is already possible.  Something like this:

        echo -n 1-2:1.0 >/sys/bus/usb/drivers/[driver]/unbind

Or it can be done using usbfs.  And if you want to do it from within the 
kernel, call device_release_driver(dev).

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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