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 Comments: Trackback URL | Comments RSS

  1. 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

  2. remy Says:

    Merci pour l’info

  3. cesar Says:

    Why usb is not available anymore at VBox. I had Ubuntu 9.04 with another VBox and worked great, now oracle bought sun and things worse. Now I going to use VMware Dessktop

One Trackback

  1. June 16, 2009 : June 14th, 2009 - Technology

Post a Comment

Your email is never published nor shared. You're allow to say what you want...

Powered by sweet Captcha