In Settings, the power key is configured for suspend/resume behavior.
Issue:
During the process of pressing the power key to suspend or resume, if the power key is triggered multiple times, the system may freeze.
This issue has been reproduced multiple times with a high occurrence rate.
Attached are logs for both cases:
With a Wi-Fi card installed
Without a Wi-Fi card installed
Request:
Please assist in blocking repeated power key triggers during the suspend/resume process to prevent system freezes.
Thank you.
Are you using the devkit or custom board for Orin Nano?
What does the freeze mean you mentioned here?
Do you mean you can not interact with the board at this moment and it could only be recovered through a HW reset?
Is the issue relating to if the WiFi Card is connected?
Yes, pull a wire from the Pwr pin in the pin header on the public board to connect to the GND trigger.
This will happen regardless of whether you have a wifi card or not, the only difference is the logs that appear. I have attached the logs for you.
ㄐpost:6, topic:331872"]
There’s no power key on Orin Nano devkit.
Do you just short PWR/GND instead?
[/quote]
Yes, pull a wire from the Pwr pin in the pin header on the public board to connect to the GND trigger.
This will happen regardless of whether you have a wifi card or not, the only difference is the logs that appear. I have attached the logs for you.
If you verify 5 times, 3 of them will happen, which is a very high probability.
Yes, use the power pin on the edge of the board to suspend and resume。
Use sudo systemctl suspend to enter, and before the system completely enters suspend, use the power button to trigger it multiple times. Test if it happens twice.
If you see the following information in console log, it means that the system has entered into suspend mode. After entering into suspend mode, use the power key to trigger the system to wake up multiple times. The system wakes up normally after 3 tests.
"===console log======
adc_suspend done
WAKE_MASK[31:0] = 0x21000000
WAKE_MASK[63:32] = 0x0
WAKE_MASK[95:64] = 0x17f200
TIER0[31:0] = 0x0
TIER0[63:32] = 0x0
TIER0[95:64] = 0x0
TIER1[31:0] = 0x0
TIER1[63:32] = 0x0
TIER1[95:64] = 0x0
TIER2[31:0] = 0x21000000
TIER2[63:32] = 0x0
TIER2[95:64] = 0x7f200
"
When the following message appears on the console, it means that the system has entered suspend mode.
------------Complete suspend final message-----
adc_suspend done
WAKE_MASK[31:0] = 0x21000000
WAKE_MASK[63:32] = 0x0
WAKE_MASK[95:64] = 0x17f200
TIER0[31:0] = 0x0
TIER0[63:32] = 0x0
TIER0[95:64] = 0x0
TIER1[31:0] = 0x0
TIER1[63:32] = 0x0
TIER1[95:64] = 0x0
TIER2[31:0] = 0x21000000
TIER2[63:32] = 0x0
TIER2[95:64] = 0x7f200
Yes, enter suspend completely and you can resume smoothly
1: Connect to debug console porting
2: Before the following message appears in comsole, press the power key multiple times, and
Would you hit the issue if you press power key after it enters into suspend correctly? (i.e. wait until you see those messages)
Would you hit the issue if DP display disconnected?
Please also share the full log when the freeze issue occurs. (I can not identify them in original logs)
I suppose there should be the watchdog triggering reset due to the system hangs.
Yes, if you enter suspend completely, you can wake up, and it will not freeze even if you press the power key multiple times during the wake-up process.
The same problem occurs when the DP monitor is not connected
suspend_resume_bug.log (104.6 KB)
suspend_resume_bug.log contains
1: Suspend/resume returns normally without triggering the power key multiple times
2: Before entering suspend mode, the system freezes if the power key is pressed multiple times.