我有一台联想 Thinkpad p14s (AMD),我刚刚在上面安装了 Ubuntu 20.04。如果我进入挂起状态然后唤醒我的电脑,屏幕上会出现时钟,但我无法使用键盘或鼠标进入登录屏幕输入密码。仅供参考,Thinkpad 还连接到外接显示器。不确定这是否是一个错误,所以我决定先在这里发帖。如何防止从挂起状态唤醒时冻结?
答案1
您是否更改了 BIOS 中的睡眠设置?这对我有用(Ubuntu 20.04.02 LTS)。
- 重启。
- Enter在“Lenovo”屏幕上按下。
- 按下F1进入 BIOS。
- 将“配置->电源->睡眠状态”更改为“Linux”。
- 按下F10保存并重新启动。
在此之前,当我暂停时,笔记本电脑盖上的 LED 一直保持红色常亮。现在它闪烁得比较慢(这是我以前使用 Thinkpad 时所期望的)。
答案2
我的 P14s 也遇到了同样的问题,我曾经通过插入和拔出 HDMI 适配器成功唤醒它。我正在研究这个问题
表明syslog
显示拓扑失败
Apr 9 22:02:35 mgs-p14 kernel: [ 3303.836035] thermal thermal_zone0: failed to read out thermal zone (-61)
Apr 9 22:02:35 mgs-p14 kernel: [ 3303.837703] PM: suspend exit
Apr 9 22:02:35 mgs-p14 systemd-sleep[11784]: System resumed.
Apr 9 22:02:35 mgs-p14 systemd[1]: systemd-suspend.service: Succeeded.
Apr 9 22:02:35 mgs-p14 systemd[1]: Finished Suspend.
Apr 9 22:02:35 mgs-p14 systemd[1]: Stopped target Sleep.
Apr 9 22:02:35 mgs-p14 systemd[1]: Reached target Suspend.
Apr 9 22:02:35 mgs-p14 systemd[1]: Stopped target Suspend.
Apr 9 22:02:35 mgs-p14 NetworkManager[812]: <info> [1617998555.9717] manager: sleep: wake requested (sleeping: yes enabled: yes)
Apr 9 22:02:35 mgs-p14 NetworkManager[812]: <info> [1617998555.9721] device (enp2s0f0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
Apr 9 22:02:35 mgs-p14 kernel: [ 3303.876150] Generic FE-GE Realtek PHY r8169-200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
Apr 9 22:02:35 mgs-p14 /usr/lib/gdm3/gdm-x-session[1958]: (II) AMDGPU(0): EDID vendor "LGD", prod id 1544
...
Apr 9 22:02:39 mgs-p14 wpa_supplicant[845]: wlp3s0: SME: Trying to authenticate with e4:ca:12:e3:3e:5f (SSID='MIWIFI_5G_dVgS' freq=5260 MHz)
Apr 9 22:02:39 mgs-p14 kernel: [ 3305.890829] [drm:mod_hdcp_add_display_topology [amdgpu]] *ERROR* Failed to add display topology, DTM TA is not initialized.
Apr 9 22:02:39 mgs-p14 kernel: [ 3306.964851] wlp3s0: authenticate with e4:ca:12:e3:3e:5f
Apr 9 22:02:39 mgs-p14 NetworkManager[812]: <info> [1617998559.0741] device (wlp3s0): supplicant interface state: ready -> authenticating
Apr 9 22:02:39 mgs-p14 NetworkManager[812]: <info> [1617998559.0742] device (p2p-dev-wlp3s0): supplicant management interface state: ready -> authenticating
Apr 9 22:02:39 mgs-p14 kernel: [ 3306.975649] wlp3s0: send auth to e4:ca:12:e3:3e:5f (try 1/3)
Apr 9 22:02:39 mgs-p14 kernel: [ 3307.002302] wlp3s0: authenticated
...
Apr 9 22:02:47 mgs-p14 dbus-daemon[1879]: [session uid=1000 pid=1879] Activating service name='org.gnome.Nautilus' requested by ':1.38' (uid=1000 pid=2162 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 9 22:02:47 mgs-p14 dbus-daemon[1879]: [session uid=1000 pid=1879] Successfully activated service 'org.gnome.Nautilus'
Apr 9 22:02:48 mgs-p14 org.gnome.Nautilus[11968]: Failed to register: Unable to acquire bus name 'org.gnome.Nautilus'
Apr 9 22:02:48 mgs-p14 dbus-daemon[1879]: [session uid=1000 pid=1879] Successfully activated service 'org.freedesktop.FileManag
答案3
从命令行暂停似乎没问题。
sudo pm-暂停
我有一台联想 T430,除了挂起之外,它运行良好。当我尝试唤醒它时,合上盖子或从菜单中单击“挂起”会严重减慢它的速度或完全锁定它。但上述命令完美运行。