Unable setup USB connection on VM

Discussions related to using VirtualBox on Linux hosts.
Post Reply
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Unable setup USB connection on VM

Post by satimis »

Hi all,

Host - Ubuntu 20.04 desktop
VM - Ubuntu 20.04 desktop

Oracle_VM_VirtualBox_Extension_Pack-6.1.28.vbox-extpack
has been installed on Host.
Guest Addition package has been installed on VM
has been installed on Host.

On Host
$ groups satimis

Code: Select all

satimis : satimis adm cdrom sudo dip plugdev lpadmin lxd sambashare vboxusers
$ lsusb

Code: Select all

Bus 003 Device 004: ID 0781:5591 SanDisk Corp. Ultra Flair
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 05fc:0231 Harman JBL Pebbles
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 045e:07b2 Microsoft Corp. 2.4GHz Transceiver v8.0 used by mouse Wireless Desktop 900
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The USB pen stick found

On VM
-> Machine - Settings -> USB
Pls refer to attached screenshot

Clicking the 2nd USB icon (on the right) showing [ No device available]

Please help. Thanks

Regards
Attachments
screenshot_usb4.png
screenshot_usb4.png (97.31 KiB) Viewed 3218 times
regulator
Posts: 1
Joined: 30. Nov 2021, 12:11

Re: Unable setup USB connection on VM

Post by regulator »

Hey, I had this same issue on Pop_OS 21.04 and it's now fixed in 21.10.. I'm guessing there could have been a kernel bug that was fixed in the 5.15 kernel perhaps
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: Unable setup USB connection on VM

Post by satimis »

regulator wrote:Hey, I had this same issue on Pop_OS 21.04 and it's now fixed in 21.10.. I'm guessing there could have been a kernel bug that was fixed in the 5.15 kernel perhaps
Thanks for your advice.

It also works here. I couldn't find out its cause. I'm running Ubuntu 20.04

Regards
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Unable setup USB connection on VM

Post by scottgus1 »

Looks like we missed this question from before. Thanks for helping, Regulator!

Satimis, is the USB problem fixed? If not, or when you have USB problems in the future, please see USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text, not screenshots. Zip and post the logs step 8 call for, using the forum's Upload Attachment tab.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: Unable setup USB connection on VM

Post by satimis »

scottgus1 wrote: - snip -

Satimis, is the USB problem fixed? If not, or when you have USB problems in the future, please see USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text, not screenshots. Zip and post the logs step 8 call for, using the forum's Upload Attachment tab.
It works OK now,

The USB drive can be read by VMs

Regards
Post Reply