View previous topic :: View next topic |
Author |
Message |
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Thu May 05, 2011 1:16 am Post subject: VirtualBox 4.0.6 - USB does not work |
|
|
Don't bother upgrading if you use USB devices from the host, in the guest. _________________ ...Lyall |
|
Back to top |
|
|
gqman69 n00b
Joined: 11 Jul 2007 Posts: 50
|
Posted: Thu May 05, 2011 3:28 am Post subject: |
|
|
Yep, tried everything. Not working here either. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu May 05, 2011 5:12 am Post subject: |
|
|
I looked at thread, then changed my /etc/fstab entry to be:
Code: | none /proc/bus/usb usbfs devgid=31,devmode=664 |
Then remount /proc/bus/usb - and now it works
Note that the first word in that line is "none". I had previously tried "usbfs", which weirdly kinda half-works Unless it works sometimes
My 31 is taken from:
Code: | grep ^usb: /etc/group | cut -d: -f3 |
|
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Thu May 05, 2011 5:35 am Post subject: |
|
|
https://bugs.gentoo.org/show_bug.cgi?id=364719
_________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Thu May 05, 2011 5:52 am Post subject: |
|
|
I don't have a /proc/bus/usb directory.
It's a deprecated facility.
Also, 4.0.4 works just fine on my system with no change.
The solution in gentoo bug 364719 talks about a VBoxCreateUSBNode.sh script, which is not part of app-emulation/virtualbox ebuild.
For me, the solution is to simply mask 4.0.6 as useless and downgrade to 4.0.4, which worked fine, at least, for me.
About ever 3rd release of virtualbox results in some form of regression, this is one of those. _________________ ...Lyall |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu May 05, 2011 7:53 am Post subject: |
|
|
Yeah. I tested again, after running: umount /proc/bus/usb
It still works
I'm a bit confused as to why I had problems yesterday, which have mysteriously disappeared now.
I'm using virtualbox's own .run file, which installs /etc/udev/rules.d/10-vboxdrv.rules containing:
Code: | KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", ACTION=="add", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor" |
|
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Thu May 05, 2011 11:22 am Post subject: |
|
|
Easier to simply revert and wait till 4.0.8 - it will be out soon, you can bet on it. _________________ ...Lyall |
|
Back to top |
|
|
gqman69 n00b
Joined: 11 Jul 2007 Posts: 50
|
Posted: Thu May 05, 2011 8:02 pm Post subject: |
|
|
I don't know...
Why should we start using some rules where it creates devices which exists
simply for virtualbox?
All this seems amateurish at best... |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue May 17, 2011 7:20 am Post subject: |
|
|
4.0.8 is out. |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Tue May 17, 2011 5:30 pm Post subject: |
|
|
PaulBredbury wrote: | 4.0.8 is out. |
Yeah and there is nothing in changelog about the this USB problem _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
fivebulldogs n00b
Joined: 18 May 2011 Posts: 1 Location: Stockholm/Sweden
|
Posted: Wed May 18, 2011 9:27 am Post subject: |
|
|
I just upgraded to 4.0.8 (not via portage) and got a USB mass storage device to appear in a Win7 guest on a Gentoo host for the first time! Wohoo! |
|
Back to top |
|
|
gqman69 n00b
Joined: 11 Jul 2007 Posts: 50
|
Posted: Thu May 19, 2011 12:09 am Post subject: |
|
|
4.0.6-r1 seems to fix all |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Thu May 19, 2011 4:18 am Post subject: |
|
|
4.0.6-r1 and 4.0.8 rolled in the usb dev rules hack, described above. _________________ ...Lyall |
|
Back to top |
|
|
|