Windows VM can't access USB devices from host

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Jeff Bourdeau
Posts: 38
Joined: 17. Dec 2017, 18:53

Windows VM can't access USB devices from host

Post by Jeff Bourdeau »

Guest WIn 10 GUest Addition 5.1.34
Host : Ubuntu 17.10 VB 5.1.34

Trying to access USB devices from the guest VM and can't

Logitech USB HeadSet, USB Stick, Garmin GPS

No USB devices are accessible...

JF
Fummeleisen
Posts: 6
Joined: 29. Mar 2018, 11:32

Re: Windows VM can't access USB devices from host

Post by Fummeleisen »

Hi Jeff,

did You try on Ubuntu:
sudo adduser <user name> vboxusers
shutdown -r now

F.
Jeff Bourdeau
Posts: 38
Joined: 17. Dec 2017, 18:53

Re: Windows VM can't access USB devices from host

Post by Jeff Bourdeau »

I don't see such a group name on the host or Guest VM... I supposed you meant on the guest VM ?
I do have vboxsf and did had the user in that group for the Folder Sharing to work ( and it did)

tks !

JF
Fummeleisen
Posts: 6
Joined: 29. Mar 2018, 11:32

Re: Windows VM can't access USB devices from host

Post by Fummeleisen »

No, the group 'vboxusers' must be on the host system. Normally it's automaticly produced by installing VirtualBox.

Please try the following: On the host system (Ubuntu) please
- close all programs, incl. VB,
- open a terminal and let run the command without brackets:
"groups $USER".
- If in the result the group 'vboxusers' is not indicated, please run /without brackets):
"sudo addgroup vboxusers".
- If successfully, then run:
"sudo adduser $USER vboxusers"
"shutdown -r now"
F.
Jeff Bourdeau
Posts: 38
Joined: 17. Dec 2017, 18:53

Re: Windows VM can't access USB devices from host

Post by Jeff Bourdeau »

Will try tks ! ( create it as it was not created)
JF
Jeff Bourdeau
Posts: 38
Joined: 17. Dec 2017, 18:53

Re: Windows VM can't access USB devices from host

Post by Jeff Bourdeau »

I recently reinstalled my machine, with a new version of VB (and ubuntu 18.04) and the vboxusers group was there

VM can now see some USB accessories

If for example, the VM can't see a USB stick or my headset, do you have any ideas why ?

IT can see my webcam though...

tks !!

JF
Fummeleisen
Posts: 6
Joined: 29. Mar 2018, 11:32

Re: Windows VM can't access USB devices from host

Post by Fummeleisen »

please try this on host-terminal:
lsusb
Every device, that is no hub, the VB client must indicate too.

F.
Jeff Bourdeau
Posts: 38
Joined: 17. Dec 2017, 18:53

Re: Windows VM can't access USB devices from host

Post by Jeff Bourdeau »

jedi@jedi-HP-Compaq-8200-Elite-SFF-PC:~$ lsusb
Bus 002 Device 004: ID 062a:4102 Creative Labs
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 046d:0a37 Logitech, Inc. USB Headset H540
Bus 001 Device 004: ID 03f0:5912 Hewlett-Packard Officejet Pro 8600
Bus 001 Device 003: ID 046d:0826 Logitech, Inc. HD Webcam C525
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows VM can't access USB devices from host

Post by socratis »

Please read the following thread: USB basics and troubleshooting, all of the posts. If you still have a problem after reading through the whole thing, please follow the advice of the last post, #8: Asking for help and post the information requested.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Jeff Bourdeau
Posts: 38
Joined: 17. Dec 2017, 18:53

Re: Windows VM can't access USB devices from host

Post by Jeff Bourdeau »

Tks!!
Will do
JF
Post Reply