VirtualBox

Ticket #705 (closed defect: fixed)

Opened 7 years ago

Last modified 2 years ago

usb in clients on Fedora 7 hosts

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

Description

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

comment:1 Changed 7 years ago by guelzimtr

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 Changed 6 years ago by kiilerix

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 Changed 6 years ago by VirtualFan

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 Changed 6 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:5 Changed 6 years ago by cloudman

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 2.6.25.14-108.fc9.x86_64 #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 Changed 2 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

This was fixed long time ago.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use