11.5.7
USB not working
If
USB is not working on your Linux host, make sure that the current
user is a member
of
the vboxusers group. On older hosts, you need to make sure that the
user has
permission
to access the USB ?lesystem (usbfs), which VirtualBox relies on to
retrieve
valid
information about your host’s USB devices. The rest of this section
only applies
to
those older systems.
Note:
The current rdesktop-vrdp implementation does not support accessing
USB
devices through the sysfs!
As
usbfs is a virtual ?lesystem, a chmod on /proc/bus/usb has no
effect. The
permissions
for usbfs can therefore only be changed by editing the /etc/fstab
?le.
For
example, most Linux distributions have a user group called usb or
similar, of
which
the current user must be a member. To give all users of that group
access to
usbfs,
make sure the following line is present:
#
85 is the USB group
none
/proc/bus/usb usbfs devgid=85,devmode=664 0 0
Replace
85 with the group ID that matches your system (search /etc/group for
“usb”
or
similar). Alternatively, if you don’t mind the security hole, give
all users access to
USB
by changing “664” to “666”.
The
various distributions are very creative from which script the usbfs
?lesys-
tem
is mounted. Sometimes the command is hidden in unexpected
places.
For
SuSE 10.0 the mount command is part of the udev con?guration ?le
/etc/udev/rules.d/50-udev.rules.
As
this distribution has no user group called
usb,
you may e.g. use the vboxusers group which was created by the
VirtualBox
installer.
Since group numbers are allocated dynamically, the following example
uses
85
as a placeholder. Modify the line containing (a linebreak has been
inserted to
improve
readability)
|