OPNSense/core 6dd8bbesrc/etc/rc.syshook.d/early 01-usbconfig_reset, src/www system_advanced_misc.php

System->Settings->Miscellaneous : add "Reset usb on boot" option

While testing 4g modems, it seems that initial device detection isn't flawless leading to USB_ERR_IOERROR failures and non functional modems.
Most likely cause of these issues seems to be that some devices need a bit of time between powering the bus and performing registration.

This option adds an early boot script, which optionally performs a usbconfig reset on boot.
DeltaFile
+24-1src/www/system_advanced_misc.php
+9-0src/etc/rc.syshook.d/early/01-usbconfig_reset
+33-12 files

UnifiedSplitRaw