LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 07-19-2010, 05:05 PM   #1
skola
Member
 
Registered: Nov 2009
Posts: 66

Rep: Reputation: 19
Which current distro gives virtualbox access to usb?


Dead simple.

Which current up-to-date distro with kernel 2.6.2x or 2.6.3x (as supplied or from repo update) will allow VirtualBox access to usb and those devices already available on the host?

If it matters, the VirtualBox doesn't have to be current - no 3.x versions.

p.s. I shouldn't have to say this but, you know, a distro that when you want to start the vbox "settings" doesn't bring up a wee box with "usb_proxy not found" etc, etc.
 
Old 07-19-2010, 05:14 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,918

Rep: Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049
There are two versions of VirtualBox: PUEL and OSE.

The PUEL version is required for USB access (OSE does not support it).

VirtualBox PUEL will run on any Linux distro and is available here: http://www.virtualbox.org/wiki/Linux_Downloads

Also, it is always a good idea to read the documentation: http://www.virtualbox.org/manual/ch03.html#id2617879

Last edited by snowpine; 07-19-2010 at 05:16 PM.
 
Old 07-19-2010, 05:57 PM   #3
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by snowpine View Post
There are two versions of VirtualBox: PUEL and OSE.

The PUEL version is required for USB access (OSE does not support it).

VirtualBox PUEL will run on any Linux distro and is available here: http://www.virtualbox.org/wiki/Linux_Downloads

Also, it is always a good idea to read the documentation: http://www.virtualbox.org/manual/ch03.html#id2617879

oh dear, in the nicest way, please re-read.
 
Old 07-19-2010, 07:12 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
It doesn't matter which distro you choose, just use the PUEL version of Virtualbox.
 
Old 07-20-2010, 02:23 AM   #5
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
It most certainly does matter.

Let's see. Someone who has never used VirtualBox before sees it's available from his distro repo - VirtualBox OSE. It installs ok and he runs it and goes into the settings for his vm. There is no setting for usb therefore VBox does _not need_ access to usb. No messages, no problem, no matter the distro version.

He might then post a q somewhere asking _about VirtualBox_.

At the risk of repeating myself :-)

VBox up and running, engage the settings to have usb and devices available because it's there and expected, but no. A message box says no usb. Well it works ok on an older distro so why not on this current one?

Cue question in forum:
Which current up-to-date distro with kernel 2.6.2x or 2.6.3x (as supplied or from repo update) will allow VirtualBox access to usb
 
Old 07-20-2010, 02:45 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
The OSE version does not do usb. Download and install the PUEL version.
Grab the version from the website. That is the only one with USB support, as well as other features like VRDP and RAW Disk Access.

Linux_Downloads - VirtualBox
Quote:
Please choose the appropriate package for your Linux distribution:

* Ubuntu 10.04 ("Lucid Lynx") i386 | AMD64
* Ubuntu 9.10 ("Karmic Koala") i386 | AMD64
* Ubuntu 9.04 ("Jaunty Jackalope") i386 | AMD64
* Ubuntu 8.04 LTS ("Hardy Heron") i386 | AMD64
* Debian 5.0 ("Lenny") i386 | AMD64
* Debian 4.0 ("Etch") i386 | AMD64
* openSUSE 11.1 / 11.2 i386 | AMD64
* openSUSE 11.0 i386 | AMD64
* SUSE Linux Enterprise Server 11 (SLES11) i386 | AMD64
* SUSE Linux Enterprise Server 10 (SLES10) i386 | AMD64
* Fedora 13 ("Goddard") i386 | AMD64
* Fedora 12 ("Constantine") i386 | AMD64
* Fedora 11 ("Leonidas") i386 | AMD64
* Fedora 9 ("Sulphur") / 10 ("Cambridge") i386 | AMD64
* Mandriva 2009.1 / 2010.0 i386 | AMD64
* Red Hat Enterprise Linux 5 ("RHEL5") / Oracle Enterprise Linux 5 ("OEL5") / CentOS 5 i386 | AMD64
* Red Hat Enterprise Linux 4 ("RHEL4") / Oracle Enterprise Linux 4 ("OEL4") / CentOS 4 i386
* Turbolinux 11 i386 | AMD64
* All distributions i386 | AMD64
If you are running Debian or Ubuntu you can add the repository rather than downloading the .deb package.

Quote:
Debian-based Linux distributions

Add one of the following lines according to your distribution to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian lucid non-free
deb http://download.virtualbox.org/virtualbox/debian karmic non-free
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
deb http://download.virtualbox.org/virtualbox/debian hardy non-free
deb http://download.virtualbox.org/virtualbox/debian lenny non-free
deb http://download.virtualbox.org/virtualbox/debian etch non-free
VirtualBox/USB - Community Ubuntu Documentation
Quote:
Note: Only the non-free version has USB support at present.
VirtualBox - Wikipedia, the free encyclopedia
Quote:
In the proprietary edition (not in the open-source edition), a USB controller is emulated (both USB 1.1 and USB 2.0) so that any USB devices attached to the host can be seen in the guest. If VirtualBox acts as an RDP server, it can also use USB devices on the remote RDP client as if they were connected to the host.

Last edited by craigevil; 07-20-2010 at 02:48 AM.
 
Old 07-21-2010, 09:03 AM   #7
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
hmmm, a sincere appreciation of your willingness to help.

But why are you going on about VBox versions when I've made the point it's to do with the distro?

The thread Title structure is deliberate, placing the nouns differently would have another meaning.

If the VBox version that _uses_ usb, provides filters, and _expects_ cooperation from the distro subsystem does not get it and shows up an error box with, roughly, "no usb proxy, verr file not found" then it's down to the distro.

