Opened 17 years ago

Closed 13 years ago

#705 closed defect (fixed)

usb in clients on Fedora 7 hosts

Reported by: kiilerix Owned by:
Component: other Version: VirtualBox 1.5.0
Keywords: usb usbfs /proc/bus/usb Cc:
Guest type: other Host type: other


Adding to what is said in User Manual "11.4.6 USB not working":

On Fedora 7 usbfs is mounted in /etc/rc.d/rc.sysinit as

mount -n -t usbfs /proc/bus/usb /proc/bus/usb

vboxusers can thus not use usb; all usb devices will be shown greyed out.

The following command gives vboxusers access access to use usb in clients.

 mount -t usbfs -o remount,devgid=$(awk -F: '/^vboxusers:/{print $3}' /etc/group),devmode=664  /proc/bus/usb /proc/bus/usb

Recommended action:

  1. The section in the User Manual should be extended.
  1. A descriptive warning should be given when usb devices can't be accessed by the user. Just greying the devices is no help.
  1. A smart solution automating this should be made ;-)

Change History (6)

comment:1 by guelzimtr, 17 years ago

I followed the above solution but still cannot see the usb devices.

can you please reiterate the step by step process.

many thanks

comment:2 by kiilerix, 17 years ago

Same problem with VirtualBox-1.5.2_25433_fedora7-1

The problem might be that vboxdrv was running when remounting.

This works for me - and helps debugging:

service vboxdrv stop

lsof +D /proc/bus/usb/
mount -t usbfs -o remount,devgid=$(awk -F: '/^mk:/{print $3}' /etc/group),devmode=664  /proc/bus/usb /proc/bus/usb
ll -R /proc/bus/usb/*

chmod g+rw /dev/vboxdrv
ll /dev/vboxdrv

service vboxdrv start
service vboxnet restart

Note that there is also a problem with access to /dev/vboxdrv

comment:3 by VirtualFan, 17 years ago

the first solution worked for me at first, then I had to redo it every time I re-started the computer, and now I get the error message 'mount: /proc/bus/usb not mounted already, or bad option' when I use the above command line as before, and the usb devices remain greyed out.

Please help. Thanks!

comment:4 by Sander van Leeuwen, 16 years ago

Resolution: fixed
Status: newclosed

Try again with 1.6.0 and report back if it's still relevant. Thanks.

comment:5 by Keith, 16 years ago

Resolution: fixed
Status: closedreopened

Reopening old ticket as the symptoms appear identical and the fix works -

This problem seems to re-appear in Fedora 9 / Virtualbox version 2. Appears that the relevant section in the manuals is now "11.5.7 USB Not Working"

uname -a Linux localhost.localdomain #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa|grep VirtualBox VirtualBox-2.0.0_36011_fedora9-1.x86_64

I would echo the original recommended action.

comment:6 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: reopenedclosed

This was fixed long time ago.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use