USB 1.0 disable 100mA current limit permanently

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB 1.0 disable 100mA current limit permanently

476 Views
koejul
Contributor II

We are using android 11 with kernel 5.10.72.
We are using a USB 1.0 hub (TI TUSB2046i) with the upstream USB connected to the imx8m mini SOM via another USB hub (Microchip LAN9513). Peripherals are attached to the USB 1.0 hub.
USB 1.0 has a default current limit of 100mA in android. This limit is visible by the error "rejected 1 configuration due to insufficient available bus power".
Via the command "echo 1 > /sys/bus/usb/devices/1-1.4/bConfigurationValue", where 1-1.4 is the individual USB address, this 100mA limitation is disabled and no current limit is activated.
Is there any setting to disable this limit permanently in android without having to write the command to every USB port at any startup?


Regards
Julian

Labels (1)
0 Kudos
2 Replies

449 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
0 Kudos

445 Views
koejul
Contributor II

This does actually not help.

Our hardware is designed to supply up to 1A per port with all the protection features.

My question was how I can disable the 100mA current limit without entering "echo 1 > /sys/bus/usb/devices/1-1.4/bConfigurationValue" everytime I plug a device into this USB FS port in android.

0 Kudos