I have a similar problem but have not found a solution. VirtualBox does not detect connected USBs, whether they are mounted or unmounted. I cannot see them in order to add filters. I have a Fedora 27 (x64) host and I'm running a Windows 10 x64 guest using VitualBox 5.2.8r121009.
I've installed the Extention pack 5.2.8r121009 on my host and Guest Additions in the vm. I've also enabled USB3 xHCI controller and I know that my hardware (Thinkpad X230) supports it (in 3 of its 2 usb ports). I've also assured that my user is added to the vboxusers group.
I've tried to run the command VBoxManage list usbhost but it returns an empty list. Curiously, as an experiment I've ran the same command as root and it returns a full list of my hardware, including connected USBs, webcam, etc.
I used to be able to find and connect to usb keys with VirtualBox 5.1. I'm not sure if it was the 5.2 update or other updates internal to Fedoda 27 but it stopped working. I'm attaching my log. Any help in the right direction is greatly appreciated!
"VBoxManage list usbhost" doesn't list any USB devices
"VBoxManage list usbhost" doesn't list any USB devices
- Attachments
-
- Win10_vm.zip
- VM logs 0 to 3
- (119.13 KiB) Downloaded 87 times
Re: "VBoxManage list usbhost" doesn't list any USB devices
UPDATE
I've removed VitualBox 5.2.8r121009 and installed 5.1.34 r121010 and now VirtualBox can detect USBs and other connected devices.
Still have no idea why it couldn't detect them before. I would really like to be able to run the latest version of VirtualBox tho.
I've removed VitualBox 5.2.8r121009 and installed 5.1.34 r121010 and now VirtualBox can detect USBs and other connected devices.
Still have no idea why it couldn't detect them before. I would really like to be able to run the latest version of VirtualBox tho.
-
- Site Moderator
- Posts: 27330
- 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: "VBoxManage list usbhost" doesn't list any USB devices
- I split your post from "[Solved] Refuses to see the host USB":
- You didn't have the same problem. For starters, you don't have a forked VirtualBox.
- It's not right to hijack other people's threads, especially if they're marked as [Solved].
- The log is somewhat, to not at all important in this case. Especially 4 of them! The most important is that you post the output of "id" after a host reboot.
- Can you try with VirtualBox 5.2.6 instead and see if that's a 5.2.8 regression?
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.
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.
-
- Posts: 3
- Joined: 25. May 2018, 02:20
Re: "VBoxManage list usbhost" doesn't list any USB devices
I'm running VB 5.2.10 on Ubuntu 18.04.
I have this same problem - where "VBoxManage list usbhost" returns an empty list - when run as my normal user login.
But if I run it as root (via sudo), then it shows everything.
I never would have thought to run it as root - until I googled and found this thread.
Does this mean that I have to run my virtual machine as root in order to be able to access the host USB device(s) ?
(Surely not. Surely, this is fixable...)
I have this same problem - where "VBoxManage list usbhost" returns an empty list - when run as my normal user login.
But if I run it as root (via sudo), then it shows everything.
I never would have thought to run it as root - until I googled and found this thread.
Does this mean that I have to run my virtual machine as root in order to be able to access the host USB device(s) ?
(Surely not. Surely, this is fixable...)
-
- Site Moderator
- Posts: 27330
- 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: "VBoxManage list usbhost" doesn't list any USB devices
Did you read the link right above your post? In that link it says:Joe Schmoe wrote:I have this same problem - where "VBoxManage list usbhost" returns an empty list - when run as my normal user login.
Also read the following thread: USB basics and troubleshooting, all of the posts.Have you read about USB in the user manual (section 3.11.2)? specifically what it has to say about adding yourself to the "vboxusers" group?
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.
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.
-
- Posts: 3
- Joined: 25. May 2018, 02:20
Re: "VBoxManage list usbhost" doesn't list any USB devices
Thanks for pointing that out - section 3.11.2. However, doesn't help.
So, it still works as root, but not as me, even though I am in the vboxusers group.
Code: Select all
$ groups
username adm cdrom sudo dip plugdev lpadmin sambashare vboxusers
$ VBoxManage list usbhost
Host USB Devices:
<none>
$ sudo VBoxManage list usbhost
Host USB Devices:
UUID: b3cd66ae-d071-4801-a851-4a4234191771
VendorId: 0x8087 (8087)
ProductId: 0x0ab6 (0AB6)
Revision: 128.135 (128135)
Port: 3
etc.
Last edited by socratis on 25. May 2018, 15:28, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Reason: Enclosed the information in [code] tag for better readability
-
- Site Moderator
- Posts: 27330
- 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: "VBoxManage list usbhost" doesn't list any USB devices
Did you reboot your host?
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.
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.
-
- Posts: 3
- Joined: 25. May 2018, 02:20
Re: "VBoxManage list usbhost" doesn't list any USB devices
That turns out to be the magic bullet.socratis wrote:Did you reboot your host?
I didn't want to reboot - because, well, you know, that's supposed to be one of the great things about Linux - you don't need to reboot every time a butterfly in China flaps its wings (like you do in Windows). In general, I try to reboot my Linux machines as rarely as possible. As my mentor liked to say "Long uptimes is the sign of good system management."
But eventually, I decided that rebooting was necessary.
So, I did, and now things seem to be working. The "list usbhost" works and the USB devices show up in the menu when running my guest OS VM.
P.S. I still find it strange, though, that it didn't work before the reboot - given that I was in the group. There must be some background process or daemon running that is running as me and hence didn't get the group change (until, of course, after the reboot).
-
- Site Moderator
- Posts: 27330
- 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: "VBoxManage list usbhost" doesn't list any USB devices
You didn't have to reboot actually, just a logout/login was enough, that's when the permissions/groups are determined.
I simply wanted to ruin your uptime!
PS. I told you to read the thread: USB basics and troubleshooting, all of the posts. In there there is a note specifically for Linux users, with RED LETTERS:
I simply wanted to ruin your uptime!
PS. I told you to read the thread: USB basics and troubleshooting, all of the posts. In there there is a note specifically for Linux users, with RED LETTERS:
Turns out it wasn't *me* that ruined your uptime, it was *you* and your reading...NOTE for Linux hosts
For Linux hosts, please make sure that you are a part of the "vboxusers" group and verify your membership with the "id" command, after a logout or a reboot. Otherwise you will not see any USB devices. Also remember that only the official download from VirtualBox is supported, not your distro's.
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.
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.