Virtualbox USB Support

From openSUSE

For openSuSE 10.3 (should work on other versions as well)


To enable usb support for Virtualbox on openSuSE 10.3, you simply need to modify fstab to load usbfs under the vboxuser gid with a device mode (permissions) of 0644. It is a two step process:

(1) locate the vboxuser gid, either using Yast->Group Management, or simply:

       Rankin-P35a~> grep vboxuser /etc/group
       vboxusers:x:113:david
       The vboxuser gid is "113", yours will vary of course


(2) As root, edit /etc/fstab and set the gid and mode for usbfs as follows:

       usbfs                /proc/bus/usb        usbfs      mode=0664,gid=113     0 0


That's it, reboot or source fstab in your favorite way and usb will now work flawlessly with Virtualbox. Once in Virtualbox, just add a filter for the usb device you would like to connect and your done.

For openSuSE 11

To enable usb support for Virtualbox on openSuSE 11, you simply need to modify fstab to load usbfs under the vboxuser gid with a device mode (permissions) of 0644. It is a two step process:

(1) locate the vboxuser gid, either using Yast->Group Management, or simply:

       Rankin-P35a~> grep vboxuser /etc/group
       vboxusers:x:113:david
       The vboxuser gid is "113", yours will vary of course


(2) As root, edit /etc/fstab and set the gid and mode for usbfs as follows:

       usbfs                /proc/bus/usb        usbfs      devmode=0664,devgid=113     0 0

Pay attention to the flags, they are different from those used in 10.3, devmode instead of mode and devgid instead of gid.

That's it, reboot or source fstab in your favorite way (the easiest way is probably by running "mount -a") and usb will now work flawlessly with Virtualbox. Once in Virtualbox, just add a filter for the usb device you would like to connect and your done.


--Drankinatty 16:20, 21 February 2008 (UTC) David C. Rankin, J.D., P.E.

Reported Problems:

With the changes USB works in VirtulaBox, but my iPod cannot be mounted. If I roll back the change to the USBFS line in the fstab, then the iPod works again.