USB Voltage override

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?



Hello @anathan84 we pinged our devices team to see if they can help you.

Meanwhile if you succeed in anyway to make it work, just let us know.

Let’s stay connected

Well it’s ugly but we have one if our applications scan for the modem being present and then set the USB voltage override via dbus.

Would be happy to have a more legitimate solution.

Hello @anathan84 apologizes for the long delay!

did you solve your issue with the USB voltage override?