I keep getting the following error message:
Host: Ubuntu 7.10 64-bit | Guest: WinXP 32-bit | USB Error?
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
-
- Posts: 58
- Joined: 4. Dec 2007, 18:30
- Primary OS: Ubuntu other
- VBox Version: PUEL
- Guest OSses: XP & Win7
Ok I searched and the most informative post on the subject I could find is this one:
Ubuntu Gutsy - USB not working
But I am still confused... I found 3 solutions, and I can't figure out what is the best solution for fixing the problem:
#1
#2
#3
Or do I have to do a combination of all 3 to get USB to work?
Ubuntu Gutsy - USB not working
But I am still confused... I found 3 solutions, and I can't figure out what is the best solution for fixing the problem:
#1
orsensimilla wrote:Ok, think I may have found the answer here:
http://www.virtualbox.org/ticket/747
I'll reproduce it here.
You need to edit an init script:Then look for the following:Code: Select all
sudo gedit /etc/init.d/mountdevsubfs.sh
Remove the #'s from the last four lines so it looks like this :Code: Select all
# # Magic to make /proc/bus/usb work # #mkdir -p /dev/bus/usb/.usbfs #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 #ln -s .usbfs/devices /dev/bus/usb/devices #mount --rbind /dev/bus/usb /proc/bus/usb
RebootCode: Select all
# # Magic to make /proc/bus/usb work # mkdir -p /dev/bus/usb/.usbfs domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 ln -s .usbfs/devices /dev/bus/usb/devices mount --rbind /dev/bus/usb /proc/bus/usb
This seems to have fixed the issue for me.
#2
orsensimilla wrote:I think you have to follow the procedure described here for 7.04 to change the usb filesystem permissions.
http://virtualbox.org/wiki/USB_on_Ubuntu_7.04
I'll quote it here for convenience
--
Contributed by Ibrahim Ben Faruhn, 2007/06/14
After I had a taken a look into the insides of Ubuntu 7.04, I managed to get VirtualBox's USB-Support working there 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.
Basically, you just have to tell Ubuntu that a group called usbusers should have read and write access to all usb devices.
1. Create a group called usbusers
2. Add yourself to this group
3. Edit the file /etc/udev/rules.d/40-permissions.rules (for this, you must have administrative privileges)
3.1 Search for the following lines3.2 Change them to the followingCode: Select all
# USB devices (usbfs replacement) SUBSYSTEM=="usb_device", MODE="0664"
4. Restart your PCCode: Select all
# USB devices (usbfs replacement) SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664"
5. You should now have write access to all usb devices.
#3
So of those 3 solutions which one is best for Ubuntu 7.10 64-bit?52rockwell wrote:This is a really easy fix
http://ubuntuforums.org/showthread.php? ... ualbox+usb
------------------------------------------
Courtesy of STEVE1961 on ubuntuforums.org
or just add this line to /etc/fstab
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0
the devgid number is the vboxusers group id (check to see if yours is different)
Once you've saved and closed fstab just do a sudo mount -a and you should be good to go.
Or do I have to do a combination of all 3 to get USB to work?
to check gid
to check the gid of the virtualbox group type
Solution 3 works like a charm and is the simplest to configure.
Code: Select all
id [username]