usbfs or usb-storage ??

Discussions related to using VirtualBox on Linux hosts.
Post Reply
karhong
Posts: 5
Joined: 21. Dec 2008, 10:55
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: rhel, windows

usbfs or usb-storage ??

Post by karhong »

Hi,

Firstly I know there are a couple of USB-related threads, I have read those plus the FAQ, but they doesnt work on mine (Unavailable state).
I have VBox 3.0.2, and running RHEL5.3 as host. USB has never work for me since VBox 2.2.0.
The guest is Windows XP SP3.
The host is able to see the USB stick, and mount correctly.
The VBox is also able to see the USB stick, but the check boxes are greyed out.

However, when I plugged my digital camera in via USB, the VBox(and WinXP) is able to see the camera.
But not the USB stick.
Apparently in RHEL5.3, the driver used for USB is usb-storage.
For the digital camera, the driver used is usbfs.
So the vboxusers group is correct for my user, and the usbfs is mounted correctly.

Maybe for USB stick the driver should be usbfs, and not usb-storage ?
What is the best way to go to workaround this ?
I have attached some output logs for your reference.

Thanks in advance.
--------------- usb-storage vs usbfs ------------------------------
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.18-128.1.14.el5 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms

T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04a9 ProdID=3176 Rev= 0.02
S: Manufacturer=Canon Inc.
S: Product=Canon Digital Camera
S: SerialNumber=1F502302F4104DECBDC8CC2AECFF0F1B
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=usbfs
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=32ms

T: Bus=05 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 13 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04cf ProdID=8818 Rev=a3.01
S: Manufacturer=Myson Century, Inc.
S: Product=USB Mass Storage Device
S: SerialNumber=100
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 10mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
-------------------- end ---------------------------------------

-------------------- camera is captured, but not USB ----------------
VirtualBox Command Line Management Interface Version 3.0.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Host USB Devices:

UUID: 714ff327-52d4-4f5d-8ea9-ac094220e8ab
VendorId: 0x0483 (0483)
ProductId: 0x2016 (2016)
Revision: 0.1 (0001)
Manufacturer: STMicroelectronics
Product: Biometric Coprocessor
Address: /proc/bus/usb/004/002
Current State: Unavailable

UUID: d4300297-f2b0-43aa-af61-4793da038539
VendorId: 0x04a9 (04A9)
ProductId: 0x3176 (3176)
Revision: 0.2 (0002)
Manufacturer: Canon Inc.
Product: Canon Digital Camera
SerialNumber: 1F502302F4104DECBDC8CC2AECFF0F1B
Address: /proc/bus/usb/005/018
Current State: Captured

UUID: 65804b9c-966d-4184-8322-83531e874ef3
VendorId: 0x04cf (04CF)
ProductId: 0x8818 (8818)
Revision: 163.1 (16301)
Manufacturer: Myson Century, Inc.
Product: USB Mass Storage Device
SerialNumber: 100
Address: /proc/bus/usb/005/017
Current State: Unavailable
-------------------------------- end --------------
virtual_ulm
Posts: 5
Joined: 13. Jul 2009, 01:45
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Vista

Re: usbfs or usb-storage ??

Post by virtual_ulm »

Hi karhong,

I had exactly the same problem, and found two working solutions for grayed-out USB under Centos/RHEL 5.3.
Post Reply