Disabling USB subsystem on OpenWRT VoCore2

ofir
 
Posts: 2
Joined: Sat Nov 20, 2021 10:30 am

Disabling USB subsystem on OpenWRT VoCore2

Sat Nov 20, 2021 10:35 am

Hi,
For power measurements sake I would like to be able to disable the USB subsystem (at the hardware level if possible, e.g. clock gating).
I saw this generic OpenWRT script online https://github.com/zhangjingye03/openwrt_deep_night_sleep/blob/master/sleep.sh which shuts down
USB power by using the aliased GPIO sysfs files:
Code: Select all
echo 0 > /sys/class/gpio/$USB1_POWER/value
echo 0 > /sys/class/gpio/$USB2_POWER/value


But I am not sure if it's applicable to VoCore2.

Does anyone know how to disable the USB subsystem (either hardware level / through the driver)?


Thanks,
Ofir

Vonger
 
Posts: 841
Joined: Sun Oct 19, 2014 6:00 am

Re: Disabling USB subsystem on OpenWRT VoCore2

Thu Nov 25, 2021 2:48 am

There is no directly way to shutdown USB. This chip is mainly designed for router but not for power save usage, it also does not have PMU, so if you want to save power, shutdown USB will not help.

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: Bing [Bot] and 1 guest