Guests on Linux Host unable to access USB devices [6.1.2]

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MrPollard
Posts: 9
Joined: 1. Apr 2019, 20:43
Primary OS: Other
VBox Version: OSE other
Guest OSses: Win10(WX), Debian(64bit)

Guests on Linux Host unable to access USB devices [6.1.2]

Post by MrPollard »

Just upgraded to 6.1.2 and no usb devices from the host are being passed to the Guest, `lsusb` in the guest looks like;
https://imgur.com/a/wWWbq86
While the Devices -> USB menu is empty in the running VMs management flyout.

I have upgraded the extension pack as well as reinstalled GuestAdditions and restarted the VMs. The vast majority of my guests are Ubuntu/BSD based and all seem to exhibit the same issue.

I searched the Boards some for similar issues and it seems common on windows hosts, not so much though on Linux. Thoughts?
Attachments
RPI4 OS Builder-2020-01-15-12-59-28.log
Sample LOG
(122.27 KiB) Downloaded 10 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by scottgus1 »

First look over USB basics and troubleshooting. If steps 1-7 don't clear up the problem, provide the command outputs from step 8 as text in

Code: Select all

 tags, and zip & post the special log step 8 requests using Upload Attachment.

Pictures should also be posted using Upload Attachment. Crop & resize to show the pertinent parts, so the picture can fit under the 128kB size limit. PNG is best.
Shmu26
Posts: 99
Joined: 21. Dec 2017, 15:32

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by Shmu26 »

I have this same problem with both VB 6.0 and 6.1. My usb devices are not detected on Linux host and Windows guest. But with VB 5.2.24_Debian r128122 they are detected.
Shmu26
Posts: 99
Joined: 21. Dec 2017, 15:32

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by Shmu26 »

Shmu26 wrote:I have this same problem with both VB 6.0 and 6.1. My usb devices are not detected on Linux host and Windows guest. But with VB 5.2.24_Debian r128122 they are detected.
In my case I discovered that my user account was not a member of the vboxusers group. This was on Kubuntu 19.10. Just reporting my findings, in case someone else has the same issue.
Last edited by Shmu26 on 23. Jan 2020, 07:30, edited 1 time in total.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by scottgus1 »

Shmu26 wrote:was not a member of the vboxusers group
Thanks for the info, Shmu26! This is also mentioned in the Virtualbox manual and the USB Basics tutorial linked above.
Shmu26
Posts: 99
Joined: 21. Dec 2017, 15:32

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by Shmu26 »

scottgus1 wrote:
Shmu26 wrote:was not a member of the vboxusers group
Thanks for the info, Shmu26! This is also mentioned in the Virtualbox manual and the USB Basics tutorial linked above.
It sure is, and that is where I found it. Some distros add you to vboxusers automatically, if you install VB from their repo, and now I know that some distros do not.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by scottgus1 »

Shmu26 wrote:if you install VB from their repo
Just to let readers know, the distros that put Virtualbox in their repos also have modified Virtualbox in the past, in ways unpredictable to the forum. So forum gurus don't support distro-forked Virtualbox, they only support Virtualbox downloaded from www.virtualbox.org.
konsultnisse
Posts: 3
Joined: 20. Jan 2020, 22:54

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by konsultnisse »

I can confirm that while upgrading from VB 6.0 to 6.1 on a Ubuntu 18.04-3 host
all users were removed from the vboxusers group, and had to be manually added again for USB to be working.

see my other post in this matter..
(since I'm new at the forum, I was not allowed to post a direct link to the topic.. so just search for posts by my username...)

be aware, the user needs to log out and in again for the change to take effect.

Best regards,
konsultnisse
MrPollard
Posts: 9
Joined: 1. Apr 2019, 20:43
Primary OS: Other
VBox Version: OSE other
Guest OSses: Win10(WX), Debian(64bit)

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by MrPollard »

Yes I can confirm adding the user to the vboxusers group solved the visibility problem. However I am now able to see and connect to a usb3 device but I am unable to work with it. I.E. read data from a usb3 video source.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Guests on Linux Host unable to access USB devices [6.1.2]

Post by scottgus1 »

The guest OS needs USB 3 drivers to use the USB 3 xHCI controller.
Post Reply