MacBook dorme in modo casuale dopo essersi svegliato

2

Il mio MacBook Pro spesso dorme in modo casuale dopo il risveglio (i display si scuriscono e si sveglia subito dopo o deve essere svegliato premendo un tasto).

Ho notato che questo accade spesso subito dopo il risveglio del Mac, ma credo che sia accaduto anche durante il normale uso, senza alcun motivo apparente (nessun tasto viene premuto quando il computer va in stop.

Alcuni dettagli su MacBook:

  • MacBook esegue macOS High Sierra 10.13.1;
  • Il modello è MacBook Pro (15 pollici, 2017);
  • Un display Thunderbolt 2 esterno è collegato tramite un adattatore da Thunderbolt 3 a Thunderbolt 2;
  • Collego il mio iPhone tramite un dock USB che si collega al MacBook tramite il display Thunderbolt. Non riesco a confermare se il telefono è stato collegato quando si è verificato l'evento.
  • Di solito tengo il mio MacBook collegato a una fonte di alimentazione durante l'uso, il che significa che la maggior parte se non tutti questi eventi sono accaduti mentre era collegato all'alimentazione. Tuttavia, questi fattori potrebbero non essere correlati.

Sono riuscito a catturare i log da pmset -g log che penso siano attorno all'evento (non posso essere sicuro che questi log corrispondano esattamente all'evento ma guardando il log sembra corrispondere a quello che ho vissuto, con il display spegnere e riaccendere subito dopo):

