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)
Note:
See TracTickets
for help on using tickets.
fix