On Thu, 21 Jul 2005 [EMAIL PROTECTED] wrote:

> Folks,
>   I have a USB "flash-drive" which I need to connect to my Linux box but
> do NOT want Linux to associate it with the standard "usb-storage"
> driver. I need to attach it to a Vmware virtual machine, which is not
> possible once the device is claimed by the Linux driver. Although
> unloading the usb-storage driver will allow the VM to attach the device
> it is not an option as I will then loose access (on the Linux side) to
> other USB hard drivers that use the same driver.
> 
>   The output of /proc/bus/usb/devices for this device is shown below, is
> there a simple way to tell the usb sub-system to NOT attach this device
> to a driver ?
> 
> T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  9 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0c76 ProdID=0005 Rev= 1.00
> S:  Manufacturer=BDS-1CL
> S:  Product=Bio Flash
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50
> Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us
> E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=64ms

There's no way to prevent usb-storage from binding to your device.  But
you can make it unbind so that VMware can use the device.  Look at this
thread:

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

and the pages it refers to.

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to