I have a USB device connected to the Jetson [eMMC Production module] that needs to be power cycled (programmatically) via software application running on the Nano. How can I cycle USB power on device connected to Jetson eMMC?
I checked L4T Jetson/r32.3.x patch - eLinux.org [Jetson Nano]Power control, and tried using the “realtek_hub_power_cycle.c” to cycle USB power. However, this did not work (I believe this script is for Jetson Nano Dev Kit only).
I also tried using “uhubctl” to cycle USB power but the documentation states this is only compatible with Jetson development board (B01 version).
@WayneWWW , Yes this is on a custom board (Auvidea JN30B). The carrier board contains Jetson Nano Production Module (eMMC ) version. I will reach out to Auvidea and get the regulator/GPIO # that controls the vbus. Once I get this information, I will come back here with the info.
Unfortunately still no update from Auvidea regarding regulator/GPIO control for vbus. Auvidea’s customer support has been very poor lately. No response…
@WayneWWW I received the following update from Auvidea: You can control the 5V via USB3-EN. On the Nano it is controlled by GPIO_03 (Pin 126) which is Nano GPIO66 (0: USB on)
There are still things I need to know from Auvidea.
Does Auvidea write this gpio as a regulator in their device tree? If so, then you can search the device tree for the regulator name. Use similar command as below post to control this regulator.