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