移除R724 接上R726 測試SC7
若沒接DP 後開機 … 按鍵S3 後無法進入SC7模式
但接DP 開機後 . 按鍵S3 後可進入SC7模式
請問這樣正常嗎??
Hi, what’s the result of pressing power button to enter SC7?
Could you also share the output log info when you test it with or without DP?
Hi,
The behavior to trigger whether it will enter SC7 is ubuntu systemd-logind service.
Thus, better checking if this requires desktop GUI to be enabled so that it will execute SC7 command.
觸發行為 由按鍵S3 拉低 L10 FORCE_RECOVERY_N
非 ubuntu systemd-logind服務
Hi,
如果你是在測試GP109這根PIN的話, 他其實就只是一根GPIO而已 不是什麼特別的HW pin.
GP109在device tree裡面有註冊gpio-keys.
然後系統收到這根pin的interrupt之後要不要進suspend是由ubuntu systemd-logind進行控制.
你可以用以下兩個command去做確認
journalctl -u systemd-logind -p 7
跟 cat /sys/kernel/debug/suspend_stats
看起來有收到 Suspend key pressed. 但沒進入SC7
#journalctl -u systemd-logind -p 7
– Logs begin at Wed 2023-03-15 15:04:15 UTC, end at Fri 2024-06-28 09:03:53 UT>
Jun 28 06:05:05 Jetson systemd[1]: Starting Login Service…
Jun 28 06:05:05 Jetson systemd-logind[649]: Watching system buttons on /dev/inp>
Jun 28 06:05:05 Jetson systemd-logind[649]: New seat seat0.
Jun 28 06:05:05 Jetson systemd[1]: Started Login Service.
Jun 28 06:05:09 Jetson systemd-logind[649]: New session 1 of user nvidia.
Jun 28 06:05:10 Jetson systemd-logind[649]: New session 4 of user nvidia.
Jun 28 06:05:10 Jetson systemd-logind[649]: New session 3 of user nvidia.
Jun 28 09:03:53 Jetson systemd-logind[649]: Suspend key pressed.
root@Jetson:/usr/local/bin# cat /sys/kernel/debug/suspend_stats
success: 0
fail: 0
failed_freeze: 0
failed_prepare: 0
failed_suspend: 0
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume: 0
failed_resume_early: 0
failed_resume_noirq: 0
failures:
last_failed_dev:
last_failed_errno: 0
0
last_failed_step:
若沒有DP設備 該如何進入SC7 休眠 ???
沒辦法透過這個形式進sc7. 這是ubuntu相關的設定, 可能要看一下systemd-logind有沒有參數可以調
或是改用別的方法
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.