Page 1 of 1

Error attaching USB automatically

Posted: 27. May 2011, 16:06
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!

Re: Error attaching USB automatically

Posted: 27. May 2011, 17:41
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.