We have a custom board that has a built in USB peripheral. By design, this USB peripheral is powered external from our SoC (a Variscite Dart IMX8M Mini ) through a chip level hub.
The USB port works great, but the OS is rejecting the device because it thinks it can’t supply the requested bus power.
[ 794.115495] usb 1-1.1: new high-speed USB device number 5 using ci_hdrc [ 794.241204] usb 1-1.1: rejected 1 configuration due to insufficient available bus power [ 794.247985] usb 1-1.1: no configuration chosen from 1 choice
Overriding the bus power warning works as we expected it would using
echo 1 > /sys/bus/usb/devices/1-1.1/bConfigurationValue
The question is, how can we either make this persistent or is there a recommended way to perform this at startup?