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

Discussions related to using VirtualBox on Linux hosts.

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

Postby MrPollard » 15. Jan 2020, 20:02

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 6 times
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]

Postby scottgus1 » 15. Jan 2020, 20:05

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] 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.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 6186
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]

Postby Shmu26 » 16. Jan 2020, 10:14

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: 65
Joined: 21. Dec 2017, 15:32

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

Postby Shmu26 » 18. Jan 2020, 19:45

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.
Shmu26
 
Posts: 65
Joined: 21. Dec 2017, 15:32

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

Postby scottgus1 » 18. Jan 2020, 19:54

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.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 6186
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]

Postby Shmu26 » 18. Jan 2020, 19:59

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.
Shmu26
 
Posts: 65
Joined: 21. Dec 2017, 15:32

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

Postby scottgus1 » 18. Jan 2020, 20:10

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.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 6186
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]

Postby konsultnisse » 20. Jan 2020, 23:31

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
konsultnisse
 
Posts: 3
Joined: 20. Jan 2020, 22:54

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

Postby MrPollard » 22. Jan 2020, 22:33

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.
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]

Postby scottgus1 » 23. Jan 2020, 19:34

The guest OS needs USB 3 drivers to use the USB 3 xHCI controller.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 6186
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 6 guests