“Power off” is automatically triggered within seconds after system boot

Note: AGX Orin Industrial module, Jetpack 35.5.0, Custom board.
Let me describe this situation:
a. Plug in HDMI cable before power up, the desktop will display the “power off” prompt in a few seconds, if I don’t click “Cancel”, it will shut down, just like manually clicking the “power off” button.


b. No HDMI cable plugged in before power up (check via debug serial port or ssh), or plug in the HDMI cable after the system boots up, the above problem won’t occur.
I checked boot log and system log, but didn’t find any useful information. I presume this issue is most likely related to HDMI. Here are some logs, I didn’t click “Cancel” after the “power off” was displayed, please help me to locate the problem.
2024-10-12_boot_log.txt (107.9 KB)
2024-10-12_syslog.txt (320.3 KB)
PS: I followed this patch to enable HDMI.

HDMI Display does not work after update to JetPack 5.0.2 - #27 by WayneWWW

HDMI display and hotplug are fine. No other configurations were made after full flash the system.

Hi,
Please check the quick start in developer guide and make sure you follow the steps one by one:
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/IN/QuickStart.html
If the device still cannot be flashed/booted, please refer to the page to get uart log from the device:
https://elinux.org/Jetson/General_debug
If you are using custom board, you can compare uart log of developer kit and custom board to get more information.

Thanks!

Emmmm…my problem seems to have nothing to do with “flash”

Could you check /sys/kernel/debug/gpio and see if there is “power” or “power-key” setting there? And if that thing got triggered/toggled?

The power off prompt will show up if this GPIO key got triggered.

I run the following command
cat /sys/kernel/debug/gpio | grep power
It prints
gpio-343 (PEE.04 |power-key ) in hi IRQ ACTIVE LOW
How do I check it got triggered/toggled?
Besides, my custom board doesn’t have a physical “power off” button.

Hi WayneWWW, the problem seems to be solved, thanks for your advice.
We tried to cut the signal from gpio-343 (GPI03_DEE.04), and the “power off” doesn’t show up.
But, why plugging in the HDMI cable can affect this signal, it remains to be determined.

@EEEXcalibur

You have to be aware that you are not the first user who enabled HDMI there. But only you have this issue reported.

For such case, I would suggest you review the hardware…

Yes, of course.
We’ll check the hardware further.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.