USB power does not turn off when jetson nano is turned off

for modes sleep/off/active reference : Tegra Linux Driver

Chipset Power States

The supported power states are listed in order of increasing flexibility or configurability:

•Off: There is only one way for a system to be off.

•Deep Sleep (SC7) offers a small amount of configurability. For example, prior to entering Deep Sleep, software can select which of the many hardware wake events can wake the chip from Deep Sleep.

•Active state is extraordinarily flexible in terms of power and performance. It encompasses activity levels from low power audio playback through peak performance. Power consumption in Active state can range from tens of milliwatts to several watts.

Supported Power States

The supported power states are:

Power State Functionality Characteristics
Off Power rails None of the power rails supplying the SoC and DRAM are powered.
State No state is maintained in the SoC or DRAM.
Exiting Into Active state via cold boot.
Deep Sleep (SC7) Power rails VDD_RTC, VDDIO_DDR, VDDIO_SYS, and DRAM power rails are powered on. VDD_CORE and VDD_CPU are powered off.
State The SoC maintains a small amount of state information in the PMC block. DRAM maintains state.
Exiting Into Active state via a pre-defined set of wake events.
Active Power rails VDD_RTC, VDDIO_DDR, VDDIO_SYS, VDD_CORE, and DRAM rails are powered on. Other power rails, including VDD_CPU and VDD_GPU, may be powered on.
State Software actively manages the power states of the devices that make up the SoC.
Exiting Software can initiate a transition from Active to any other power state.

Power State Mapping to Linux

BSP maps hardware power states to Linux power states as follows.

Chipset Power State Linux Power State Comments
Off Off
Deep Sleep (SC7) Suspend Software can choose whether to enter Deep Sleep before the OS enters Suspend.
Active Running/Idle (display on or off) Many SoC devices may be idle or disabled under driver control. For example, VDD_GPU may be powered off and the companion GPU may be power-gated.

for shutting down/powering up usb ports on nano: it was only possible to manually trigger state of USB from running os on models before B01 using Jetson/L4T/r32.3.x patches - eLinux.org

2 Likes