![Fedora 30:笔记本电脑无法关闭/重新启动或休眠](https://linux22.com/image/159577/Fedora%2030%EF%BC%9A%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91%E6%97%A0%E6%B3%95%E5%85%B3%E9%97%AD%2F%E9%87%8D%E6%96%B0%E5%90%AF%E5%8A%A8%E6%88%96%E4%BC%91%E7%9C%A0.png)
我已经安装f30
并遇到了这个问题:当我打开笔记本电脑并合上盖子时,系统会按照我的指示进入休眠状态。
当我打开盖子时,系统会再次启动并运行,但当我重新关闭盖子时,笔记本电脑不会休眠!它表现得就像什么都没发生一样。
此外,当屏幕保持非活动状态一段时间并要求我输入密码时,重新登录大约需要 15 秒。在第一次成功休眠后打开盖子时会发生这种情况。
我还尝试通过键入 来关闭系统sudo poweroff
,但大约一个小时后,我在屏幕上看到类似以下内容,因此我决定通过按电源按钮手动启动系统。
https://cernbox.cern.ch/index.php/s/SnKIMmbOm5bfYpu https://cernbox.cern.ch/index.php/s/NpYvhtj4Js58wHw
另外,我注意到一旦我使用的程序 ( texmaker
) 冻结,就会发生这种行为。journalctl -r
当我注意到冰冻时,这就是让我着迷的原因
-- Logs begin at Sat 2019-08-10 13:27:14 CEST, end at Wed 2019-08-28 15:29:47 CEST. --
Aug 28 15:29:47 pcen35240 kernel: ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_AML_MUTEX_NOT_ACQUIRED) (20190509/psparse-529)
Aug 28 15:29:47 pcen35240 kernel: ACPI Error: Cannot release Mutex [PATM], not acquired (20190509/exmutex-357)
Aug 28 15:29:16 pcen35240 /usr/libexec/gdm-x-session[1716]: # watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
Aug 28 15:29:16 pcen35240 /usr/libexec/gdm-x-session[1716]: # unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
Aug 28 15:29:16 pcen35240 /usr/libexec/gdm-x-session[1716]: # watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
Aug 28 15:29:16 pcen35240 /usr/libexec/gdm-x-session[1716]: # _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
Aug 28 15:29:16 pcen35240 /usr/libexec/gdm-x-session[1716]: # _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566998851,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566998849,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566998848,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566998564,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566998557,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997851,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997849,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997848,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997847,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997844,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997843,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997841,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997817,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997816,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997762,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997755,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997742,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997741,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:27:31 pcen35240 /usr/libexec/gdm-x-session[1716]: ![1566997738,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
Aug 28 15:26:46 pcen35240 /usr/libexec/gdm-x-session[1716]: Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
Aug 28 15:24:45 pcen35240 /usr/libexec/gdm-x-session[1716]: Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
Aug 28 15:24:18 pcen35240 systemd[1677]: tracker-extract.service: Succeeded.
Aug 28 15:24:00 pcen35240 tracker-miner-f[2234]: Could not process 'file:///home/astamato/Documents/n_ToF/240Pu/Papers/PRC/tex/240Pu.synctex(busy)': Error when getting information for file “/home/astamato/Documents/n_ToF/240Pu/Papers/PRC>
Aug 28 15:23:48 pcen35240 systemd[1677]: Started Tracker metadata extractor.
Aug 28 15:23:48 pcen35240 systemd[1677]: Starting Tracker metadata extractor...
Aug 28 15:22:29 pcen35240 /usr/libexec/gdm-x-session[1716]: Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
Aug 28 15:19:46 pcen35240 /usr/libexec/gdm-x-session[1716]: Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
Aug 28 15:18:19 pcen35240 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 28 15:18:19 pcen35240 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 28 15:18:19 pcen35240 systemd[1]: Started dnf makecache.
Aug 28 15:18:19 pcen35240 systemd[1]: dnf-makecache.service: Succeeded.
Aug 28 15:18:19 pcen35240 dnf[20705]: Metadata cache refreshed recently.
Aug 28 15:18:18 pcen35240 systemd[1]: Starting dnf makecache...
Aug 28 15:18:18 pcen35240 systemd[1677]: tracker-extract.service: Succeeded.
Aug 28 15:17:56 pcen35240 systemd[1677]: Started Tracker metadata extractor.
Aug 28 15:17:56 pcen35240 systemd[1677]: Starting Tracker metadata extractor...
Aug 28 15:16:52 pcen35240 systemd[1677]: tracker-extract.service: Succeeded.
Aug 28 15:16:41 pcen35240 systemd[1677]: Started Tracker metadata extractor.
Aug 28 15:16:41 pcen35240 systemd[1677]: Starting Tracker metadata extractor...
Aug 28 15:15:51 pcen35240 /usr/libexec/gdm-x-session[1716]: Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested)
Aug 28 15:15:19 pcen35240 systemd[1677]: tracker-extract.service: Succeeded.
Aug 28 15:15:08 pcen35240 systemd[1677]: Started Tracker metadata extractor.
Aug 28 15:15:08 pcen35240 systemd[1677]: Starting Tracker metadata extractor...
Aug 28 15:14:27 pcen35240 systemd[1677]: tracker-extract.service: Succeeded.
Aug 28 15:14:16 pcen35240 systemd[1677]: Started Tracker metadata extractor.
Aug 28 15:14:16 pcen35240 systemd[1677]: Starting Tracker metadata extractor...
Aug 28 15:14:04 pcen35240 systemd[1677]: tracker-extract.service: Succeeded.
Aug 28 15:13:53 pcen35240 systemd[1677]: Started Tracker metadata extractor.
Aug 28 15:13:53 pcen35240 systemd[1677]: Starting Tracker metadata extractor...
其次,grub
在硬件关闭后,笔记本电脑开机时不加载。我不确定所有这些是否相互关联。
知道可能是什么问题以及如何追踪它吗?
这是journal -- system
(2019年8月26日)
这是我的/etc/systemd/logind.conf
文件
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192