Page 1 of 1

No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 6. Jul 2018, 18:03
by Skateboard
I had a working Windows 10 virtual machine on my Arch Linux host about a week ago. Suddenly, VirtualBox stopped recognizing that there were attached USB devices. I've run through all the troubleshooting found in these forums, and I have verified my user is in the vboxusers group. I've shut down my VM, rebooted my host, and even logged out and back into my host. I was able to set up some USB Device Filters last week, and everything worked well. Now, I tried deleting some of the filters, but it doesn't find any USB devices to allow me to set up filters again.

Here is my configuration:
VirtualBox 5.2.14 r122571
Host: Linux XPS-13 4.17.3-1-ARCH
VBoxManage -version

Code: Select all

5.2.14r122571
VBoxManage list extpacks

Code: Select all

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.2.14
Revision:     123301
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: 
VBoxManage list usbhost

Code: Select all

Host USB Devices:

<none>

Although, if I run this with sudo I get the following:

Code: Select all

Host USB Devices:

UUID:               baa50507-113b-4459-bf68-9a80f7540877
VendorId:           0x27c6 (27C6)
ProductId:          0x5385 (5385)
Revision:           1.0 (0100)
Port:               9
USB version/speed:  2/Full
Manufacturer:       HTMicroelectronics
Product:            Goodix Fingerprint Device 
SerialNumber:       HTK32
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10//device:/dev/vboxusb/001/006
Current State:      Busy

UUID:               9e62ac81-ff4b-42e8-887e-5e9c83d84e41
VendorId:           0x2109 (2109)
ProductId:          0x0100 (0100)
Revision:           3.0 (0300)
Port:               1
USB version/speed:  2/High
Manufacturer:       VIA Technologies Inc.         
Product:            USB 2.0 BILLBOARD             
SerialNumber:       0000000000000001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/0000:04:02.0/0000:39:00.0/usb3/3-2//device:/dev/vboxusb/003/002
Current State:      Available

UUID:               081eb32c-3dd3-44ea-b441-d59ed664d8e3
VendorId:           0x0bda (0BDA)
ProductId:          0x58f4 (58F4)
Revision:           114.121 (114121)
Port:               4
USB version/speed:  2/High
Manufacturer:       CN0FFMHCLOG00829B05XA01
Product:            Integrated_Webcam_HD
SerialNumber:       200901010001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/003
Current State:      Busy

UUID:               1bfbad31-221a-49ee-9cbe-d4fc13f258e1
VendorId:           0x0489 (0489)
ProductId:          0xe0a2 (E0A2)
Revision:           0.1 (0001)
Port:               6
USB version/speed:  1/Full
Manufacturer:       Foxconn / Hon Hai
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               a81d8231-0e01-464b-ab54-593b97ef3c57
VendorId:           0x0424 (0424)
ProductId:          0x7500 (7500)
Revision:           1.0 (0100)
Port:               0
USB version/speed:  2/High
Manufacturer:       WS
Product:            USB Gigabit LAN
SerialNumber:       000000007f
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.1//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               aa3025a4-c284-4732-a07f-80599c933349
VendorId:           0x0403 (0403)
ProductId:          0x6001 (6001)
Revision:           6.0 (0600)
Port:               2
USB version/speed:  2/Full
Manufacturer:       FTDI
Product:            FT232R USB UART
SerialNumber:       A105ZHC8
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4.3//device:/dev/vboxusb/001/011
Current State:      Busy
VBoxManage list usbfilters

Code: Select all

Global USB Device Filters:

<none>

VBoxManage showvminfo "<Your_Virtual_Machine_Name>"

Code: Select all

Name:            Windows 10
Groups:          /
Guest OS:        Windows 10 (64-bit)
UUID:            e13d37b7-e4a3-4606-9dfc-1218898106f4
Config file:     /home/user/VirtualBox VMs/Windows 10/Windows 10.vbox
Snapshot folder: /home/user/VirtualBox VMs/Windows 10/Snapshots
Log folder:      /home/user/VirtualBox VMs/Windows 10/Logs
Hardware UUID:   e13d37b7-e4a3-4606-9dfc-1218898106f4
Memory size:     8016MB
Page Fusion:     off
VRAM size:       256MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  4
PAE:             off
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          off
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: HyperV
State:           powered off (since 2018-07-06T15:43:01.523000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: on
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
SATA (0, 0): /home/user/VirtualBox VMs/Windows 10/Snapshots/{fe0dce9a-74f7-4330-b563-f17e60dbfd0a}.vdi (UUID: fe0dce9a-74f7-4330-b563-f17e60dbfd0a)
SATA (1, 0): /home/user/.config/VirtualBox/VBoxGuestAdditions_5.2.14.iso (UUID: 5284b98f-1bca-49ac-82f6-01f56964f297)
NIC 1:           MAC: 0800277A7D90, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: PulseAudio, Controller: HDA, Codec: STAC9221)
Audio playback:  disabled
Audio capture: enabled
Clipboard Mode:  Bidirectional
Drag and drop Mode: Bidirectional
VRDE:            disabled
USB:             disabled
EHCI:            disabled
XHCI:            enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             HTMicroelectronics Goodix Fingerprint Device [0100]
VendorId:         27c6
ProductId:        5385
Revision:         0100
Manufacturer:     HTMicroelectronics
Product:          Goodix Fingerprint Device 
Remote:           0
Serial Number:    HTK32

