121
22.1 Legacy Series / Re: Opnsense connectivity /switch power issue
« on: March 18, 2022, 04:04:07 pm »
The string should be the same like mine. In most cases the chipset doesn't matter as long as the device supports the mentioned CDC-ECM mode. The only thing you have to check before applying the string is to verify whether vendor and product id match.
First, list all devices:
Second: Retrieve vendor and product id of your device (the example applies to device 0.2 (ugen0.2) from the list above)
--> The resulting tunable is:
Name: hw.usb.quirk.0
Description: what you like to describe
Value: "0x0bda 0x8153 0 0xffff UQ_CFG_INDEX_1" (with blanks but without quotes)
Only the italics part of the value string needs to be adjusted if it differs.
First, list all devices:
Code: [Select]
# usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (350mA)
[…]
Second: Retrieve vendor and product id of your device (the example applies to device 0.2 (ugen0.2) from the list above)
Code: [Select]
# usbconfig -d 0.2 dump_device_desc
ugen0.2: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (350mA)
[…]
idVendor = 0x0bda
idProduct = 0x8153
[…]
--> The resulting tunable is:
Name: hw.usb.quirk.0
Description: what you like to describe
Value: "0x0bda 0x8153 0 0xffff UQ_CFG_INDEX_1" (with blanks but without quotes)
Only the italics part of the value string needs to be adjusted if it differs.


(see here:
. Corresponding entries in the log file look similar to