enable usb in virtualbox

First of, bad news, usb support is NOT available on virtualbox-ose (ose = open-source-edition) => you will need the closed source version.

Good news is that it’s still free for personal use.

  1. download and install full virtualbox closed source version:  http://www.virtualbox.org/wiki/Linux_Downloads
  2. remove conficting virtualbox-ose (if already installed): sudo apt-get remove virtualbox-ose
  3. install downloaded file: sudo dpkg -i <path_to_downloaded_file>/virtualbox*.debNOTE: At the end of package installation, I had the following error message:

    * Starting VirtualBox kernel module
    * modprobe vboxnetflt failed. Please use ‘dmesg’ to find out why

    dmesg returned the following errors:

    [ 1305.319993] vboxnetflt: disagrees about version of symbol SUPDrvLinuxIDC
    [ 1305.319997] vboxnetflt: Unknown symbol SUPDrvLinuxIDC

    Solution for this was to run: sudo /etc/init.d/vboxdrv setupand then reinstall .deb package

  4. now follow instructions as listed in this post: http://www.davidgrant.ca/virtualbox_usb_windows_xp_guest_ubuntu_hardy
  5. Run virtualbox: Virtualbox &
  6. click on your virtual machine / settings / usb (on left menu)
    1. activate usb support
    2. enable ehci (usb 2.0) support (without it usb keys were not recognized at all)
    3. clik add (right icons) to add corresponding usb devices (this will save you from manually enabling/disabling them each time you plug them in)
  7. save changes, start your virtual machine and enjoy usb ports!

NOTE: usb devices did not work properly until I installed virtualbox guest additions and rebooted

sources

3 Responses to “enable usb in virtualbox”

  1. [...] enable usb in virtualbox « Willing wheelsBy remy download and install full virtualbox closed source version: http://www.virtualbox.org/wiki/Linux_Downloads; remove conficting virtualbox-ose (if already installed): sudo apt-get removevirtualbox-ose; install downloaded file: sudo dpkg …Willing wheels – http://www.qc4blog.com/ [...]

  2. arnaud59 says:

    Après plusieurs essais infructueux, je me suis rendu compte qu’un paquet ose était resté. Après l’avoir désisnstaller cela a fonctionné.

    En espérant que cela vous soit utile.

    Arnaud

  3. remy says:

    Merci pour l’info

Leave a Reply