[Solved] Virtualbox does not see usb device

Discussions related to using VirtualBox on Linux hosts.
Post Reply
izzno
Posts: 4
Joined: 16. Aug 2017, 17:45

[Solved] Virtualbox does not see usb device

Post by izzno »

Code: Select all

[anders@yoga ~]$ sudo lsusb
[sudo] password for anders: 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp. 
Bus 001 Device 003: ID 13d3:5673 IMC Networks 
Bus 001 Device 002: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 001 Device 045: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC <-------------
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This (See arrow) does not show up as a device I can forward to my windows host. Its a basic serial port "Twig communicator". When you plug it in windows it basically shows up as a serial port. In Virtualbox I can not find it under serial ports or USB Devices. I tried changing USB from 3 (default) to 2.

System: Antergos (Arch), latest Virtualbox / Extention

Edit: VMware forwards it :(
Last edited by izzno on 17. Aug 2017, 11:43, edited 2 times 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: Virtualbox does not see usb device

Post by Perryg »

Post the following:

Code: Select all

VBoxManage list extpacks
VBoxManage list usbhost
as well as the results of id from the host terminal.
izzno
Posts: 4
Joined: 16. Aug 2017, 17:45

Re: Virtualbox does not see usb device

Post by izzno »

Thank you for answering.

Code: Select all

[anders@yoga ~]$ VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.1.26
Revision:     117224
Edition:      
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable: 
[anders@yoga ~]$ VBoxManage list usbhost
Host USB Devices:

<none>
"as well as the results of id from the host terminal." Not sure what you mean by that?

It was not made clear, but this is a windows 10 guest on a linux host.

Results are with device connected.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtualbox does not see usb device

Post by Perryg »

as well as the results of id from the host terminal.
Open a terminal on the host and type id and press enter. Then post the results here.
izzno
Posts: 4
Joined: 16. Aug 2017, 17:45

Re: Virtualbox does not see usb device

Post by izzno »

I see where youre going...

uid=1000(anders) gid=100(users) groups=100(users),10(wheel),995(docker)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Virtualbox does not see usb device

Post by Perryg »

Alright, you are not in the vboxusers group. You must be and at least a log out and in or a reboot for the permission changes to take effect.
In a host terminal run this:

Code: Select all

sudo usermod -aG vboxusers <your username>
Replace <your username> with the name you use to log in. Type your user password when prompted.


Be sure to log off and back in to finalize the change in permissions
izzno
Posts: 4
Joined: 16. Aug 2017, 17:45

Re: Virtualbox does not see usb device

Post by izzno »

Accessing host USB devices in guest
To use the USB ports of your host machine in your virtual machines, add users that will be authorized to use this feature to the vboxusers group.
Its in the arch wiki as well, cant believe I missed that. Thank you very much. I guess vmware uses the wheel group.
Post Reply