Error attaching USB automatically

This is for discussing general topics about how to use VirtualBox.
Post Reply
gra
Posts: 4
Joined: 27. May 2011, 15:22
Primary OS: Other
VBox Version: OSE other
Guest OSses: GNU/Linux Archlinux

Error attaching USB automatically

Post by gra »

Hi,
i'm using Oracle VM VirtualBox Manager 4.0.8_OSE on Archlinux kernel 2.6.38-ARCH, i virtualize another archlinux guest that i start it up like this:

$ VBoxManage usbfilter add 0 --target arch-guest --name all_USB --action hold
$ virtualbox --startvm arch-guest

i'm able to attach the USB with the virtual box GUI but it doesn't appear has attach automatically, on the other hand, if I remove every USB filters, and I make the commands

$ VBoxManage usbfilter add 0 --target arch-guest --name USB --action hold --vendorid 1307 --productid 0165
$ virtualbox --startvm arch-guest

USB appears attached automatically. I understand that second filter version with the vendorid/productid it's just a particular case of the first one. So, the first filter should work with every USB. Probably i misunderstood the usb filter concept.

Any kind of help will be welcome! Thanks in advance!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error attaching USB automatically

Post by Perryg »

I don't think that "all_USB" is a valid string. That and if you did get this to work you would probably loose you mouse and keyboard. They are shared resources and as such would mis-behave to the point of being useless.
Post Reply