No USB devices available

Discussions related to using VirtualBox on Linux hosts.
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

No USB devices available

Post by solinem »

From the first time I installed VirtualBox, until now, I've never seen available any of my USB devices, even any of my USB Memory vaults.
I'm running Fedora 11 2.6.30.5-43.fc11.i586
VirtualBox 3.0.6 r52128
Thanks for your assistance.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

USB is not supported in the OSE version of VBox, you need to install the PUEL version.
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

Thanks a lot!!
can I have my existing virtual machines?
Last edited by solinem on 22. Sep 2009, 18:03, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

Sure they should survive just fine. Just uninstall the OSE and then download the PUEL from here http://www.virtualbox.org/wiki/Linux_Downloads
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

Thanks Perryg,
I have uninstalled the former version and installed the one from the link, but I still have the same problem.
When I downloaded the file, it had the same name as the previously installed version, is this normal?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

The name should indeed be the same.
Look here to solve you problem: Forum FAQ USB Questions
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

OK, I see:
I have never installed OSE, I have always installed PUEL (the precompiled version of VirtualBox, isn't it?
so, how can I manage to have my USB devices?
I have read the User Manual, that says to add the user to the virtualbox users group, that I have done with the same results: no USB
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

In the FAQ, there is the following
Q: I connect an USB device, but it isn't grabbed by the VM. What's going on?
A: Are you using the OSE version or the PUEL version? The OSE version does not provide USB functionality. If you use the PUEL version, read the Wiki and manual for how to set it up in Linux Hosts. Windows systems should work automatically. There will be a question for a driver on the Host once VB grabs it. Continue the installation, letting it search for a driver automatically. If you get a prompt about driver signatures, just Continue Anyway.

Does someone know to what WIKI does it refer?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

Make sure that the guest additions are installed.
Also it states that you are using the OSE version in your profile. To keep this from becoming an issue again you should update it to say PUEL.
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

Thanks, I have updated my profile
I re-installed Guest additions and nothing happens.
I think the problem is with my user (the non-root user). I have started VirtualBox as root and USB is available, but not when started as another user (both are members of virtualbox users: marcoA and root).
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

Log in as yourself and in a terminal type id and post the results here.
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

Perryg wrote:Log in as yourself and in a terminal type id and post the results here.
output:
uid=500(marcoA) gid=500(marcoA) grupos=500(marcoA) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

I don't see vboxusers listed as a group. Are you sure you are in the vboxusers group?
In terminal as su

Code: Select all

usermod -aG vboxusers <your username>
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Re: No USB devices available

Post by solinem »

thaks!
I have found the solution in the following thread:
http://www.fedora-es.com/node/7360

su -
gedit /etc/fstab

adding the following line under proc:
none /sys/bus/usb/drivers usbfs devgid=500,devmode=664 0 0
After rebooting my pc, it worked ok
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No USB devices available

Post by Perryg »

That is exactly what the link (Up about 10 posts) I sent you said to do. You must have missed it.
Post Reply