Minha máquina parece ativar a partir da própria suspensão , em intervalos irregulares. Causando o poder de morrer e desligar a máquina.
É um grande aborrecimento, quando a máquina está no meu caso e ela acorda. E bastante insalubre também, eu iria persuadir.
Ele também acorda no meio da noite, e é por isso que tenho que lembrar de ligar a fonte de alimentação, ou então eu tenho uma bateria descarregada pela manhã.
A máquina é uma Lenovo X1 Carbon com o Ubuntu 14.04. Eu uso com um dock OneLink em
trabalho, mas apenas com a fonte de alimentação e um monitor de porta de exibição em casa.
Agora aqui está o que eu fiz até agora. Eu o suspendi, e depois de cerca de 3 horas, ele acordou, como os registros abaixo testemunham:
de pm_suspend
:
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:
/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Thu Jul 24 17:18:26 CEST 2014: performing suspend
Thu Jul 24 20:17:04 CEST 2014: Awake.
Thu Jul 24 20:17:04 CEST 2014: 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: success.
de syslog
:
$ grep -B 5 "20:17:0" /var/log/syslog.1
Jul 24 17:18:25 lobners-biq dbus[548]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 24 17:18:25 lobners-biq dbus[548]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Jul 24 17:18:25 lobners-biq dbus[548]: [system] Successfully activated service 'org.freedesktop.systemd1'
Jul 24 17:18:25 lobners-biq anacron[11164]: Anacron 2.3 started on 2014-07-24
Jul 24 17:18:25 lobners-biq anacron[11164]: Normal exit (0 jobs run)
Jul 24 20:17:04 lobners-biq kernel: [ 7351.710460] PM: Syncing filesystems ... done.
Jul 24 20:17:04 lobners-biq kernel: [ 7351.720943] PM: Preparing system for mem sleep
Jul 24 20:17:04 lobners-biq kernel: [ 7351.721161] Freezing user space processes ... (elapsed 0.002 seconds) done.
Jul 24 20:17:04 lobners-biq kernel: [ 7351.723370] Freezing remaining freezable tasks ... (elapsed 0.047 seconds) done.
Jul 24 20:17:04 lobners-biq kernel: [ 7351.770482] PM: Entering mem sleep
Jul 24 20:17:04 lobners-biq kernel: [ 7351.770544] Suspending console(s) (use no_console_suspend to debug)
Jul 24 20:17:04 lobners-biq kernel: [ 7351.897854] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 24 20:17:04 lobners-biq kernel: [ 7351.901194] sd 0:0:0:0: [sda] Stopping disk
Jul 24 20:17:04 lobners-biq kernel: [ 7352.149522] PM: suspend of devices complete after 378.694 msecs
Jul 24 20:17:04 lobners-biq kernel: [ 7352.165538] PM: late suspend of devices complete after 16.005 msecs
Jul 24 20:17:04 lobners-biq kernel: [ 7352.181723] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Jul 24 20:17:04 lobners-biq kernel: [ 7352.197584] e1000e 0000:00:19.0: System wakeup enabled by ACPI
Jul 24 20:17:04 lobners-biq kernel: [ 7352.229549] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
Jul 24 20:17:04 lobners-biq kernel: [ 7352.245757] PM: noirq suspend of devices complete after 80.176 msecs
Jul 24 20:17:04 lobners-biq kernel: [ 7352.246048] ACPI: Preparing to enter system sleep state S3
Jul 24 20:17:04 lobners-biq kernel: [ 7352.247624] PM: Saving platform NVS memory
Jul 24 20:17:04 lobners-biq kernel: [ 7352.248416] Disabling non-boot CPUs ...
Jul 24 20:17:04 lobners-biq kernel: [ 7352.249937] smpboot: CPU 1 is now offline
Jul 24 20:17:04 lobners-biq kernel: [ 7352.353589] smpboot: CPU 2 is now offline
Jul 24 20:17:04 lobners-biq kernel: [ 7352.457641] smpboot: CPU 3 is now offline
(clipped)
Eu sei que posso desabilitar qual hardware está autorizado a ativá-lo, mas não sei qual hardware é o culpado. Eu desativei o LID (usando acpitool -W 1
), mas ainda acordei.
$ acpitool -w
Device S-state Status Sysfs node
---------------------------------------
1. LID S4 *disabled
2. SLPB S3 *enabled
3. IGBE S4 *disabled pci:0000:00:19.0
4. EXP2 S4 *disabled pci:0000:00:1c.1
5. XHCI S3 *enabled pci:0000:00:14.0
6. EHC1 S3 *enabled pci:0000:00:1d.0
Em seguida, desativei os dois dispositivos USB (5 e 6), mas ele ainda é ativado.
$ acpitool -w
Device S-state Status Sysfs node
---------------------------------------
1. LID S4 *disabled
2. SLPB S3 *enabled
3. IGBE S4 *disabled pci:0000:00:19.0
4. EXP2 S4 *disabled pci:0000:00:1c.1
5. XHCI S3 *disabled pci:0000:00:14.0
6. EHC1 S3 *disabled pci:0000:00:1d.0
Novamente:
de pm_suspend
:
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:
/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Thu Jul 24 23:11:59 CEST 2014: performing suspend
Fri Jul 25 01:58:01 CEST 2014: Awake.
Fri Jul 25 01:58:01 CEST 2014: 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: success.
de syslog
:
$ grep -B 5 "01:58:" /var/log/syslog.1
Jul 24 23:11:58 lobners-biq dbus[548]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 24 23:11:58 lobners-biq dbus[548]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Jul 24 23:11:58 lobners-biq dbus[548]: [system] Successfully activated service 'org.freedesktop.systemd1'
Jul 24 23:11:58 lobners-biq anacron[16204]: Anacron 2.3 started on 2014-07-24
Jul 24 23:11:58 lobners-biq anacron[16204]: Normal exit (0 jobs run)
Jul 25 01:58:01 lobners-biq kernel: [17846.114837] PM: Syncing filesystems ... done.
Jul 25 01:58:01 lobners-biq kernel: [17846.147640] PM: Preparing system for mem sleep
Jul 25 01:58:01 lobners-biq kernel: [17846.147832] Freezing user space processes ... (elapsed 0.002 seconds) done.
Jul 25 01:58:01 lobners-biq kernel: [17846.149916] Freezing remaining freezable tasks ... (elapsed 0.090 seconds) done.
Jul 25 01:58:01 lobners-biq kernel: [17846.240249] PM: Entering mem sleep
Jul 25 01:58:01 lobners-biq kernel: [17846.240309] Suspending console(s) (use no_console_suspend to debug)
Jul 25 01:58:01 lobners-biq kernel: [17846.370439] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 25 01:58:01 lobners-biq kernel: [17846.373919] sd 0:0:0:0: [sda] Stopping disk
Jul 25 01:58:01 lobners-biq kernel: [17846.618053] PM: suspend of devices complete after 377.454 msecs
Jul 25 01:58:01 lobners-biq kernel: [17846.634086] PM: late suspend of devices complete after 16.022 msecs
Jul 25 01:58:01 lobners-biq kernel: [17846.666119] e1000e 0000:00:19.0: System wakeup enabled by ACPI
Jul 25 01:58:01 lobners-biq kernel: [17846.714324] PM: noirq suspend of devices complete after 80.194 msecs
Jul 25 01:58:01 lobners-biq kernel: [17846.714615] ACPI: Preparing to enter system sleep state S3
Jul 25 01:58:01 lobners-biq kernel: [17846.716223] PM: Saving platform NVS memory
Jul 25 01:58:01 lobners-biq kernel: [17846.717020] Disabling non-boot CPUs ...
Jul 25 01:58:01 lobners-biq kernel: [17846.718527] smpboot: CPU 1 is now offline
Jul 25 01:58:01 lobners-biq kernel: [17846.822120] smpboot: CPU 2 is now offline
Jul 25 01:58:01 lobners-biq kernel: [17846.822517] Broke affinity for irq 23
Jul 25 01:58:01 lobners-biq kernel: [17846.822519] Broke affinity for irq 57
Jul 25 01:58:01 lobners-biq kernel: [17846.926171] smpboot: CPU 3 is now offline
Jul 25 01:58:01 lobners-biq kernel: [17846.927621] ACPI: Low-level resume complete
Jul 25 01:58:01 lobners-biq kernel: [17846.927675] PM: Restoring platform NVS memory
Jul 25 01:58:01 lobners-biq kernel: [17846.928186] Enabling non-boot CPUs ...
Jul 25 01:58:01 lobners-biq kernel: [17846.928215] x86: Booting SMP configuration:
Jul 25 01:58:01 lobners-biq kernel: [17846.928216] smpboot: Booting Node 0 Processor 1 APIC 0x1
Jul 25 01:58:01 lobners-biq kernel: [17846.942510] CPU1 is up
Jul 25 01:58:01 lobners-biq kernel: [17846.942524] smpboot: Booting Node 0 Processor 2 APIC 0x2
Jul 25 01:58:01 lobners-biq kernel: [17846.956793] CPU2 is up
Jul 25 01:58:01 lobners-biq kernel: [17846.956806] smpboot: Booting Node 0 Processor 3 APIC 0x3
Jul 25 01:58:01 lobners-biq kernel: [17846.971073] CPU3 is up
Jul 25 01:58:01 lobners-biq kernel: [17846.974855] ACPI: Waking up from system sleep state S3
(clipped)
Embora os registros pm_suspend
sejam semelhantes, há alguma discrepância nos arquivos syslog
. Eu não sei o que fazer com isso?
Alguém tem uma ideia do que isso possa ser?
NOTA: a questão semelhante " Ubuntu 12.04 - Wakes from Suspend por si só "não é uma duplicata. Não parece que os scripts na resposta tenham algum efeito, e meu problema também não é com a falha em suspender ou ativar. Não consegue ficar suspenso. Qual é também o tipo de questão, mas a opção wake-on-lan no ethtool também é 'd' no meu caso.