Hello everyone. I’m currenly using a Jetson Orin NX and i would like to know when a usb c cable is plugged in through the USBx_VBUS_DET state. I wrote a little python script to try to read the state of the said pin but i couldn’t read it.
import Jetson.GPIO as GPIO
GPIO.setmode(GPIO.TEGRA_SOC)
GPIO.setup("USB0_VBUS_DET",GPIO.IN)
Result :
... ValueError: Channel USB0_VBUS_DET is invalid
So i have a few questions :
Do i have to modify the device tree to be able to read the state of the V_BUS pin on the usb ?