Results 1 to 7 of 7

Thread: Enable USB in Virtual Box OSE

  1. #1
    Join Date
    Aug 2009
    Beans
    37
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy Enable USB in Virtual Box OSE

    Hi everyone,
    I just need some help with enabling USB in my virtual box(3.0.8_OSE). I have installed windows XP in my virtual box and everything works perfectly except the USB ports. i saw some of the articles were mentioned about uncomment some lines of the below file.

    sudo gedit /etc/init.d/mountdevsubfs.sh
    but it didn't work for me because /etc/init.d/mountdevsubfs.sh is an empty file . If you have had any success with the OSE version and USB, please let us know.Thanks..

  2. #2
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Enable USB in Virtual Box OSE

    Quote Originally Posted by dilantha View Post
    If you have had any success with the OSE version and USB, please let us know.
    As far as I am aware, only the PUEL version of Virtualbox has support for USB, not the OSE version in the repository.

    http://www.virtualbox.org/wiki/Editions

  3. #3
    Join Date
    Feb 2006
    Beans
    5,714

    Re: Enable USB in Virtual Box OSE

    Virtualbox OSE does not support using USB devices. You need the closed source edition

    http://www.virtualbox.org/wiki/Editions
    Debian Testing(64bit) + XFCE4 AM2 5200+ ATI Radeon HD4350, 4gig RAM,320Gig and 750gig HDs

    what's the difference between an answer and a solution? An answer is what they want to hear, a solution is what they don't want to hear

  4. #4
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Enable USB in Virtual Box OSE

    Hi dilantha,

    As previous posters have pointed out you need the Puel edition rather than OSE. Mind you I run the OSE version and I access my usb external drive from the guest OS by the simple hack of placing a symbolic link to the drive into a shared folder. A nice little trick?

    All the best,

    Andrew
    You think that's air you're breathing now?

  5. #5
    Join Date
    Aug 2009
    Beans
    37
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Enable USB in Virtual Box OSE

    Quote Originally Posted by howefield View Post
    As far as I am aware, only the PUEL version of Virtualbox has support for USB, not the OSE version in the repository.

    http://www.virtualbox.org/wiki/Editions
    Hi,
    ..Well then i will have to remove my existing virtual box and reinstall the PUEL version..But any way thanks a lot for your help..

  6. #6
    Join Date
    Aug 2009
    Beans
    37
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Enable USB in Virtual Box OSE

    Quote Originally Posted by andrew.46 View Post
    Hi dilantha,

    As previous posters have pointed out you need the Puel edition rather than OSE. Mind you I run the OSE version and I access my usb external drive from the guest OS by the simple hack of placing a symbolic link to the drive into a shared folder. A nice little trick?

    All the best,

    Andrew
    Hi Andrew,

    Yeah..That's a cool trick. Thanks a lot..But when it comes to USB devices like Web cam ect.. i think its better to go for Puel edition. anyway Thanks a lot guys..really appreciate your help..

  7. #7
    Join Date
    Jan 2005
    Beans
    63

    Re: Enable USB in Virtual Box OSE

    @andrew.46

    Thanks for this tip. The web is minging with "knowledgable" replies about you can't do it and I was sure there must be a work around.

    You are not very explicit but am I right in thinking that you mean that you have to set up a directory to be shared between the VM and the host then mount the USB device and create a symlink on the host system?

    I'm sure there must be some trick with pipes and redirection to get other devices to work too. I'm just having trouble filtering out the millions of search results for people who did not read the basic difference between the OS and closed source versions.

    The added benefit of the OSE version is it has VNC server which PUEL can't use because of license conflicts.

    Disks and USB sticks are an obvious need , usb printers are another. I suppose one option would be to print to a file in a shared directory and the reprint it from CUPS on the host.

    Obviously Sun (now Oracle) are using this pretty fundament lack of function to differentiate their marketing strategy but I'm surprised no one had simply written an opensource VB kernel module or whatever is needed to get this functionality added.

    Since there is full source for OSE and the std USB stuff it would not seem like an insurmountable problem. I'm sure some hacker must have done it it just for the fun.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •