VirtualBox

Opened 4 years ago

#20434 new defect

usbfilter ignore --product flag

Reported by: lo1ol Owned by:
Component: VM control Version: VirtualBox 6.1.22
Keywords: usbfilter product flag Cc:
Guest type: all Host type: all

Description

Hi!

I noticed that when I create filter using usbfilter command the --product flag is ignored.

For example, this command:

VBoxManage.exe usbfilter add 0 --target "otus-astra-docker_default_1624884966310_75575" --name "Aktiv Rutoken ECP [0100]" --product "Rutoken ECP" --revision "0100" --productid "0030" --vendorid "0a89" --manufacturer "Aktiv"

creates this filter:

Index:                       0
Active:                      yes
Name:                        Any Rutoken ECP
VendorId:                    0a89
ProductId:                   0030
Revision:                    0100
Manufacturer:                Aktiv
Product:
Remote:
Serial Number:

I thik that the cause of this because you are forgot to set product field here: https://github.com/mirror/vbox/blob/b9657cd5351cf17432b664009cc25bb480dc64c1/src/VBox/Frontends/VBoxManage/VBoxManageUSB.cpp#L404-L516

Attachments (1)

usbfilter.patch (2.6 KB ) - added by lo1ol 4 years ago.
fix

Download all attachments as: .zip

Change History (1)

by lo1ol, 4 years ago

Attachment: usbfilter.patch added

fix

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette