我有 Ubuntu 14.04.3 32 位操作系统。我让电脑在闲置 5 分钟后进入睡眠状态。直到今天它都运行正常。我应该说 Ubuntu 的电源管理处理并不可靠。我的系统是最新的。
我也在 shell 中尝试过
sudo pm-suspend
结果是一样的,立刻就醒了。
我让孩子们使用我的电脑,他们可能会无意中更改一些设置吗?
我怎么知道问题是什么?
编辑:这是dmesg
与电源管理相关的输出:
[ 2463.965022] CPU1 is up
[ 2463.966158] ACPI: Waking up from system sleep state S3
[ 2463.971671] uhci_hcd 0000:00:1a.0: System wakeup disabled by ACPI
[ 2463.971713] uhci_hcd 0000:00:1a.1: System wakeup disabled by ACPI
[ 2463.972208] uhci_hcd 0000:00:1d.0: System wakeup disabled by ACPI
[ 2463.972239] uhci_hcd 0000:00:1d.1: System wakeup disabled by ACPI
[ 2463.972284] uhci_hcd 0000:00:1d.2: System wakeup disabled by ACPI
[ 2463.988468] PM: noirq resume of devices complete after 16.985 msecs
[ 2463.988985] PM: early resume of devices complete after 0.487 msecs
[ 2463.992121] usb usb3: root hub lost power or was reset
[ 2463.992175] usb usb4: root hub lost power or was reset
[ 2463.992426] usb usb5: root hub lost power or was reset
[ 2463.992532] usb usb6: root hub lost power or was reset
[ 2463.992582] usb usb7: root hub lost power or was reset
[ 2463.992714] pcieport 0000:00:1c.2: System wakeup disabled by ACPI
[ 2464.027300] sd 2:0:0:0: [sda] Starting disk
[ 2464.133550] rtc_cmos 00:01: System wakeup disabled by ACPI
[ 2464.352083] ata4: SATA link down (SStatus 0 SControl 300)
[ 2464.360273] ata5: SATA link down (SStatus 0 SControl 300)
[ 2464.492085] usb 6-1: reset low-speed USB device number 2 using uhci_hcd
[ 2464.831680] PM: resume of devices complete after 842.689 msecs
[ 2464.832214] PM: Finishing wakeup.
以下是 cat /proc/acpi/wakeup 的输出:
Device S-state Status Sysfs node
UHC1 S3 *enabled pci:0000:00:1d.0
UHC2 S3 *enabled pci:0000:00:1d.1
UHC3 S3 *enabled pci:0000:00:1d.2
UHC4 S3 *enabled pci:0000:00:1a.0
UHC5 S3 *enabled pci:0000:00:1a.1
EHC1 S3 *disabled pci:0000:00:1d.7
EHC2 S3 *disabled pci:0000:00:1a.7
PXS1 S4 *disabled
EXP3 S4 *disabled pci:0000:00:1c.2
EXP5 S4 *disabled
EXP6 S4 *disabled
AZAL S4 *disabled pci:0000:00:1b.0
MODM S4 *disabled
我目前正在尝试此链接中的建议Ubuntu 休眠几秒钟后被唤醒
EDIT2:这是 /var/log/pm-suspend.log 的输出
Mon Aug 24 17:34:15 EEST 2015: performing suspend
/etc/uswsusp.conf: Could not stat configuration file
KMS graphics driver is in use, skipping quirks.
Mon Aug 24 17:34:25 EEST 2015: Awake.
Mon Aug 24 17:34:25 EEST 2015: Running hooks for resume
Running hook /etc/pm/sleep.d/novatel_3g_suspend resume suspend:
/etc/pm/sleep.d/novatel_3g_suspend resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
/usr/lib/pm-utils/sleep.d/99video resume suspend: disabled.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:
/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend:
/dev/sda:
setting Advanced Power Management level to 0xfe (254)
APM_level = 254
/usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95anacron resume suspend:
/usr/lib/pm-utils/sleep.d/95anacron resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:
/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend:
Selected interface 'wlan0'
OK
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55wicd resume suspend:
Unable to connect to wicd daemon - is it running?
/usr/lib/pm-utils/sleep.d/55wicd resume suspend: disabled.
Running hook /usr/lib/pm-utils/sleep.d/50unload_alx resume suspend:
/usr/lib/pm-utils/sleep.d/50unload_alx resume suspend: success.
Running hook /etc/pm/sleep.d/20_custom-ehci_hcd resume suspend:
/etc/pm/sleep.d/20_custom-ehci_hcd resume suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:
/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.
Running hook /etc/pm/sleep.d/10_grub-common resume suspend:
/etc/pm/sleep.d/10_grub-common resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Running hook /etc/pm/sleep.d/00CPU resume suspend:
/etc/pm/sleep.d/00CPU resume suspend: not executable.
Running hook /usr/lib/pm-utils/sleep.d/000record-status resume suspend:
/usr/lib/pm-utils/sleep.d/000record-status resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.
Mon Aug 24 17:34:25 EEST 2015: Finished.