| 1 | = Setting up USB on Ubuntu 7.04 = |
| 2 | Contributed by Ibrahim Ben Faruhn, 2007/06/14 |
| 3 | |
| 4 | After I had a taken a look into the insides of Ubuntu 7.04, I managed to get !VirtualBox's USB-Support in that system in such a way that the user only needs to be a member of a group called usbusers. This howto describes how I did it. |
| 5 | |
| 6 | Basically, you just have to tell Ubuntu that a group called usbusers should have read |
| 7 | and write access to all usb devices. |
| 8 | |
| 9 | 1. Create a group called usbusers |
| 10 | |
| 11 | 2. Add yourself to this group |
| 12 | |
| 13 | 3. Edit the file /etc/udev/rules.d/40-permissions.rules (for this, you must have administrative privileges) |
| 14 | |
| 15 | 3.1 Search for the following lines |
| 16 | {{{ |
| 17 | # USB devices (usbfs replacement) |
| 18 | SUBSYSTEM=="usb_device", MODE="0664" |
| 19 | }}} |
| 20 | |
| 21 | 3.2 Change them to the following |
| 22 | {{{ |
| 23 | # USB devices (usbfs replacement) |
| 24 | SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664" |
| 25 | }}} |
| 26 | |
| 27 | 4. Restart udev: |
| 28 | {{{ |
| 29 | sudo /etc/init.d/udev restart |
| 30 | }}} |
| 31 | |
| 32 | 5. You should now have write access to all usb devices. |