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.
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.