I’m looking for a way to power down the USB-Ports through software.
I’ve already looked at some posts (see list at the bottom) which describe the use of a GPIO port to cut
USB_VDD_0. However non-refer to the Jetson Nano. Looking at the NVIDIA Jetson Nano Pin and Function Names Guide which refers to Pin 87 as
USB_VBUS_EN0. However running
sudo cat /sys/kernel/debug/gpio does not tell anything about the function of GPIO 87.
Can someone confirm the function of GPIO 87 and if the following code will also work on a Jetson Nano Development Kit?
sudo su cd /sys/class/gpio echo 87 > export cd gpio87 echo out > direction && echo 0 > value # Will turn off the port echo out > direction && echo 1 > value # Will turn on the port
Thanks a bunch!
Some information on my setup
- Jetson Nano Development Kit 4GB
- JetPack 4.3 (R32 (release), REVISION: 3.1, GCID: 18186506, BOARD: t210ref, EABI: aarch64, DATE: Tue Dec 10 06:58:34 UTC 2019)
The other posts I’ve already looked at