VirtualBox USB device error NS_ERROR_FAILURE (0x80004005) on Ubuntu 14.04 x64 VirtualBox 4.3

23,130

Solution 1

USB devices can either be used on your host OS or guest OS, but not shared between both. Whatever captures the USB device first, will block communication for the other system.

You should have the VirtualBox extensions pack installed, which enables USB 2.

Then you need to install the VirtualBox guest additions in your virtual machine.

Next you need to start the VM, go into the machine settings and choose Ports/USB. Then select the + icon and add the USB device.

Solution 2

In case somebody bumps to this in the future. It may be that the required packages are not among dependencies. In my case, running through the terminal throws:

WARNING: The character device /dev/vboxdrv does not exist.

Installing virtualbox-dkms solved my problem.

sudo apt-get install virtualbox-dkms
Share:
23,130

Related videos on Youtube

krishnab
Author by

krishnab

Grad student at UCLA.

Updated on September 18, 2022

Comments

  • krishnab
    krishnab over 1 year

    I have been trying to connect my new Boogie Board sync to a virtualbox 4.3 virtual machine running on an ubuntu 14.04 host. I keep running into this NS_ERROR_FAILURE (0x80004005) and have not been able to resolve it, despite trying it a number of different ways.

    Note I did look up a few different existing posts, but they did not help. The issues are different than the one that I am running into and the software versions are different too. But here are the ones I looked at.

    Virtualbox does not run: NS_ERROR_FAILURE

    What is holding my USB device when I try to use it in VirtualBox?

    The error message I get says

    Failed to attach the USB device Improv Electronics Sync [0120] to the virtual machine        
    IE11 - Win8.1_1. Failed to create a proxy device for the USB device. (Error:     
    VERR_READ_ERROR).
    

    The message details indicate

    Result Code: 
    NS_ERROR_FAILURE (0x80004005)
    Component: Console
    Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
    

    Note I am using the Windows 8.1 virtual machine from Microsoft, but I don't believe that makes any difference.

    Things I have tried:

    1. enabled USB controller on the virtualbox manager with the EHCI controller.
    2. tried enabled USB controller without the EHCI controller.
    3. tried to rebuild the virtualbox image from scratch.
    4. added myself to the vboxusers group.

    None of this has seemed to work.

    Any suggestions?

  • Khaled AbuShqear
    Khaled AbuShqear about 5 years
    Error: Unable to find a match
  • Copper
    Copper about 5 years
    Really? There should still be such a package: packages.ubuntu.com/…
  • seanbreeden
    seanbreeden almost 5 years
    Works for me still.
  • problemofficer - n.f. Monica
    problemofficer - n.f. Monica over 4 years
    I also needed to install virtualbox-ext-pack and then could use USB 3.0