USB problems Virtualbox 3 on Fedora 11

Discussions related to using VirtualBox on Linux hosts.
drsys
Posts: 5
Joined: 16. Jul 2009, 14:23
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: USB problems Virtualbox 3 on Fedora 11

Post by drsys »

so i guess only ubuntu again is working out of the box , didn't the vbox developers know that their code works out of the box on ubuntu only?
They should at least provide with a nice clean HowTo to help the users on other popular distros.
hank_se
Posts: 101
Joined: 16. Apr 2009, 11:36
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: USB problems Virtualbox 3 on Fedora 11

Post by hank_se »

tvirtualbox wrote:
my opensuse64 11.1 suffers from this problem. mouse, keyboard and scanner (but not the printer) are there, but are greyed out (when I hit left-ctrl+L to get the host menu in the guest)

I would try modifying the "rc.sysinit" if I only knew the suse equivalent of it.
Okey I was a little sloppy, what I meant was that opensuse doesn't mount usbfs by default, so stop looking for that.
The problem is a conflict beetween 10-vboxdrv.rules and /lib/udev/rules.d/50-udev-default.rules.
There are several solutions to this, one is to simply move 10-vboxdrv.rules to 60-vboxdrv.rules as it was in VirtualBox 2.1.2.
Another solution is the one I suggested in my previous post.
Threedays
Posts: 2
Joined: 23. Jul 2009, 14:28
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Included

Re: USB problems Virtualbox 3 on Fedora 11

Post by Threedays »

Thanks for the information as I had the same problem on Kubuntu 9.10.

I added my user profile to vboxusers group, in "sudo kuser" and then added the line in fstab, as below;

Code: Select all

# reveal usb for virtualbox
none   /sys/bus/usb/drivers   usbfs   devgid=122,devmode=664   0   0
'devgid=122' since 'vboxusers' group id is 122 on my system.

Thanks again. I wish this was more prominent when installing as many users would have this problem.
SpuriousQ
Posts: 1
Joined: 1. Aug 2009, 21:19
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Winows XP

Re: USB problems Virtualbox 3 on Fedora 11

Post by SpuriousQ »

jdonaldson wrote:I got it working! In addition to adding the recommended line to fstab I also had to comment out the following lines in rc.sysinit.

if [ ! -d /proc/bus/usb ]; then
modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb
else
mount -n -t usbfs /proc/bus/usb /proc/bus/usb
fi

Thanks again for your help.
I have one question: Where is the "rc.sysinit." file, directory?

However, I found another solution; it is simmilar and goes like this:

"1 - create a new group called "usb";
2 - locate file usbfs: in my case is /sys/bus/usb/drivers (I suggest to find the file with a usb device inserted;
3 - modify file /etc/fstab inserting a line containing the right path and the number corresponding the "usb" group :
none /sys/bus/usb/drivers usbfs devgid=503,devmode=664 0 0
4 - command mount -a;
5 - start VB and try...;"


Of course, I don't know where the "command mount -a" goes.
I'd really would like to see a how to step by step of this problem. Some gurus may say there is a lot of information about this problem on the net, but after several hours (scattered around on several days) results came with the same solutions...
Post Reply