lkml.org 
[lkml]   [2003]   [Jan]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 9 Jan 2003 00:10:58 -0800
FromGreg KH <>
SubjectRe: Maybe OT: Unregistering a USB device
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/

\
 
 \ /
  Last update: 2005-03-22 12:32    [from the cache]
©2003-2008