no USB device available

Discussions related to using VirtualBox on Linux hosts.
Post Reply
fbusse
Posts: 29
Joined: 26. Aug 2007, 16:22
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP

no USB device available

Post by fbusse »

I have installed VirtualBox from the Oracle sources, including Guest Additions and Extension Pack (all v4.2.12 r84980), and I'm member of vboxusers, host is Lubuntu 12.04 (precise), guest is a fresh XP Home/SP2.

USB-devices connected to the host (and correctly recognized, and usable) are not recognized by VirtualBox: According to the guests' devices menu no USB device is connected (German version: "Kein USB-Gerät angeschlossen").

Any idea where I should have a closer look at?
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 device available

Post by Perryg »

Did you log off or reboot the host after you added your name to the vboxusers group?
fbusse
Posts: 29
Joined: 26. Aug 2007, 16:22
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP

Re: no USB device available

Post by fbusse »

Perryg wrote:Did you log off or reboot the host after you added your name to the vboxusers group?
Sorry, I forgot to mention that: Yes, I finished the install (including adding myself to vboxusers) some days ago, and even shut down and freshly started the system several times.
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 device available

Post by Perryg »

Post the results of the following from a terminal

id
VBoxManage list usbhost
VBoxManage list extpacks
fbusse
Posts: 29
Joined: 26. Aug 2007, 16:22
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP

Re: no USB device available

Post by fbusse »

Perryg wrote:id

Code: Select all

uid=501(myname) gid=500(users) Gruppen=500(users),4(adm),21(fax),24(cdrom),46(plugdev),110(lpadmin),112(admin),113(netdev),114(sambashare),127(vboxusers)
Perryg wrote:VBoxManage list usbhost

Code: Select all

Host USB Devices:
<none>
Perryg wrote:VBoxManage list extpacks

Code: Select all

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      4.2.12
Revision:     84980
Edition:      
Description:  USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with E1000 support.
VRDE Module:  VBoxVRDP
Usable:       true 
Actually, a USB stick is currently mounted (and usable): "mount | grep media" says

Code: Select all

/dev/sdb1 on /media/DISK_IMG type vfat (rw,nosuid,nodev,uid=501,gid=500,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
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 device available

Post by Perryg »

Where do you get your version of VirtualBox?
fbusse
Posts: 29
Joined: 26. Aug 2007, 16:22
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP

Re: no USB device available

Post by fbusse »

Perryg wrote:Where do you get your version of VirtualBox?
from the Oracle source (as mentioned in the original post), i.e.

Code: Select all

http://download.virtualbox.org/virtualbox/debian
fbusse
Posts: 29
Joined: 26. Aug 2007, 16:22
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP

Re: no USB device available

Post by fbusse »

still unsolved, but at least, after a hint from a friend, it seems that I'm stepping closer...

USB devices are smoothly available when running VB as root: Obviously, as a normal user, I'm lacking necessary access rights.

After manually (temporarily) adding to the fuse group, USB devices show up in "VBoxManage list usbhost", but still as "unavailable". (In "sudo VBoxManage list usbhost", the same device is marked "busy".)

Inserting a filter for a USB device has no visble effect.

Any ideas, anybody out there?

[German language crossposting]
mbair
Posts: 1
Joined: 28. May 2016, 17:39

Re: no USB device available

Post by mbair »

And in addition the being a member of vboxusers group, you will need the udev rule /etc/udev/rules.d/60-vboxdrv.rules that makes usb devices available to vboxusers. This set of rules should have been installed by the VirtualBox installer.
Post Reply