DEV Community

Cover image for VirtualBox can't find USB devices in Linux host
Mir Rahed Uddin
Mir Rahed Uddin

Posted on • Updated on

VirtualBox can't find USB devices in Linux host

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 (Vice versa), in that case, you must have an active USB connection.

  2. Wifi Adapters - If you want to connect your USB dongles, external 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 at this point you have installed the 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 Linux host's 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 (8)

Collapse
isudoajl profile image
isudoajl

Crack! the solution for me was sudo usermod -aG vboxusers mir

thanks!

Collapse
gcsandesh profile image
Sandesh GC

This solved my problem. Thank You! ­čĄô

Collapse
rahedmir profile image
Mir Rahed Uddin Author

Welcome ­čśÇ

Collapse
algem63 profile image
algem63

This article really helped, thank you!

Collapse
rahedmir profile image
Mir Rahed Uddin Author

You are welcome :)

Collapse
karolzembron profile image
Karol Zembroń

work fine for me :)

Collapse
freddy_g_29c233d32bc2767f profile image
Freddy G

Thanks mate! I can stop pulling my hair out It worked

Collapse
rahedmir profile image
Mir Rahed Uddin Author

Glad to know it helped you :)