可能与 AMD 引入的内核 6.2+ 错误有关,因为系统在要求关闭时也会重新启动。
阅读所有其他帖子后我已经尝试过的内容:
- 关闭蓝牙和WiFi
- 移除了唯一的外部设备,USB 鼠标
- 禁用 /proc/acpi/wakeup 中启用的 3 行中的 2 行
这曾经在较旧的 Fedora 和内核上运行良好,但不记得是哪个版本。
系统信息:
带 Radeon 显卡的 AMD Ryzen 7 4700U
Linux fedora 6.6.8-100.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 21 04:01:45 UTC 2023 x86_64 GNU/Linux
# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP0 S0 *disabled
GPP1 S0 *disabled
GPP2 S0 *disabled
GPP3 S0 *disabled
GPP4 S0 *enabled pci:0000:00:02.2
GP17 S0 *enabled pci:0000:00:08.1
GP19 S0 *disabled
PWRB S4 *enabled platform:PNP0C0C:00
# echo GPP4 > /proc/acpi/wakeup
# echo GP17 > /proc/acpi/wakeup
# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP0 S0 *disabled
GPP1 S0 *disabled
GPP2 S0 *disabled
GPP3 S0 *disabled
GPP4 S0 *disabled pci:0000:00:02.2
GP17 S0 *disabled pci:0000:00:08.1
GP19 S0 *disabled
PWRB S4 *enabled platform:PNP0C0C:00
# journalctl -b | grep suspend # after immediate wakeup
Dec 28 12:55:57 fedora systemd[1]: Starting systemd-suspend.service - System Suspend...
Dec 28 12:55:57 fedora systemd-sleep[13475]: Entering sleep state 'suspend'...
Dec 28 12:55:57 fedora kernel: PM: suspend entry (deep)
Dec 28 12:55:59 fedora kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 28 12:55:59 fedora kernel: PM: suspend devices took 0.099 seconds
Dec 28 12:55:59 fedora kernel: PM: suspend exit
Dec 28 12:55:59 fedora systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 28 12:55:59 fedora systemd[1]: Finished systemd-suspend.service - System Suspend.
Dec 28 12:55:59 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 28 12:55:59 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 28 12:55:59 fedora systemd[1]: Reached target suspend.target - Suspend.
Dec 28 12:55:59 fedora systemd[1]: Stopped target suspend.target - Suspend.
任何建议表示赞赏,谢谢。