You got it right. I'm using usb pass through.
Edit your /etc/rc.sysinit
--------------------------------------------------
if [ ! -d /proc/bus/usb ]; then
modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb
else
# mount -n -t usbfs /proc/bus/usb /proc/bus/usb
mount -t usbfs -o devgid=$(awk -F: '/^vboxusers:/{print $3}' /etc/group),devmode=664 /proc/bus/usb /proc/bus/usb
fi
--------------------------------------------------------
vboxusers should have the required permissions and your user account should be a member of vboxusers group.
You could add this to /etc/fstab for a permanent mount
------------------------------------------
/proc/bus/usb /proc/bus/usb usbfs devgid=501,devmode=664 0 0
501 should be replaced with the corresponding gid of vboxusers.
|