USB support for VirtualBox on Fedora 9

I can’t understand why, after many releases, usb support is not working by default on GNU/Linux when using VirtualBox. Also, the way to enable it is different for each distribution.

In Fedora 9, the way to enable it is:

1. Create a “usb” group.

Go to System > Administration > Users and groups. Then click on “Add group” and create a gropu named “usb” with ID 502 (usually is that ID by default).

2. Add this line to fstab.

Just open a terminal, log in as a root and edit fstab (using gedit, for example) and add this line:
none /sys/bus/usb/drivers usbfs devgid=502,devmode=664 0 0

3. Add your user to that group and re-mount the file system:
gpasswd -a your_user usb
mount -a

4. Restart VirtualBox and check if the usb is working now. If not, try restarting the system.

Here is the guide to do the same in Fedora 8.

Tags:

Monday, September 8th, 2008 Desktop

2 Comments to USB support for VirtualBox on Fedora 9

  1. /sys/bus/usb/drivers ?
    Shouldn’t it be /sys/bus/usb ?

  2. NagyGa1 on September 22nd, 2008
  3. Umm, with /sys/bus/usb/drivers it worked for me. Maybe the other path is correct as well.

    It works for you?

  4. Pau on September 22nd, 2008

Leave a comment