Ubuntu: Virtualbox not seeing any usb devices in the usb filters settings



Question:

I was following this question but found a problem. Use my webcam with Ubuntu running in VirtualBox

I used guvcview to test the camera, it works. I installed the 12.04 virtualbox release from their website and installed the extension pack. But when I click the usb with the green plus sign it says no devices available.

enter image description here


Solution:1

This may help you access the USB devices in your guest OS hosted in Ubuntu

First install dkms :

  • sudo apt-get install dkms

Next install Gnome-System-Tools

  • sudo apt-get install gnome-system-tools

Now launch the application - Users and Groups. If you're using unity you can do this by tapping the Super key and type user then click Users and Groups icon to start up the User Settings.

Click Manage Groups, find vboxusers, click properties, add your own user name and any other desired users to the vboxusers group. Click Ok.

Next you'll have to log out (sudo restart lightdm if you're using this DM) and back in. Now start VirtualBox and proceed with adding the USB devices.


Solution:2

This command will add your account to the vbox users group. It will allow your VirtualBox to detect USB flash drives.

sudo usermod -G vboxusers -a $USER  

$USER value is your username. You can see it with echo $USER

$ whoami  foo  $ echo $USER  foo  

You could also replace $USER by your Home username.

Then logout or reboot your computer and VirtualBox will now detect USB devices.

Sources :
Virtualbox Documentation on Ubuntu (French)
VirtualBox/USB - Community Help Wiki (English)


Solution:3

It should be enough to run

sudo gedit /etc/group  

then find vboxusers line and add to it's end Yours user name.

After this reboot is suggested, but logging out or kill -9 -1 and logging in should be enough.


Solution:4

I had the same problem with Linux Mint 17 (Ubuntu 14.04) using the standard distro version 4.3.20. gnome-system-tools and dkms were already installed but open-vm-dkms wasn't. I did this:

sudo apt-get install open-vm-dkms  

After a re-boot, I could see the USB devices. The package exists in Ubuntu 12.04 and 14.04 as well so I assume it would work there too.

Could be a dependancy problem?


Solution:5

Try this. Once in VirtualBox, click on Devices --> USB Devices --> click on your desired USB device. Do you see the desired device?

enter image description here


Solution:6

I have Ubuntu 14.04 Lts.Installed 5.0.8 version of oracle Vm and ext. pack.Tried all above solutions.I could't see my usb devices.I downgraded Oracle VM virtualbox and extention pack to 4.3.32 and worked. I am outdated but at least works.


Solution:7

My fix was simple...

I had this problem today, and I think it was because I ignored a installation warning about some virtualbox service running. I had to restart my host, but afterward the USB was broken, which brought me here.

I re-installed Virtualbox from scratch, completely removing using "Programs and Features", then installed again.

Now the USB works correctly, I have devices showing up. I had to unplug and replug one of my devices to get it to work within the client however.


Solution:8

After having added yourself to the vboxusers group:

sudo gpasswd -a $USER vboxusers  

If you naturally do not want to log out or restart for whatever reasons there are, you may run VirtualBox with a forced effective group:

sg vboxusers virtualbox  

This would be unnecessarily after next reboot.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »