I cannot see any USB devices within my VirtualBox guest VMs from my host. How do I enable access for my guest VMs?

|
I cannot see any USB devices within my VirtualBox guest VMs from my host. How do I enable access for my guest VMs? |
|||
|
|
|
In order to enable access to these devices you'll need to add your username to the group
Example
You can confirm the change afterwards:
After doing the above you'll want to logout and log back in, so that for the newly added group to get picked up by your user account. Then from the VirtualBox GUI you'll be able to right click on the USB icon in the lower right group of icons, and select whatever USB devices you want to give control over to your running guest VM. Detecting USB devicesYou can use VirtualBox's little known command line tool VBoxManage to list out the USB devices that are accessible. This is a good way to also confirm that the group addition made above to your username are being picked up correctly. Examplewithout group
with group
References |
|||||||||||||||||||||
|
|
I changed the following and that worked for me Make sure that the extension pack is installed In VirtualBox in the settings of the VM Go to Ports and then to USB (based on a Macbook) Enable USB controller Enable USB 2.0 controller And this did the trick: add an empty filter (on the right there's a button for it) Without the empty filter USB was not recognized in the VM But once I added an empty filter USB works fine now. |
|||
|
|
|
This may be useful sometimes. Though not related directly to the question above, this may be a follow up issue once USB is detected in VirtualBox but not shown in guest os. I followed many blogs to make my USB enabled on Virtual Box (~5.0.28?) on Mac for Windows 7 Pro. Things that I did but USB not detected1.I did install the same compatible extension pack for USB for virtualbox 2. Enabled USB 3.0 in Virtual Box Manager (Tried 2.0 though I was sure I had 3.0 port/usb) 3. Ejected USB from native OS (Mac OSX) 4. Tried with enabling filter from Virtual Box Manager (also tried to manually select the USB from the usb listed at the bottom of virtual box) 5. From Device Manager I tried to detect it but the driver search failed. (Network was working and no firewall) What worked
Now my usb was detected (given you did the first part above as well) NOTE: I also installed VirtualBox Guest Additions for share between mac/windows but don't think its related. |
||||
|
|
|
Try this..I'm using Fedora 25 as virtual guest in VirtualBox v 5.1.16. At guest OS terminal ..
Then install VirualBox Guest additions, log off and log in back. USB is able to detect for me after executing below command at admin prompt:
Then log off and log in back, And navigate to menu bar Devices -> USB -> add USB by selecting Sometimes a Reboot of guest OS may require.. |
||||
|
|