Tag Archives: virtualbox

Unavailable USB devices on VirtualBox 2

0
Filed under Applications
Tagged as

I’ve been facing an annoying issue to use my USB devices on a VirtualBox guest system (on a Kubuntu host). The problem was that the devices were listed but I couldn’t use them – they were “unavailable”.

unavailable USB devices on VirtualBox list

Just to confirm, I ran this command on a shell:

VBoxManage list usbhost

(if you run this too, make sure that your devices aren’t busy)

After some research and a talk in some IRC channels, I found out what I just suspected: it was just a permission issue.

Some deeper look ups and I found two simple possible ways to solve this

  1. [try this one first] Add yourself to the vboxusers group.
    sudo usermod -a -G vboxusers $USER

    After this, log out then log back in to the change take effect. Don’t need to restart you system. Now the USB devices may be available on VirtualBox.

  2. Change permissions to the device address

    The previous solution must work, but anyway, here’s an alternative solution. Has some security disadvantages, though.

    • Run this: VBoxManage list usbhost and copy the address of your device. It may begin with /dev or /proc and end with a number (like 003.
    • Set read+write permission to the address:
      chmod 777 /dev/address
    • Then turn on your guest OS on and you might see your USB device available.

Hope it solve the problem. =]