更新:我曾尝试暂停 Linux Mint 17.3 XFCE 的运行。症状完全相同:系统未唤醒。
我在跑步
$ uname -a
Linux inspiron 4.1.15-gentoo-r1 #2 SMP Thu Feb 11 08:49:44 MSK 2016 x86_64 Intel(R) Atom(TM) CPU N455 @ 1.66GHz GenuineIntel GNU/Linux
我已经安装
$ eix upower -I
[I] sys-power/upower-pm-utils
Available versions: 0.9.23-r2 {+introspection ios KERNEL="FreeBSD linux"}
Installed versions: 0.9.23-r2(22:45:14 25/02/2016)(introspection -ios KERNEL="linux -FreeBSD")
Homepage: http://upower.freedesktop.org/
Description: The upstream upower 0.9 git branch for use with sys-power/pm-utils
当我请求系统暂停时,系统运行正常:硬盘停止发出噪音,屏幕关闭,电源指示灯开始慢慢亮起和熄灭,就像在 Windows 上一样。但是,当我尝试恢复时,屏幕没有重新打开。硬盘再次启动,电源指示灯恢复为常亮。
为了调试这个问题,我复制了/var/log
挂起之前的版本,然后我挂起,尝试恢复,当它失败时,我按住电源按钮 5 秒钟关闭了机器。然后我从 USB 启动到实时系统并复制了更新的/var/log
。以下是两个版本之间的差异:
diff log1/messages log2/messages
10354a10355,10380
> Feb 28 11:39:06 inspiron kernel: wlp7s0: deauthenticating from ec:43:f6:04:63:00 by local choice (Reason: 3=DEAUTH_LEAVING)
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <info> sleep requested (sleeping: no enabled: yes)
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <info> sleeping...
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <info> (wlp7s0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <info> (wlp7s0): canceled DHCP transaction, DHCP client pid 2025
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <info> (wlp7s0): DHCPv4 state changed bound -> done
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <info> NetworkManager state is now ASLEEP
> Feb 28 11:39:06 inspiron kernel: rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case not processed
> Feb 28 11:39:06 inspiron kernel: rtl8192c_common:rtl92c_firmware_selfreset(): 8051 reset fail.
> Feb 28 11:39:06 inspiron kernel: cfg80211: Calling CRDA to update world regulatory domain
> Feb 28 11:39:06 inspiron kernel: cfg80211: World regulatory domain updated:
> Feb 28 11:39:06 inspiron kernel: cfg80211: DFS Master region: unset
> Feb 28 11:39:06 inspiron kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
> Feb 28 11:39:06 inspiron kernel: cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
> Feb 28 11:39:06 inspiron NetworkManager[1960]: <warn> Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
> Feb 28 11:39:06 inspiron dbus[1936]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
> Feb 28 11:39:06 inspiron dbus[1936]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
> Feb 28 11:39:06 inspiron nm-dispatcher[2740]: Dispatching action 'down' for wlp7s0
diff log1/pm-powersave.log log2/pm-powersave.log
703a704,746
> Running hook /usr/lib64/pm-utils/power.d/disable_wol false:
> /usr/lib64/pm-utils/power.d/disable_wol false: not applicable.
>
> Running hook /usr/lib64/pm-utils/power.d/intel-audio-powersave false:
> Setting power savings for snd_hda_intel to 0...Done.
> /usr/lib64/pm-utils/power.d/intel-audio-powersave false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/laptop-mode false:
> Laptop mode disabled.
> /usr/lib64/pm-utils/power.d/laptop-mode false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/pci_devices false:
> Setting Host Bridge 0000:00:00.0 to on
> Setting Audio device 0000:00:1b.0 to on
> Setting Ethernet device 0000:05:00.0 to on
> Setting Wireless device 0000:07:00.0 to on
> /usr/lib64/pm-utils/power.d/pci_devices false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/pcie_aspm false:
> /usr/lib64/pm-utils/power.d/pcie_aspm: line 9: echo: write error: Operation not permitted
> /usr/lib64/pm-utils/power.d/pcie_aspm false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/sata_alpm false:
> Setting SATA ALPM on host0 to max_performance...Done.
> Setting SATA ALPM on host1 to max_performance...Done.
> Setting SATA ALPM on host2 to max_performance...Done.
> Setting SATA ALPM on host3 to max_performance...Done.
> /usr/lib64/pm-utils/power.d/sata_alpm false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/sched-powersave false:
> **sched policy powersave OFF
> /usr/lib64/pm-utils/power.d/sched-powersave false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/usb_bluetooth false:
> /usr/lib64/pm-utils/power.d/usb_bluetooth false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/wireless false:
> Turning powersave for wlp7s0 off...Done.
> /usr/lib64/pm-utils/power.d/wireless false: success.
>
> Running hook /usr/lib64/pm-utils/power.d/xfs_buffer false:
> /usr/lib64/pm-utils/power.d/xfs_buffer false: not applicable.
>
diff log1/pm-suspend.log log2/pm-suspend.log
295a296,354
> Initial commandline parameters:
> Blacklisting 01grub.
> Blacklisting 90clock.
> Sun Feb 28 11:39:06 MSK 2016: Running hooks for suspend.
> Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:
> Linux inspiron 4.1.15-gentoo-r1 #2 SMP Thu Feb 11 08:49:44 MSK 2016 x86_64 Intel(R) Atom(TM) CPU N455 @ 1.66GHz GenuineIntel GNU/Linux
> Module Size Used by
> snd_hda_codec_realtek 58416 1
> snd_hda_codec_generic 53967 1 snd_hda_codec_realtek
> rtl8192ce 71279 0
> snd_hda_intel 18165 2
> snd_hda_controller 15635 1 snd_hda_intel
> snd_hda_codec 70339 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
> snd_hwdep 5794 1 snd_hda_codec
> rtl_pci 29756 1 rtl8192ce
> snd_hda_core 16463 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
> snd_pcm 79924 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
> rtl8192c_common 55680 1 rtl8192ce
> r8169 68816 0
> rtlwifi 80372 3 rtl_pci,rtl8192c_common,rtl8192ce
> snd_timer 18498 1 snd_pcm
> snd 56880 10 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
> total used free shared buff/cache available
> Mem: 2041172 390684 887028 59576 763460 1547464
> Swap: 4194300 0 4194300
> /usr/lib64/pm-utils/sleep.d/00logging suspend suspend: success.
>
> Running hook /usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:
> Blacklisting 01grub.
> Blacklisting 90clock.
> /usr/lib64/pm-utils/sleep.d/00powersave suspend suspend: success.
>
> Running hook /usr/lib64/pm-utils/sleep.d/01grub suspend suspend:
> /usr/lib64/pm-utils/sleep.d/01grub suspend suspend: disabled.
>
> Running hook /usr/lib64/pm-utils/sleep.d/50unload_alx suspend suspend:
> /usr/lib64/pm-utils/sleep.d/50unload_alx suspend suspend: success.
>
> Running hook /usr/lib64/pm-utils/sleep.d/75modules suspend suspend:
> /usr/lib64/pm-utils/sleep.d/75modules suspend suspend: success.
>
> Running hook /usr/lib64/pm-utils/sleep.d/90clock suspend suspend:
> /usr/lib64/pm-utils/sleep.d/90clock suspend suspend: disabled.
>
> Running hook /usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend:
> /usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend: success.
>
> Running hook /usr/lib64/pm-utils/sleep.d/95led suspend suspend:
> /usr/lib64/pm-utils/sleep.d/95led suspend suspend: not applicable.
>
> Running hook /usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
> Kernel modesetting video driver detected, not using quirks.
> /usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
>
> Running hook /usr/lib64/pm-utils/sleep.d/99video suspend suspend:
> kernel.acpi_video_flags = 0
> /usr/lib64/pm-utils/sleep.d/99video suspend suspend: success.
>
> Sun Feb 28 11:39:08 MSK 2016: performing suspend
我没有发现任何可疑之处,只是它似乎不包含任何事物关于简历。
Gentoo 维基提及“禁用 BIOS 中的安全芯片”可能会有帮助,但我似乎没有在 BIOS 中看到任何有关“安全芯片”的设置。
可能存在什么问题?我该如何解决?
更新:根据@rindeal的评论,这是我的图形驱动程序:
$ eix intel -I
[I] x11-drivers/xf86-video-intel
Available versions: ~*2.9.1 2.21.15 2.99.917-r2 ~2.99.917_p20160218 ~2.99.917_p20160224 {debug dri (+)dri3 glamor +sna +udev uxa xvmc}
Installed versions: 2.99.917-r2(05:31:32 05/02/2016)(dri sna udev -debug -uxa -xvmc)
Homepage: http://xorg.freedesktop.org/
Description: X.Org driver for Intel cards