Page 1 of 1
Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 15. Jan 2020, 20:02
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?
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 15. Jan 2020, 20:05
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 16. Jan 2020, 10:14
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 18. Jan 2020, 19:45
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 18. Jan 2020, 19:54
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 18. Jan 2020, 19:59
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 18. Jan 2020, 20:10
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 20. Jan 2020, 23:31
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
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 22. Jan 2020, 22:33
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.
Re: Guests on Linux Host unable to access USB devices [6.1.2]
Posted: 23. Jan 2020, 19:34
by scottgus1
The guest OS needs USB 3 drivers to use the USB 3 xHCI controller.