45 | | * '''USB on Ubuntu/Gutsy''': Ubuntu removed support for `/proc/bus/usb/*`. We will address this issue in the future. Until this, edit the script `/etc/init.d/mountdevsubfs.sh and activate the four lines around line 40 (Magic to make /proc/bus/usb work). Then execute |
46 | | {{{ |
47 | | /etc/init.d/mountdevsubfs.sh start |
48 | | }}} |
49 | | From now on, there should be a directory `/proc/bus/usb/` and the device entries below should be accessible by any user. |
50 | | |
51 | | * '''USB on Ubuntu/Intrepid''': Finally, the Ubuntu guys completely removed these lines. So you have to manually add them again: |
52 | | {{{ |
53 | | mkdir -p /dev/bus/usb/.usbfs |
54 | | domount usbfs "" /dev/bus/usb/.usbfs usbfs -obusmode=0700,devmode=0600,listmode=0644 |
55 | | ln -s .usbfs/devices /dev/bus/usb/devices |
56 | | mount --rbind /dev/bus/usb /proc/bus/usb |
57 | | }}} |
58 | | Add these lines to at the end of the `start()` function of `/etc/init.d/mountdevsubfs.sh`.[[BR]] |
59 | | Note that the '''udev permissions''' for the USB devices are still used. For instance, to access a USB disk you have to be member of the group `disk`. Execute |
60 | | {{{ |
61 | | /bin/ls -l /proc/bus/usb/*/* |
62 | | }}} |
63 | | and check if you have '''write access''' to all desired USB devices.[[BR]][[BR]] |
64 | | If you want to make all USB devices available for users member of the vboxusers group, apply the proposed change for '''USB on openSUSE'''. |
65 | | |
66 | | * '''USB on openSUSE''': Add the following entry to `/etc/fstab`: |
67 | | {{{ |
68 | | none /proc/bus/usb usbfs auto,busgid=XXX,busmode=0775,devgid=XXX,devmode=0664 0 0 |
69 | | }}} |
70 | | Replace `XXX` by the group ID of the group vboxusers. You can determine this value by executing |
71 | | {{{ |
72 | | grep vboxusers /etc/group |
73 | | }}} |
74 | | Of course, the current user should be member of that group. After the next reboot, there should be a directory `/proc/bus/usb/` and the device entries below should be accessible by any user of the `vboxusers` group. |
75 | | |
76 | | * If '''USB doesn't work,''' check your usbfs permissions. See "Troubleshooting" -> "Linux hosts" in the [wiki:"Downloads" User Manual] for a solution. |
| 50 | * USB: if you are having trouble accessing USB devices in a guest, make sure that you are a member of the '''vboxusers''' system group. |