几天前,我的系统(Ubuntu 22.04.3 LTS 64 位)运行正常。突然之间(我不记得做了什么与平常不同的事情),我的笔记本电脑开始在合上盖子时不进入睡眠状态。屏幕变黑但仍亮着,风扇继续转动,鼠标仍然发光,这在睡眠模式下不应该发生,所以计算机实际上并没有挂起。问题是我无法将 PC 从这种状态唤醒,我所做的任何事情似乎都不会对它产生任何影响,我必须按住电源按钮强制关机。我尝试从关机菜单使其进入睡眠状态,但仍然得到相同的结果。每次我的 PC 进入“睡眠”状态时(我不认为它真的要睡觉了,因为我能听到风扇的声音,看到鼠标发光),我除了强制关机外没有其他办法唤醒它。
我也尝试将其关闭并重新启动,得到了类似的结果:关闭屏幕弹出,上面有我的电脑的徽标和加载轮,但加载轮消失后,徽标就留在那里,电脑并没有真正关闭,所以我必须再次按下电源按钮强制关闭。
我尝试在 Google 上搜索答案,但找不到太多答案,而且我真的不知道从哪里开始诊断问题。有人知道可能发生了什么吗?
编辑:
运行该journalctl --grep='sleep|suspend|resume' --no-pager --since='-1hour'
命令给了我这个输出:
ago 13 18:51:58 antonio-omen-ubuntu kernel: nvme 0000:3b:00.0: platform quirk: setting simple suspend
ago 13 18:53:55 antonio-omen-ubuntu systemd-logind[934]: Suspending...
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.2727] manager: sleep: sleep requested (sleeping: no enabled: yes)
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.2728] device (eno1): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
ago 13 18:53:55 antonio-omen-ubuntu ModemManager[1018]: <info> [sleep-monitor-systemd] system is about to suspend
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.2842] device (p2p-dev-wlo1): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.2843] manager: NetworkManager state is now ASLEEP
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.2845] device (wlo1): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.4598] device (wlo1): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
ago 13 18:53:55 antonio-omen-ubuntu NetworkManager[861]: <info> [1691945635.5232] device (wlo1): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
ago 13 18:53:56 antonio-omen-ubuntu systemd[1]: Reached target Sleep.
ago 13 18:53:56 antonio-omen-ubuntu systemd[1]: Starting System Suspend...
ago 13 18:53:56 antonio-omen-ubuntu systemd-sleep[5841]: Entering sleep state 'suspend'...
ago 13 18:53:56 antonio-omen-ubuntu kernel: PM: suspend entry (deep)
-- Boot f8879360ce544bcebc850319ae0a13ad --
ago 13 18:58:07 antonio-omen-ubuntu kernel: nvme 0000:3b:00.0: platform quirk: setting simple suspend