Hi,
My GNU/Linux system is on usb stick.
I don't use dbus~hal, just usbfs in /etc/fstab.
So, to prevent VMs using my usb system stick and freezing it, I want to add a usbfilter with VBoxManage command line utility.
First, I list the usb devices with VBoxManage list usbhost.
My usb system stick is well listed : VendorId (1234), ProductId (1234), SerialNumber (123456789012), etc...
Next, I list the usb filters installed with VBoxManage list usbfilters : none.
I add the filter with VBoxManage usbfilter add 0 --target global --action ignore --vendorid 1234 --productid 1234 --serialnumber 123456789012.
I verify list with VBoxManage list usbfilters : ok (note that serial number is not recorded).
Finally, I insert a new usb stick on the host and run a VM : then new usb stick is proposed by the usb icon but my usb system stick still remain avaible...
Is there something missing or do you know an other way to prevent usage ?
usbfilter action ignore not ignored
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: usbfilter action ignore not ignored
You've made an error, with either the VB version or the location of the topic here. The OSE does NOT support USB. If you use the PUEL version, you can use USB. Now assuming you do use the PUEL version, check the manual again. When you're using filters, all devices NOT listed in the filters list are not grabbed automatically. If you have no filter at all, you have to manually enable the device to be grabbed by the VM.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
- Posts: 5
- Joined: 19. Jul 2009, 15:29
- Primary OS: Linux other
- VBox Version: PUEL
- Guest OSses: Window$
Re: usbfilter action ignore not ignored
Thank you for the clarification.
Effectively, I use the PUEL version (I've changed my profile) and my post isn't at the right place.
Effectively, I use the PUEL version (I've changed my profile) and my post isn't at the right place.
-
- Posts: 5
- Joined: 19. Jul 2009, 15:29
- Primary OS: Linux other
- VBox Version: PUEL
- Guest OSses: Window$
Re: usbfilter action ignore not ignored
Post has been moved here