Index:            1
Active:           yes
Name:             CN0FFMHCLOG00829B05XA01 Integrated_Webcam_HD [7279]
VendorId:         0bda
ProductId:        58f4
Revision:         7279
Manufacturer:     CN0FFMHCLOG00829B05XA01
Product:          Integrated_Webcam_HD
Remote:           0
Serial Number:    200901010001

Bandwidth groups:  <none>

Shared folders:  

Name: 'Backup', Host path: '/home/user/Backup' (machine mapping), writable

Guest:

Configured memory balloon size:      0 MB

Snapshots:

   Name: Snapshot 1 - Clean Install (UUID: c1785f7a-92bd-422c-922c-fd05c6e9dc77)
   Description:
A new set up.
      Name: Snapshot 2 (UUID: 15d16dea-7535-4426-a5db-fadc9f95b3d2)
      Description:
         Name: Snapshot 3 (UUID: 1b3701cc-5c84-4602-85ab-28684c29fa8a) *
         Description:

Re: No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 8. Jul 2018, 16:07
by socratis
Skateboard wrote:Although, if I run this with sudo I get the following:
You didn't logout/login again. Putting yourself in the vboxusers group needs to be followed by a logout or a reboot.

Re: No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 9. Jul 2018, 00:31
by Skateboard
Actually, I did logout and log back in again. It did not help.

Re: No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 9. Jul 2018, 01:30
by socratis
Then I don't know of any reason that it wouldn't let you do that.

Wait a minute... I just noticed a discrepancy in your VirtualBox versions: 122571 for the main, vs 123301 for the ExtPack. Where did you get them from? Why is your main program lagging? Is this the Arch version?

Re: No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 10. Jul 2018, 16:59
by Skateboard
I don't recall where I got the main program from, but I suspect it was the Arch version. I've removed it and installed the latest version of both, and the problem continues.

Re: No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 25. Jul 2018, 09:18
by calcumat
I have the same problem (i've used USB in VirtualBox for many years, now it's suddenly not working):

VBoxManage -version = 5.2.16r123759 (but I don't think it's version dependent)
Host OS = Kubuntu 16.04 LTS 4.4.0-131-generic #157-Ubuntu SMP x86_64
Guest OS = Windows 7, but it doesn't matter...
VBoxManage list extpacks = Extension Packs: 0
VBoxManage list usbhost = Host USB Devices: <none>
VBoxManage list usbfilters = Global USB Device Filters: <none>

I'm in vboxusers group, but - this is a bit strange and I think it's the source of problem:
$ id
uid=1000(calcumat) gid=1000(calcumat) groups=1000(calcumat)

$ groups
calcumat

!But, when I try this:
$ id calcumat
uid=1000(calcumat) gid=1000(calcumat) groups=1000(calcumat),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),112(lpadmin),120(scanner),122(saned),123(sambashare),124(vboxusers)

$ groups calcumat
calcumat : calcumat adm dialout cdrom sudo dip plugdev lpadmin scanner saned sambashare vboxusers


On other host, when I run just "id" or "groups", I get complete list of (my) groups (and there is also no problem with USB in VirtualBox...). So maybe it's not primary VirtualBox problem...
But on both hosts: dpkg -s coreutils = Architecture: amd64 , Multi-Arch: foreign , Version: 8.25-2ubuntu3~16.04 (same version of coreutils).


Have anoyne some advice?

Re: No USB Devices Recognized (and I am listed in vboxusers group!)

Posted: 25. Jul 2018, 09:46
by calcumat
Well, funny and strange, but I have a workaround - just open terminal, then:

$ su - calcumat {my username}
Password: {entered my pass}
$ id
uid=1000(calcumat) gid=1000(calcumat) groups=1000(calcumat),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),112(lpadmin),120(scanner),122(saned),123(sambashare),124(vboxusers)
$ VirtualBox

:) and USB devices are visible and working in VBox. So, it's something with groups determination.