Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Ubuntu Forum Archives > Intrepid Ibex Testing and Discussion (Closed)
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Intrepid Ibex Testing and Discussion (Closed)
Development of Intrepid Ibex is finished. Please ask questions about Ubuntu 8.10 in Absolute Beginner Talk or Main Support Categories.

 
 
Thread Tools Display Modes
Old October 29th, 2008   #1
bcasanov
Gee! These Aren't Roasted!
 
bcasanov's Avatar
 
Join Date: Apr 2007
Location: United States
Beans: 211
[SOLVED] Virtualbox error "Failed to access the USB subsystem"

Hi,

I have an error in Virtualbox after clicking on the settings button that says "Failed to access the USB subsystem." I searched on Google and on the Ubuntu forums, and with these URLs in particular: http://ubuntuforums.org/showthread.php?t=725900&page=2 and http://www.ubuntu1501.com/2007/12/in...b-support.html

I followed the latter's instructions, which are given here below:
Quote:
Add USB support to you fstab file
In a terminal type:
sudo gedit /etc/fstab

And paste this line to the end of your fstab
none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0

Enable USB
In a terminal type:
sudo gedit /etc/init.d/mountdevsubfs.sh

You need to look for this section:
#
# 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

And delete all the # shown, it should look exactly like this.

#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

Find your vboxusers number
In a terminal type:
sudo gedit /etc/group

Look for this, the number following it is your vboxusers number
vboxusers:x:NUMBER

Next you have to add a line to your /etc/fstab to allow usb mounting
In a terminal type:
sudo gedit /etc/fstab

Add this line:
none /proc/bus/usb usbfs devgid= enter vboxusers number HERE,devmode=664 0 0

Allow access to /proc/bus/usb/
in a teminal type:
sudo chown -R root:vboxusers /proc/bus/usb

Once you Log out or reboot, you can start VirtualBox
Even after following the above instructions, I am still getting the same error. What could be going on?
bcasanov is offline  
Old October 29th, 2008   #2
uidb4056
Gee! These Aren't Roasted!
 
uidb4056's Avatar
 
Join Date: Jun 2007
Location: Barcelona - Spain
Beans: 198
Ubuntu 9.10 Karmic Koala
Re: Virtualbox error "Failed to access the USB subsystem"

Only the first part regarding fstab is necessary in Intrepid, the rest only is needed in hardy.

In your fstab you need to put:

none /proc/bus/usb usbfs devgid=XXX,devmode=664 0 0

being XXX the group ID of your user when you look under System-Administration-Users&Groups for the group vboxusers.
uidb4056 is offline  
Old October 29th, 2008   #3
bcasanov
Gee! These Aren't Roasted!
 
bcasanov's Avatar
 
Join Date: Apr 2007
Location: United States
Beans: 211
Re: Virtualbox error "Failed to access the USB subsystem"

Thank you! Your suggestion worked. I went back and commented the specified lines in mountdevsubfs.sh, only put in the one line you gave me in the fstab file, and then, I restarted, and wuala, I don't have the error anymore! I'll mark this thread as solved.
bcasanov is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:50 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry