i tried to add 2 Tunables under
OPNsense 19.7.5_5-amd64
FreeBSD 11.2-RELEASE-p14-HBSD
OpenSSL 1.0.2t 10 Sep 2019
(Nano BSD Image on USB-Thumbstick)
the first tunable i added was:
hw.usb.quirk.0
usb quirk: select configuration index 1 by default
0x054c 0x0243 0 0xffff UQ_CFG_INDEX_1
then ->Save-> Apply ...
after that i added another Tunable:
hw.usb.quirk.1
usb quirk: fake generic inq response
0x054c 0x0243 UQ_MSC_NO_INQUIRY
then ->Save->Apply.
Now the Tunables Overview shows me 2 times the first added tunable but doesnt show both tunables... see screenshot on attachment.
And this is what i got:
usbconfig -u 5 -a 2 dump_device_quirks | grep "243" | grep "UQ_CFG_INDEX_1"
usbconfig -u 5 -a 2 dump_device_quirks | grep "243" | grep "UQ_MSC_NO_INQUIRY"
VID=0x054c PID=0x0243 REVLO=0x0000 REVHI=0x0000 QUIRK=UQ_MSC_NO_INQUIRY
It'll be fixed in 19.7.6.
https://github.com/opnsense/core/commit/929938660
Cheers,
Franco