2017-11-20 19:43:49 +0100 Kernel Client Acks    Delays to Sleep notifications: [powerd is slow(5019 ms)] [UPSB driver is slow(msg: SetState to 2)(939 ms)] [AppleHPMIECS driver is slow(msg: WillChangeState to 2)(1068 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 0)(337 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 0)(337 ms)] [IOBluetoothHostControllerUARTTransport driver is slow(msg: SetState to 0)(524 ms)]           
2017-11-20 19:43:49 +0100 Assertions            Kernel Idle sleep preventers: IODisplayWrangler          
2017-11-20 19:43:49 +0100 Notification          Display is turned on                                                                  
2017-11-20 19:43:49 +0100 Assertions            PID 193(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008d52 [System: PrevIdle SRPrevSleep kCPU]          
2017-11-20 19:43:49 +0100 Assertions            PID 193(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00  id:0x0xd00008d52 [System: PrevIdle]          
2017-11-20 19:43:50 +0100 Assertions            PID 120(hidd) Created UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968006.3" 00:00:00  id:0x0x900008d55 [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:43:51 +0100 Wake                  Wake from Normal Sleep [CDNVA] due to SPIT/UserActivity Assertion: Using AC (Charge:100%)           
2017-11-20 19:43:51 +0100 HibernateStats        hibmode=3 standbydelay=10800                                                          24            
2017-11-20 19:43:51 +0100 Kernel Client Acks    Delays to Wake notifications: [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(332 ms)] [UPSB driver is slow(msg: SetState to 2)(543 ms)] [UPSB driver is slow(msg: SetState to 2)(541 ms)] [DSB0 driver is slow(msg: SetState to 2)(418 ms)] [IGPU driver is slow(msg: SetState to 2)(971 ms)] [DSB1 driver is slow(msg: SetState to 2)(417 ms)] [DSB4 driver is slow(msg: SetState to 2)(417 ms)] [HDEF driver is slow(msg: SetState to 2)(969 ms)] [GFX0 driver is slow(msg: SetState to 2)(967 ms)] [HDAU driver is slow(msg: SetState to 2)(968 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(362 ms)] [IOThunderboltController driver is slow(msg: SetState to 2)(470 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(406 ms)]           
2017-11-20 19:43:51 +0100 Assertions            PID 77(powerd) Created InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:00  id:0x0xd00008d5c [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]          
2017-11-20 19:44:36 +0100 Assertions            PID 77(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:45  id:0x0xd00008d5c [System: PrevIdle DeclUser SRPrevSleep IPushSrvc kCPU kDisp]          
2017-11-20 19:44:36 +0100 Assertions            Summary- [System: PrevIdle DeclUser IPushSrvc kCPU kDisp] Using AC(Charge: 100)          
2017-11-20 19:44:41 +0100 Notification          Display is turned off                                                                 
2017-11-20 19:44:41 +0100 Assertions            PID 8278(nsurlsessiond) Summary PreventUserIdleSystemSleep "NSURLSessionTask 343480B1-55B5-42F3-A278-CCA8451F55B9" 00:00:01  id:0x0x100008efd [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8278(nsurlsessiond) Summary PreventUserIdleSystemSleep "NSURLSessionTask A67299B8-E500-403A-A9AE-0B660516C995" 00:00:01  id:0x0x100008efc [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8278(nsurlsessiond) Summary PreventUserIdleSystemSleep "NSURLSessionTask 96A26170-EBE5-4B75-9442-C0D80AE9919A" 00:00:01  id:0x0x100008efb [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8278(nsurlsessiond) Summary PreventUserIdleSystemSleep "NSURLSessionTask 7793AA40-7D22-4697-B405-3DEF86B6FAC5" 00:00:02  id:0x0x100008ef9 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8278(nsurlsessiond) Summary PreventUserIdleSystemSleep "NSURLSessionTask 30CBFF0F-66CF-4C2E-A877-C55D17EE203C" 00:00:02  id:0x0x100008ef8 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8278(nsurlsessiond) Summary PreventUserIdleSystemSleep "NSURLSessionTask CF6B6089-B198-4977-93D9-9674CA909A5B" 00:00:02  id:0x0x100008ef7 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 163(coreaudiod) Summary PreventUserIdleSystemSleep "com.apple.audio.AppleHDAEngineOutput:1F,3,0,1,1:0.context.preventuseridlesleep" 00:00:06  id:0x0x100008eb8 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8585(AddressBookSourceSync) Summary PreventUserIdleSystemSleep "Address Book Source Sync" 00:00:26  id:0x0x100008e62 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 120(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968221.3" 00:00:00  id:0x0x900008d55 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8261(UserEventAgent) Summary BackgroundTask "com.apple.tourist.notify" 00:00:12  id:0x0xb00008e9e [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8261(UserEventAgent) Summary BackgroundTask "com.apple.silhouette.compute" 00:00:16  id:0x0xb00008e94 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8261(UserEventAgent) Summary BackgroundTask "com.apple.photoanalysisd.backgroundanalysis" 00:00:17  id:0x0xb00008e93 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 88(mds) Summary BackgroundTask "com.apple.metadata.mds.power" 00:00:18  id:0x0xb00008e91 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8261(UserEventAgent) Summary BackgroundTask "com.apple.photolibraryd.maintenance" 00:00:21  id:0x0xb00008e8c [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8261(UserEventAgent) Summary BackgroundTask "com.apple.AddressBook.ScheduledSync" 00:00:26  id:0x0xb00008e64 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 8261(UserEventAgent) Summary BackgroundTask "com.apple.routined.learnedLocationEngine.train" 00:00:33  id:0x0xb00008de9 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 248(mds_stores) Summary BackgroundTask "com.apple.metadata.mds_stores.power" 00:00:38  id:0x0xb00008d9a [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 101(apsd) Summary ApplePushServiceTask "com.apple.apsd-login" 00:00:38  id:0x0xb00008d99 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 668(softwareupdate_notify_agent) Summary BackgroundTask "com.apple.softwareupdate.NotifyAgentAssertion-UpdatesAvailable" 00:00:46  id:0x0xb00008d7d [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 101(apsd) Summary InteractivePushServiceTask "com.apple.apsd-outgoingmessage" 00:00:29  id:0x0x1200008e2f [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            PID 101(apsd) Summary InteractivePushServiceTask "com.apple.apsd-recreatecourierstate-push.apple.com" 00:00:06  id:0x0x1200008ebf [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:41 +0100 Assertions            Kernel Idle sleep preventers: -None-          
2017-11-20 19:44:41 +0100 Assertions            PID 120(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968228.11" 00:00:00  id:0x0x900008d55 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:42 +0100 Assertions            PID 120(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968228.11" 00:00:00  id:0x0x900008d55 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:42 +0100 Assertions            PID 120(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968228.11" 00:00:00  id:0x0x900008d55 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:44:42 +0100 Assertions            Kernel Idle sleep preventers: IODisplayWrangler          
2017-11-20 19:44:42 +0100 Notification          Display is turned on                                                                  
2017-11-20 19:44:54 +0100 Assertions            PID 668(softwareupdate_notify_agent) Released BackgroundTask "com.apple.softwareupdate.NotifyAgentAssertion-UpdatesAvailable" 00:01:00  id:0x0xb00008d7d [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:45:14 +0100 Assertions            PID 8585(AddressBookSourceSync) Released PreventUserIdleSystemSleep "Address Book Source Sync" 00:01:00  id:0x0x100008e62 [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:45:14 +0100 Assertions            PID 8261(UserEventAgent) Released BackgroundTask "com.apple.AddressBook.ScheduledSync" 00:01:00  id:0x0xb00008e64 [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:45:41 +0100 Assertions            PID 101(apsd) Released ApplePushServiceTask "com.apple.apsd-login" 00:01:39  id:0x0xb00008d99 [System: PrevIdle DeclUser IPushSrvc kCPU kDisp]          
2017-11-20 19:46:07 +0100 Assertions            PID 8490(sharingd) Released PreventUserIdleSystemSleep "Handoff" 00:01:07  id:0x0x100008fda [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:46:22 +0100 Assertions            PID 248(mds_stores) Released BackgroundTask "com.apple.metadata.mds_stores.power" 00:02:19  id:0x0xb00008d9a [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:46:30 +0100 Assertions            PID 88(mds) Released BackgroundTask "com.apple.metadata.mds.power" 00:02:06  id:0x0xb00008e91 [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:46:47 +0100 Assertions            PID 8077(backupd) ClientDied PreventUserIdleSystemSleep "Time Machine backup" 01:37:21  id:0x0x100008c55 [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:46:47 +0100 Assertions            PID 8077(backupd) ClientDied BackgroundTask "Time Machine backup" 01:37:21  id:0x0xb00008c54 [System: PrevIdle DeclUser kDisp]          
2017-11-20 19:46:52 +0100 Assertions            PID 8261(UserEventAgent) Released BackgroundTask "com.apple.photoanalysisd.backgroundanalysis" 00:02:28  id:0x0xb00008e93 [System: PrevIdle DeclUser kDisp]          

EDIT: 2 altre istanze dello stesso problema:

2017-11-28 19:39:50 +0100 Assertions            PID 97671(backupd) ClientDied PreventUserIdleSystemSleep "Time Machine backup" 00:03:47  id:0x0x1000098ca [System: DeclUser kDisp]
2017-11-28 19:39:50 +0100 Assertions            PID 97671(backupd) ClientDied BackgroundTask "Time Machine backup" 00:03:47  id:0x0xb000098c9 [System: DeclUser kDisp]
2017-11-28 19:39:51 +0100 Notification          Display is turned off
2017-11-28 19:39:51 +0100 Assertions            PID 119(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4295043186.11" 00:01:06  id:0x0x9000098d9 [System: DeclUser kDisp]
2017-11-28 19:39:51 +0100 Assertions            Kernel Idle sleep preventers: -None-
2017-11-28 19:39:55 +0100 Assertions            PID 119(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968006.3" 00:00:00  id:0x0x9000098d9 [System: DeclUser kDisp]
2017-11-28 19:39:55 +0100 Assertions            Kernel Idle sleep preventers: IODisplayWrangler
2017-11-28 19:39:55 +0100 Notification          Display is turned on
2017-12-08 20:44:30 +0100 Assertions            PID 56882(backupd) ClientDied PreventUserIdleSystemSleep "Time Machine backup" 01:03:41  id:0x0x100008d0c [System: PrevIdle DeclUser kDisp]
2017-12-08 20:44:30 +0100 Assertions            PID 56882(backupd) ClientDied BackgroundTask "Time Machine backup" 01:03:41  id:0x0xb00008d0b [System: PrevIdle DeclUser kDisp]
2017-12-08 20:46:03 +0100 Notification          Display is turned off
2017-12-08 20:46:03 +0100 Assertions            PID 8170(sharingd) Summary PreventUserIdleSystemSleep "Handoff" 00:02:55  id:0x0x100008e08 [System: PrevIdle DeclUser kDisp]
2017-12-08 20:46:03 +0100 Assertions            PID 119(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4295674301.11" 00:00:30  id:0x0x900008add [System: PrevIdle DeclUser kDisp]
2017-12-08 20:46:03 +0100 Assertions            Kernel Idle sleep preventers: -None-
2017-12-08 20:46:05 +0100 Assertions            PID 119(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4295674290.3" 00:00:00  id:0x0x900008add [System: PrevIdle DeclUser kDisp]
2017-12-08 20:46:05 +0100 Assertions            Kernel Idle sleep preventers: IODisplayWrangler
2017-12-08 20:46:05 +0100 Notification          Display is turned on
2017-12-08 20:46:06 +0100 Assertions            PID 8170(sharingd) Released PreventUserIdleSystemSleep "Handoff" 00:02:59  id:0x0x100008e08 [System: PrevIdle DeclUser kDisp]

Total Sleep/Wakes since boot at 2017-12-02 11:41:35 +0100 :228

2017-12-08 20:46:17 +0100 : Showing all currently held IOKit power assertions
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 119(hidd): [0x00021dbf00098add] 00:00:02 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4295674301.11"
    Timeout will fire in 898 secs Action=TimeoutActionRelease
Kernel Assertions: 0x2c=USB,BT-HID,THNDR
   id=503  level=255 0x20=THNDR mod=08/12/2017, 8:46 PM description=NHI0 owner=AppleThunderboltHAL
   id=682  level=255 0x8=BT-HID mod=01/01/1970, 1:00 AM description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice
   id=843  level=255 0x4=USB mod=01/01/1970, 1:00 AM description=com.apple.usb.externaldevice.00100000 owner=ASM107x
   id=845  level=255 0x4=USB mod=01/01/1970, 1:00 AM description=com.apple.usb.externaldevice.00300000 owner=ASM107x
Idle sleep preventers: IODisplayWrangler
    
posta Gabriele Cirulli 20.11.2017 - 20:23
fonte

1 risposta

2

Le prime cose che proverei sono la reimpostazione della NVRAM e SMC.

Prima di seguire i passaggi indicati di seguito, assicurati di non aver collegato hardware esterno e di utilizzare la tastiera incorporata .

Reimpostazione della NVRAM su un modello MacBook Pro 2017

Per ripristinare la NVRAM su tutti i modelli MacBook Pro 2017 (con e senza Touch Bar), procedi nel seguente modo:

  1. Spegni il tuo MBP. Sì, un arresto completo, non solo la disconnessione.
  2. Premere il pulsante di accensione e quindi premere immediatamente il comando p r chiavi.
  3. Tieni premuti questi tasti per almeno 20 secondi!
  4. Lascia andare le chiavi e lascia che il tuo MBP si riavvii normalmente.

Nota: quando accedi di nuovo potrebbe necessario riadattare alcune delle tue preferenze di sistema (ad es. volume degli altoparlanti, risoluzione dello schermo, avvio selezione del disco, informazioni sul fuso orario, ecc.)

Ripristina SMC

Ci sono un paio di modi per reimpostare SMC sul tuo MBP, tuttavia preferisco i seguenti passaggi:

  1. Arresta il tuo MBP
  2. Tieni il cavo di alimentazione inserito
  3. Premi allo stesso tempo shift opzione controllo (sul lato sinistro della tastiera) e il pulsante di accensione e tieni premuti questi tasti per almeno 10 secondi
  4. Lascia andare
  5. Riaccendi il computer con il pulsante di accensione

Dopo aver ripristinato sia la NVRAM che SMC, utilizzare l'MBP per determinare se il problema si verifica ancora. Fammi sapere come va.

    
risposta data 20.11.2017 - 22:58
fonte

Leggi altre domande sui tag