2003-01-05 23:01:10

by Rus Foster

[permalink] [raw]
Subject: Maybe OT: Unregistering a USB device

Hi All,
Sorry if this is OT but I'm not quite sure where this falls. Basically
what I have ATM is I'm running VMWARE and would like it to be able take
control of one of two USB-Mass Storage devices I have. So I am wondering
is there any way that I can "un-register" a USB device? I've done some
googling but couldn't find anything obvious

All the best

Rus

--
http://www.fsck.me.uk - My blog
http://www.65535.net - $120 for a lifetime UNIX shell account


2003-01-06 01:46:44

by Dmitri

[permalink] [raw]
Subject: Re: Maybe OT: Unregistering a USB device

On Sun, 2003-01-05 at 15:09, Rus Foster wrote:

> Basically
> what I have ATM is I'm running VMWARE and would like it to be able take
> control of one of two USB-Mass Storage devices I have. So I am wondering
> is there any way that I can "un-register" a USB device? I've done some
> googling but couldn't find anything obvious

Someone else asked this question earlier:

http://marc.theaimsgroup.com/?l=linux-usb-users&m=104127472526623&w=2

Dmitri


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-01-06 07:19:38

by Rus Foster

[permalink] [raw]
Subject: Re: Maybe OT: Unregistering a USB device

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

Rgds

Rus
--
http://www.fsck.me.uk - My blog
http://www.65535.net - $120 for a lifetime UNIX shell account

2003-01-09 08:02:45

by Greg KH

[permalink] [raw]
Subject: Re: 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