VirtualBox

Ticket #6703 (new defect)

Opened 4 years ago

Impossible to set "Product" and "Product ID" in usb global filters

Reported by: limbur Owned by:
Priority: minor Component: USB
Version: VirtualBox 3.1.8 Keywords: usb global filter
Cc: Guest type: other
Host type: Windows

Description

It is impossible to create usb global filter with Product or Product ID defined. Because of this filter not work at all. Command line:

vboxmanage usbfilter add 1 --target global --name "Logitech USB Receiver [3811]" --action ignore --active yes --vendorid 046d --productid c517 --revision 3811 --manufacturer Logitech --product "USB Receiver"

causes bad filter definition in VirtualBox.xml

<DeviceFilter name="Logitech USB Receiver [3811]" active="true" vendorId="046d" productId="c517" revision="3811" manufacturer="Logitech" action="Ignore"/>

After adding second filter or restating some virtual machine it changes to (productId is removed):

DeviceFilter name="Logitech USB Receiver [3811]" active="true" vendorId="046d" revision="3811" manufacturer="Logitech" action="Ignore"/>

If we add proper definition manually:

<USBDeviceFilters>
  <DeviceFilter name="Logitech USB Receiver [3811]" active="true" vendorId="046d" productId="c517" revision="3811" manufacturer="Logitech" product="USB Receiver" action="Ignore"/>
</USBDeviceFilters>

We receive ERROR message and VirtualBox does not start at all:

ERROR: failed to create the VirtualBox object!
ERROR: Encountered unexpected status VERR_NO_DIGITS when setting 'Product ID' to 'USB Receiver'
Details: code E_FAIL (0x80004005), component HostUSBDeviceFilter, interface IHostUSBDeviceFilter, callee <NULL>

Host USB Device information:

vboxmanage list usbhost
Sun VirtualBox Command Line Management Interface Version 3.1.8
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

Host USB Devices:

UUID:               c5924364-a9be-4b54-a17e-34eff4b779b0
VendorId:           0x046d (046D)
ProductId:          0xc517 (C517)
Revision:           56.17 (5617)
Manufacturer:       Logitech
Product:            USB Receiver
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0017
Current State:      Busy
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use