Slackware 13.1 and VirtualBox USB
By default, USB support does not work when installing VirtualBox PUEL on a Slackware host. Essentially it is a permissions issue. There are a number of ways around it, but the simplest is this ridiculously small change to rc.S.
rc.S (downloadable rc.S.diff.gz):
+++ ./rc.S 2010-06-14 11:31:16.067169967 +0100
@@ -297,7 +297,7 @@
if grep -wq usbfs /proc/filesystems; then
if ! grep -wq usbfs /proc/mounts ; then
if ! grep -wq usbfs /etc/fstab; then
- /sbin/mount -v usbfs /proc/bus/usb -t usbfs
+ /sbin/mount -v usbfs /proc/bus/usb -t usbfs -o devgid=83,devmode=0664
else
/sbin/mount -v /proc/bus/usb
fi
This patch effectively changes the automatic permissions on USB devices so that the group owner is the plugdev group and so the group owner has write permissions. Make sure any users in the vboxusers group are also in the plugdev group… but you knew that.
In order to apply the above patch, do the following as root:
# wget http://blog.tpa.me.uk/wp-content/uploads/2010/06/rc.S.diff.gz
# zcat rc.inet2.diff.gz | patch -p1
Or just make the change by hand, given how small it is.
Recent Comments