Ho un iMac 27 "alla fine del 2012, OS X 10.8.4 e ieri sera si è svegliato dalla modalità di sospensione mentre ero a 3 metri di distanza. Nessuno, tranne me, era nella stanza. Dopo alcuni secondi la schermata principale è tornata di nuovo nera, ma lo schermo del secondo monitor (da LG, collegato tramite un adattatore a fulmine) ha continuato a brillare in una luce grigio scuro, quindi ho premuto un tasto sulla tastiera, il mac si è svegliato di nuovo, e l'ho inviato a dormire premendo il pulsante di accensione. Ora entrambi gli schermi erano neri e sono andato a letto.
Oggi ho fatto google e ho trovato il comando pmset -g log
che stampa un hybernate-log, e in questo registro ho trovato prove per eventi di sveglia ancora più strani. Questa è una parte di questo registro:
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: EBB08E57-0FC8-4724-AD4B-30629C0130BE
2013-08-10 18:49:57 MESZ Sleep Power Button Sleep Sleep: Using AC 4204 secs
2013-08-10 18:49:57 MESZ Assertions PID 182(apsd) Released ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:16:58 id:0xc00000d3d Aggregate:0x1040
2013-08-10 18:49:57 MESZ WakeRequests Clients requested wake events: None
2013-08-10 20:00:01 MESZ DarkWake DarkWake due to EC.SleepTimer/SleepTimer: Using AC 0 secs
2013-08-10 20:00:01 MESZ HibernateStats hibmode=0 standbydelay=4200 rd=662 ms
2013-08-10 20:00:01 MESZ Sleep Maintenance Sleep Sleep: Using AC 10250 secs
2013-08-10 20:00:04 MESZ Assertions PID 13(UserEventAgent) Created BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.DarkWakeFire)" 00:00:04 id:0xc00000d86 Aggregate:0x1040
2013-08-10 20:00:04 MESZ Assertions PID 1979(SoftwareUpdateC) Created BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.BackgroundDownload)" 00:00:04 id:0xc00000d88 Aggregate:0x1040
2013-08-10 20:00:06 MESZ Assertions PID 1979(SoftwareUpdateC) Released BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.BackgroundDownload)" 00:00:06 id:0xc00000d88 Aggregate:0x1040
2013-08-10 20:00:06 MESZ Assertions PID 13(UserEventAgent) Released BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.DarkWakeFire)" 00:00:06 id:0xc00000d86 Aggregate:0x1040
2013-08-10 20:00:17 MESZ SlowResponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 15994 ms
2013-08-10 20:00:17 MESZ WakeRequests Clients requested wake events: None
2013-08-10 22:50:51 MESZ Wake Wake from Standby due to EC.SleepTimer/SleepTimer: Using AC 39 secs
2013-08-10 22:50:51 MESZ HibernateStats hibmode=0 standbydelay=4200 rd=654 ms
2013-08-10 22:50:59 MESZ Assertions PID 182(apsd) Created ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:05 id:0xc00000dca Aggregate:0x1040
2013-08-10 22:51:13 MESZ Assertions PID 182(apsd) TimedOut ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:19 id:0xc00000dca Aggregate:0x1040
2013-08-10 22:51:13 MESZ Assertions Summary- Aggregate:0x40 Using AC
Sleep/Wakes since boot:27 Dark Wake Count in this sleep cycle:1
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: 5CD9A4D4-6924-4423-A3FF-D2DCC23BAD4F
2013-08-10 22:51:30 MESZ Sleep Power Button Sleep Sleep: Using AC 4205 secs
2013-08-10 22:51:30 MESZ SlowResponse Kernel: Response from powerd is slow 15997 ms
2013-08-10 22:51:30 MESZ Assertions PID 182(apsd) Released ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:37 id:0xc00000dca Aggregate:0x1040
2013-08-10 22:51:30 MESZ WakeRequests Clients requested wake events: None
2013-08-11 00:01:35 MESZ DarkWake DarkWake due to EC.SleepTimer/SleepTimer: Using AC 0 secs
2013-08-11 00:01:35 MESZ HibernateStats hibmode=0 standbydelay=4200 rd=654 ms
2013-08-11 00:01:35 MESZ Sleep Maintenance Sleep Sleep: Using AC 10240 secs
2013-08-11 00:01:40 MESZ Assertions PID 144(UserEventAgent) Created BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.DarkWakeFire)" 00:00:04 id:0xc00000de6 Aggregate:0x1040
2013-08-11 00:01:44 MESZ Assertions PID 144(UserEventAgent) Released BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.DarkWakeFire)" 00:00:09 id:0xc00000de6 Aggregate:0x40
2013-08-11 00:01:51 MESZ SlowResponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 16002 ms
2013-08-11 00:01:51 MESZ WakeRequests Clients requested wake events: None
2013-08-11 02:52:04 MESZ Assertions PID 2005(helpd) Created BackgroundTask "com.apple.helpd.sdmbuilding" 00:00:07 id:0xc00000df9 Aggregate:0x1040
2013-08-11 02:52:15 MESZ Wake Wake from Standby due to EC.SleepTimer/SleepTimer: Using AC 313 secs
2013-08-11 02:52:15 MESZ HibernateStats hibmode=0 standbydelay=4200 rd=717 ms
2013-08-11 02:52:25 MESZ Assertions PID 182(apsd) Created ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:08 id:0xc00000e23 Aggregate:0x1040
2013-08-11 02:52:37 MESZ Assertions PID 182(apsd) TimedOut ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:20 id:0xc00000e23 Aggregate:0x1040
2013-08-11 02:52:37 MESZ Assertions Summary- Aggregate:0x1040 Using AC
2013-08-11 02:53:17 MESZ Assertions PID 2016(SubmitDiagInfo) Created PreventSystemSleep "com.apple.SubmitDiagInfo.run" 00:00:00 id:0x800000e35 Aggregate:0x11140
2013-08-11 02:53:18 MESZ Assertions PID 2016(SubmitDiagInfo) Released PreventSystemSleep "com.apple.SubmitDiagInfo.run" 00:00:00 id:0x800000e35 Aggregate:0x1040
2013-08-11 02:57:28 MESZ Assertions PID 2005(helpd) Released BackgroundTask "com.apple.helpd.sdmbuilding" 00:05:32 id:0xc00000df9 Aggregate:0x40
Sleep/Wakes since boot:29 Dark Wake Count in this sleep cycle:1
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: B5690C9E-7E6A-4FC8-9C71-D561FC8CD702
2013-08-11 02:57:28 MESZ Sleep Idle Sleep Sleep: Using AC 4204 secs
2013-08-11 02:57:28 MESZ SlowResponse Kernel: Response from powerd is slow 15998 ms
2013-08-11 02:57:28 MESZ Assertions PID 182(apsd) Released ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:05:11 id:0xc00000e23 Aggregate:0x1040
2013-08-11 02:57:28 MESZ WakeRequests Clients requested wake events: None
2013-08-11 04:07:32 MESZ DarkWake DarkWake due to EC.SleepTimer/SleepTimer: Using AC 0 secs
2013-08-11 04:07:32 MESZ HibernateStats hibmode=0 standbydelay=4200 rd=717 ms
2013-08-11 04:07:32 MESZ Sleep Maintenance Sleep Sleep: Using AC 5314 secs
2013-08-11 04:07:38 MESZ Assertions PID 144(UserEventAgent) Created BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.DarkWakeFire)" 00:00:05 id:0xc00000e4a Aggregate:0x1040
2013-08-11 04:07:42 MESZ Assertions PID 144(UserEventAgent) Released BackgroundTask "Checking for Software Updates (com.apple.SoftwareUpdate.DarkWakeFire)" 00:00:09 id:0xc00000e4a Aggregate:0x40
2013-08-11 04:07:48 MESZ SlowResponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 15995 ms
2013-08-11 04:07:48 MESZ WakeRequests Clients requested wake events: None
2013-08-11 05:36:06 MESZ Wake Wake from Standby due to EHC1/: Using AC 1786 secs
2013-08-11 05:36:06 MESZ HibernateStats hibmode=0 standbydelay=4200 rd=807 ms
2013-08-11 05:36:14 MESZ Assertions PID 182(apsd) Created ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:06 id:0xc00000e6e Aggregate:0x1040
2013-08-11 05:36:28 MESZ Assertions PID 182(apsd) TimedOut ApplePushServiceTask "com.apple.apsd-waitingformessages-push.apple.com" 00:00:20 id:0xc00000e6e Aggregate:0x1040
2013-08-11 05:36:28 MESZ Assertions Summary- Aggregate:0x40 Using AC
2013-08-11 05:36:53 MESZ Assertions PID 124(coreaudiod) Created NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:08 id:0x100000e7d Aggregate:0x42
2013-08-11 05:37:31 MESZ Assertions PID 124(coreaudiod) Released NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:45 id:0x100000e7d Aggregate:0x40
2013-08-11 05:38:01 MESZ Assertions PID 124(coreaudiod) Created NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:07 id:0x100000e82 Aggregate:0x42
2013-08-11 05:40:44 MESZ Assertions PID 124(coreaudiod) Released NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:02:50 id:0x100000e82 Aggregate:0x40
2013-08-11 05:42:05 MESZ Assertions PID 124(coreaudiod) Created NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:07 id:0x100000e8a Aggregate:0x42
2013-08-11 05:47:15 MESZ Assertions PID 124(coreaudiod) Released NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:05:17 id:0x100000e8a Aggregate:0x40
2013-08-11 05:57:31 MESZ Assertions PID 124(coreaudiod) Created NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:07 id:0x100000e9b Aggregate:0x42
2013-08-11 05:58:25 MESZ Assertions PID 124(coreaudiod) Released NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:01:01 id:0x100000e9b Aggregate:0x40
2013-08-11 05:58:57 MESZ Assertions PID 124(coreaudiod) Created NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:07 id:0x100000e9d Aggregate:0x42
2013-08-11 05:59:18 MESZ Assertions PID 124(coreaudiod) Released NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:28 id:0x100000e9d Aggregate:0x40
2013-08-11 06:00:08 MESZ Assertions PID 124(coreaudiod) Created NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:00:07 id:0x100000e9e Aggregate:0x42
2013-08-11 06:05:41 MESZ Assertions PID 124(coreaudiod) Released NoIdleSleepAssertion "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,2:0'.noidlesleep" 00:05:40 id:0x100000e9e Aggregate:0x40
Sleep/Wakes since boot:31 Dark Wake Count in this sleep cycle:1
L'evento di risveglio spettrale che stavo osservando era il 2013-08-10 alle 22:50:51 Ma il logfile mostra ancora più attività mentre stavo dormendo nel mio letto:
2013-08-11 00:01:35
2013-08-11 02:52:04
2013-08-11 04:07:32
Il prossimo risveglio è stato avviato da me: 2013-08-11 04:07:32
Ma quali sono le ragioni di quegli eventi nel cuore della notte? Perché il mio iMac si è svegliato?
UPDATE
syslog |grep -i "Wake reason"
Aug 10 20:00:00 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 10 22:50:31 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 00:01:34 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 02:51:55 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 04:07:31 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 05:35:46 huberts-imac kernel[0] <Debug>: Wake reason: EHC1
Aug 11 07:15:55 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 09:15:54 huberts-imac kernel[0] <Debug>: Wake reason: EHC1
Aug 11 11:14:09 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 12:40:27 huberts-imac kernel[0] <Debug>: Wake reason: EHC1
Aug 11 13:11:04 huberts-imac kernel[0] <Debug>: Wake reason: EHC1
Aug 11 15:08:25 huberts-imac kernel[0] <Debug>: Wake reason: EC.SleepTimer (SleepTimer)
Aug 11 17:23:56 huberts-imac kernel[0] <Debug>: Wake reason: EHC1
EHC1
corrisponde alle volte in cui ho riattivato la macchina.
EC.SleepTimer
sono i risvegli avvenuti senza la mia interazione.
Cosa sono EHC1
e EC.SleepTimer
?