We all _know_, or it should be a big clue as I hinted in my last post when people get OSE from their repo and see that there is no usb entry in the vm settings, which version uses usb.

Unless people here are using an older distro/kernel with their _non-ose_ VBox, which I know from experience works admirably, then I'd really like to know.
 
Old 07-21-2010, 09:16 AM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,918

Rep: Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049Reputation: 1049
Please indicate 1) which distro you are currently using; 2) which version of VirtualBox you have installed; 3) the exact text of the error message (copy & paste), if you would like further assistance troubleshooting this problem.

I am happy to help with your specific issue, but I have no interest in typing up a list of "all distros known to support VirtualBox" (the answer is in the dozens if not hundreds; Craigevil has already listed 18 for you).

Last edited by snowpine; 07-21-2010 at 09:17 AM.
 
Old 07-24-2010, 08:00 AM   #9
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
hey, I'd like to say I'd spent last couple checking this out but other things intercepted!

VBox vers 1.6x 2.x are ok under Ubuntu 9.04, Suse 10.3 ,Fed12, anything more recent of these distros -no usb- even if the devices are usable by user.

I've seen a few threads in places about the content of fstab - whether needing usbfs /proc/usb - and uudev vboxdrv.rules having all the right parts. Re-jigging these and running so many reboots, trying terminals with udevadm restarts, mounts umounts just gets nowhere.

I understand you not wanting to make a list, in the same way I don't want to spend time downloading iso files, burning, installing, for every major distro.

I'm relatively happy poking about if required on other matters with my present distros on various pcs and keeping seperate apps up-to-date but if I can't have a fully current distro I can use online as well as have VBox running because some people forgot the -if it ain't broke... - tenet, then it's a sorry state of affairs for the Linux community.

I see there's a recent post someone using VBox for yonks with all his usb stuff and now he's screwed too.
 
Old 07-24-2010, 12:18 PM   #10
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
How hard is it to download and use the PUEL version. It supports most of the big distros.

If you are using Debian use the svmi script, it will download either the OSE or the PUEL version then build the kernel modules. All it takes is picking which one you want to use.

You are making a mountain out of a mole hill. It would be different if neither version supported usb.
 
Old 07-25-2010, 12:53 PM   #11
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by craigevil View Post
How hard is it to download and use the PUEL version.
Still pushing that line?

Perhaps your browser/line managed to omit sentence 2 of my last post.

Maybe I should repeat it adding a little:

VBox vers 1.6x, 2.x are ok under Ubuntu 9.04, Suse 10.3 ,Fed12, with the usb devices showing up as available to the filters in these VBox (puel) versions being usable in the guest, and no jumping hoops needed.
Anything more recent of these _distros_ trying the previously working VBox versions as indicated - no usb.

Think I'll sign off this thread. No hard feelings.
 
Old 07-25-2010, 01:12 PM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
So an ancient OSE version worked, things change. You don't seem to get that it isn't a problem. Anyone that isn't mental knows about the PUEL version.

feel free to run an old version that probably has all kinds of issues and security holes.

Might as well say "A game I have worked in windows 98 but doesn't work in windows 7".
 
Old 07-25-2010, 03:30 PM   #13
uxrs75
LQ Newbie
 
Registered: Jul 2010
Location: British Columbia, Canada
Distribution: Arch
Posts: 9
Blog Entries: 4

Rep: Reputation: 1
I've only had experience with VirtualBox 3 and up running on Slackware, or Arch, but so far I've always had to amend permissions, groups, and fstab to enable usb support in the PUEL version.
 
Old 07-28-2010, 08:56 AM   #14
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
hi there uxrs75,

Quite honestly, before your post I came across a permissions thing which may/may not come under the umbrella of points you raised. I tend to take stuff away on a laptop and have no internet access for a period so now I'm back home.

I found this by running the other virt app - Qemu. This like the other VBox versions ran with no probs on the older distro/kernels. I happened to try on one of my bete-noirs and its little dialog box came up with -no usb access permission denied' when I tried to add in a usb device.

Although I've done the permutations of the various entries in fstab, vboxdrv.rules, group files the Qemu msg made me look at the /proc/bus/usb/001 etc etc entries themselves. By manually assigning rwx to group/others the actual device-file under those numbers got me back to usability.

Absolutely bizarre! All my previous distro/VBox setups had no special requirements and their device-file entries showed standard rwx for owner.

I think I've been right about the cause being down to some quirk of those current distro/kernels.
 
Old 08-03-2010, 08:09 AM   #15
Gonzalo_VC
LQ Newbie
 
Registered: Nov 2009
Location: South America
Distribution: SolydXK, PCLinuxOS, MiniNo, Xubuntu ... Debian!
Posts: 27

Rep: Reputation: 0
If I am not mistaken, not only the kernel maters, but the VBx version. I had a hard time, but I could configure USB pen-drive access... the only problem i s that it stoles it from the main system :-P and gave me an error for not unmounting it properly. I am running VirtualBox 3.2.6 for Linux hosts with an XP guest now.
Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Video Problems in VirtualBox on Slackware64-current TSquaredF Slackware 8 10-20-2009 11:44 PM
how do i give virtualbox access to my usb devices baronobeefdip Linux - Software 16 10-13-2009 03:44 AM
New current kernel 2.6.29.1 on VirtualBox bgeddy Slackware 5 04-15-2009 07:27 PM
Can't Compile VirtualBox 1.6.6 In Slackware Current Woodsman Slackware 8 12-18-2008 02:36 PM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration