FS#22221 - Unable to access USB under VirtualBox 4 + Extension Pack

Attached to Project: Community Packages
Opened by Alphazo (alphazo) - Sunday, 26 December 2010, 21:27 GMT
Last edited by Ionut Biru (wonder) - Monday, 27 December 2010, 12:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm moving from Virtualbox 3.x (PUEL edition from AUR that supports USB) to 4.x (Base version (GPL) from Community and this package (PUEL) for additional support such as USB). My 3.x was fully working including USB host.
I've uninstalled Vbox 3.x and installed the following packages:
- virtualbox 4.0.0-2
- virtualbox-additions 4.0.0-1
- virtualbox-ext-oracle 4.0.0-2
Extension pack shows up in Virtualbox extension manager (USB host). I've also installed guest additions and verified that USB host was enabled under VM's configuration. My XP VM starts but I'm unable to select any of my USB devices (everything is grayed out). Is there any additional step to go through in order to get access to USB devices?
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 27 December 2010, 12:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.0.0-3
Comment by Ionut Biru (wonder) - Sunday, 26 December 2010, 22:07 GMT
i don't care about usb support because i don't use it. feel free to investigate and provide patch to fix this "issue".

hint: take a look at virtualbox-sun and his new udev rule. try that udev file and let me know.
Comment by Tobias Quinn (tobiasquinn) - Sunday, 26 December 2010, 22:32 GMT
Assuming you are using udev this can be fixed by adding the attached file to the directory /etc/udev/rules.d/

The file is copied from an install of the virtualbox.org debian packages.

I suspect that this should be against the virtualbox-ext-oracle in the AUR as USB is not part of the virtualbox main package.
Comment by Alphazo (alphazo) - Sunday, 26 December 2010, 22:37 GMT
Then you should add a warning to your package to inform people that extensions such a the one adding USB support are not supported. Since the same base package is now used for both people who care about USB (with the additional extension) and thos who don't care (OSE like) this should be taken into consideration in order to avoid frustrations. Thanks.
Comment by Ionut Biru (wonder) - Sunday, 26 December 2010, 22:49 GMT
@Alphazo you miss understood me.

1) i don't have any clue how to replicate since you didn't provide ANY information
2) i suggested to try investigate yours to fix this issue so we have a working virtualbox package.
3) i won't do any work for a feature i don't use. see 1) to find out why
Comment by Alphazo (alphazo) - Sunday, 26 December 2010, 22:59 GMT
Thanks Tobias for posting the file. I tried it but it didn't work. I also tried to use the udev rule from the PKGBUILD of virtualbox-sun but still no luck.
Comment by Ionut Biru (wonder) - Sunday, 26 December 2010, 23:01 GMT
What did you do Alphazo? Just copied the file? Did you removed the existing udev rule? Did you triggered udev after altering the rules? Did you rebooted?
Comment by Tobias Quinn (tobiasquinn) - Sunday, 26 December 2010, 23:03 GMT
I suspect that it would need a reboot as I copied the file from a debian system which I then rebooted to arch.

Or I suppose you could quit virtualbox, remove module vboxdrv, add the rule in the dir, run 'udev control restart', insert module vboxdrv and it might work...
Comment by Alphazo (alphazo) - Sunday, 26 December 2010, 23:11 GMT
I did reboot but it didn't work. I then modified the first line to have "vboxusers" rather than "root" for the GROUP variable and rebooted but still the same.
I also tried the simpler udev rules found in the PKGBUILD of virtualbox-sun but still the same.
Comment by Alphazo (alphazo) - Sunday, 26 December 2010, 23:24 GMT
My mistake... for some reasons my user was not part of the vboxusers group (but USB was working with VBox 3.x). After adding it and using the udev rule posted above (as is) I got USB back. Thanks to everybody.
Comment by Alphazo (alphazo) - Sunday, 26 December 2010, 23:29 GMT
I will ask virtualbox-ext-oracle's maintainer to add the udev rule to his PKGBUILD.
Comment by Ionut Biru (wonder) - Sunday, 26 December 2010, 23:30 GMT
@Alphazo no. the fix should be in our virtualbox. I'll do it in the morning
Comment by Ng Oon-Ee (ngoonee) - Monday, 27 December 2010, 00:18 GMT
@wonder, are you sure? USB isn't part of the default VBox offering, and will only work with that AUR package (AFAIK).
Comment by Ionut Biru (wonder) - Monday, 27 December 2010, 00:19 GMT
i'm pretty sure. the extension is for 2.0 support
Comment by Sébastien Luttringer (seblu) - Monday, 27 December 2010, 00:36 GMT
wonder says right, extension add EHCI controller.
You wan check here: http://www.virtualbox.org/manual/ch03.html#id442976

Loading...