Am Donnerstag, 27. Januar 2005 09:53 schrieb Hou Xiang ZHU:
> I found that the error returned by usb_driver_claim_interface() in 
> drivers/usb/core/usb.c where 
> 
> if(dev->driver)
>    return -EBUSY;
> 
> I searched internet and it seems the driver is already claimed by usb core. 
> is that the cause? how to solve this problem?
> because when the usb core detected the usb stick, it will bind the mass 
> storage driver to it.how to claim it again?

Check /proc/bus/usb/devices to find out whether the device has been claimed.
If so, you can unclaim it using the DISCONNECT ioctl.

        Regards
                Oliver


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to