Re: Maybe OT: Unregistering a USB device
Greg KH (greg@kroah.com)
Thu, 9 Jan 2003 00:10:58 -0800
On Mon, Jan 06, 2003 at 07:27:12AM +0000, Rus Foster wrote:
> On 5 Jan 2003, Dmitri wrote:
>
> > On Sun, 2003-01-05 at 15:09, Rus Foster wrote:
> >
> > Someone else asked this question earlier:
> >
> > http://marc.theaimsgroup.com/?l=linux-usb-users&m=104127472526623&w=2
> >
> > Dmitri
>
> Ah right the problem is that
> a) I still want one of the usb-mass storage devices to still be accessible
> at the same time.
> b) My kernel is monolithic
You can use the USBDEVFS_DISCONNECT ioctl on the usb device node in
usbfs to disconnect the driver from the device.
Hope this helps,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/