DEV Community

loading...
Cover image for VirtualBox can't find USB devices in Linux host

VirtualBox can't find USB devices in Linux host

Mir Rahed Uddin
Love Technical Writing, Interested in technology.
Updated on ・2 min read

This is the common problem I have seen in almost every Linux distros (especially Debian based distros. Such as Linux Mint, Ubuntu, POP OS, etc), that VirtualBox unable to find USB devices connected to the host OS, even you installed the VirtualBox Extension Pack.


Usb List

What are the needs to have USB support for Virtual Machines?

  1. Data Transfer - Suppose you want to create a backup of your Virtual Machine, or just want to transfer data from your Pen drive to Virtual Machine, in that case, you must have an active USB connection.

  2. Wifi Adapters - If you want to connect your USB dongles, Wifi adapter to your Virtual Machines, you need USB support.

How to enable USB support for your Virtual Machines?

Solution 1

Extensions Pack

Check if you already installed an extension pack or not?

Steps

Open VirtualBox ---> Click on File menu ---> Preferences (Ctrl+G) ---> Extensions tab


VirtualBox Ext Pack


If you don't find any installed extension pack, go to the VirtualBox download page (https://www.virtualbox.org/wiki/Downloads) and look for Oracle VM VirtualBox Extension Pack, download and installed it. (Extension Pack must be the same version of your VirtualBox)
[If you don't know what is your's VirtualBox version, just click on Help menu ---> About VirtualBox]

I hope you installed VirtualBox Extension Pack successfully.

Now select your Virtual Machine ---> Right-click on it and choose Settings (Ctrl+S). ---> Come to the USB tab. Check on Enable USB controller and select USB 2.0 (EHCI) Controller or USB 3.0 (xHCI) Controller, any one of them (By default USB 1.1 (OHCI). Now click on Add USB icon.


Add USB

If you don't find any active USB list, follow the Solution 2

Solution 2

Add user to the vboxusers group

i. Open your terminal, type sudo su, and enter your account password.


SUDO


ii. Type the following command sudo usermod -aG vboxusers mir (In the last command, instead of mir use your account name such as nick, peter, etc.)


Add Vboxusers


iii. Finally, reboot your PC and check the USB settings again.

Watch on YouTube

Thank you very much for reading :)

Coffee https://www.buymeacoffee.com/rahedmir

Discussion (0)