Page 1 of 1

Debian Buster, VBox 6.1.16 : no usbhost access

Posted: 18. Nov 2020, 19:56
by ianco
Hello,

I am running Virtualbox on a Debain host (buster). Unfortunately, all my VM can not access to any usbhost.
yann@yco-svms:~$ uname -a
Linux yco-svms 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux
yann@yco-svms:~$ VBoxManage -version
6.1.16r140961
yann@yco-svms:~$ VBoxManage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 6.1.16
Revision: 140961
Edition:
Description: Oracle Cloud Infrastructure integration, 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:
I have tried some tips found in this forum or elsewhere without any success:
  • reinstall extpak
    reaffect my login to vboxusers group
    reboot the host

My user is in the vboxusers group.
yann@yco-svms:~$ id
uid=1000(yann) gid=1000(yann) groupes=1000(yann),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),112(bluetooth),117(lpadmin),118(scanner),126(wireshark),129(docker),131(vboxusers)
but VBoxManage list usbhost returns an empty list.
Host USB Devices:

<none>
But when I trigger the same command with a privilege elevation, it works.
yann@yco-svms:~$ sudo VBoxManage list usbhost
[sudo] Mot de passe de yann : 
Host USB Devices:

UUID: 1e39c240-3906-4bf4-8fac-7a044baf2e0f
VendorId: 0x8087 (8087)
ProductId: 0x0a2b (0A2B)
Revision: 0.1 (0001)
Port: 6
USB version/speed: 2/Full
Manufacturer: Intel Corp.
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/003
Current State: Busy

UUID: 16b53dae-dd97-410f-a7b7-c878ce5ad90f
VendorId: 0x24ae (24AE)
ProductId: 0x1813 (1813)
Revision: 1.16 (0116)
Port: 2
USB version/speed: 2/Full
Manufacturer: YICHIP
Product: Yichip 2.4G Wireless Device
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4/1-5.4.2/1-5.4.2.3/1-5.4.2.3.3//device:/dev/vboxusb/001/012
Current State: Busy

[...]

UUID: 444c8757-c60f-4949-9497-e8f08631d9c2
VendorId: 0x046d (046D)
ProductId: 0xc52b (C52B)
Revision: 18.16 (1816)
Port: 3
USB version/speed: 2/Full
Manufacturer: Logitech
Product: USB Receiver
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4/1-5.4.2/1-5.4.2.4//device:/dev/vboxusb/001/010
Current State: Busy
All dev entries point seems to have the good rights
yann@yco-svms:~$ ls -l /dev/vboxusb/00*/*
crw-rw---- 1 root vboxusers 189, 2 nov. 18 18:26 /dev/vboxusb/001/003
crw-rw---- 1 root vboxusers 189, 4 nov. 18 18:26 /dev/vboxusb/001/005
crw-rw---- 1 root vboxusers 189, 5 nov. 18 18:26 /dev/vboxusb/001/006
crw-rw---- 1 root vboxusers 189, 6 nov. 18 18:26 /dev/vboxusb/001/007
crw-rw---- 1 root vboxusers 189, 9 nov. 18 18:26 /dev/vboxusb/001/010
crw-rw---- 1 root vboxusers 189, 10 nov. 18 18:26 /dev/vboxusb/001/011
crw-rw---- 1 root vboxusers 189, 11 nov. 18 18:26 /dev/vboxusb/001/012
crw-rw---- 1 root vboxusers 189, 130 nov. 18 18:26 /dev/vboxusb/002/003
I don't understand what is wrong...
I guess a very simple thing, but ...
That's why I'm asking for your advice.
Thank you.

Re: Debian Buster, VBox 6.1.16 : no usbhost access

Posted: 22. Nov 2020, 15:45
by scottgus1
This happened once recently, in the first two or thee pages of the Linux Hosts subforum: root can see USB devices but the user could not. I vaguely remember modified permissions having something to do with it, but I can't remember completely 7f the problem was solved. This does not appear to be a common problem.

Read down the forum page, the post should be available.