Contribute
Register

<< Solved >> 10.14 Sleep Issue?

Status
Not open for further replies.
Joined
Dec 10, 2012
Messages
30
Motherboard
Custom G5
CPU
Intel i7 2600
Graphics
Sapphire HD7870 GHz Edition
Mac
  1. MacBook Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. iOS
Hi All

So, I've had a reasonably stable Clover build for a long time now.
Specifically, I've had sleep working on this same current hardware & OS install for years.
If I cold-boot from off, I'll have 2x of my 3x displays working. And I have a 100% working method of sleeping- then waking- to bring the 3rd display up.
(But I very rarely shutdown at all - I always just put it to sleep).

Also sometimes when attempting to sleep (if my USB3 Hub is connected), the screens will switch off but the system doesn't actually power off (darkwake?)
So I need to then wake the screens, unplug my USB3 Hub & try again, & just as the method above, it works every time.
(These days I don't even use the Hub, so it simply remains unplugged & that issue doesn't happen at all).


Ok, with all that aside, moving on -

About 6 months ago, I added a SoundBlaster Omni external USB Sound Card, & was surprised at everything continuing to run just fine.
This is the last hardware or OS software change I made. And things have been fine since.

About 5 days ago, I signed my personal iCloud account into my work MacBook (Monterey beta) & also into my work iPhone (iOS 15 beta).
(I have been using this same personal iCloud account on this machine, & on a whole bunch of other devices, for years now).

The reason I mention all of the above, is because also for the past few days, I now haven't been able to put this machine (not the Work MacBook) to sleep.
So I powered it off yesterday, with the hopes of resolving the issue with a fresh boot.
Though I still can't seem to sleep it at all, & of course because of that, I also can't bring my 3rd display online now either.

Im wondering if this could have something to do with the iCloud account, or Handoff, or something that was somehow introduced to it when adding these other devices to the same iCloud account?

- I've tried enabling FIX_WAK in Clover, to no avail.
- I've tried changing darkwake to 10, 8, 2, 0, to no avail (so I've changed it back to the original value, just "darkwake").
- I've removed the SoundBlaster USB, my Bluetooth Mouse, & ALL USBs apart from my USB2 mouse & keyboard, & still get the same results.
- Wake On Ethernet is & always has been disabled.
- I've turned off all localisation preferences, to try eliminate any weird bluetooth handoff things going on.
- I found "iCloud > iCloud Drive > System Preferences" was ticked for sync? So removed that as well (see above, regarding signing in to a new MacBook).
- TimeMachine Automatic Backup is off, the drive hasn't been connected to do a backup in weeks.
- I've tried sudo pmset dwlinterval 1, & 15, & 30 & had no difference.

And I've ran all of the following, & had no difference -

Code:
sudo pmset -a ttyskeepawake 0
sudo pmset -a tcpkeepalive 0
sudo pmset -a proximitywake 0
sudo pmset -a standby 0
sudo pmset -a autopoweroffdelay 0
sudo pmset -a womp 0
sudo pmset -a ring 0
sudo pmset -a networkoversleep 0
sudo pmset -a destroyfvkeyonstandby 1


I've been digging through the console logs.
This is what Im seeing when filtering console to the phrase "sleep" -

Code:
default    20:30:58.722925 +1000    loginwindow    -[ApplicationManager handleSystemEvent:] |      received system sleep system event calling sleep system
default    20:30:58.723416 +1000    powerd    vm.darkwake_mode: 0 -> 0
default    20:30:58.723325 +1000    loginwindow    RegisterSleepWakeCallback_block_invoke | IOPMScheduleUserActiveChangedNotification received:0
default    20:30:58.727313 +1000    loginwindow    sleep 1
default    20:30:58.728095 +1000    securityd    system will sleep
default    20:30:58.728183 +1000    securityd    0x7ffee17d9a30 will sleep
default    20:30:58.728009 +1000    powerd    Received kIOMessageSystemWillSleep. UUID: 8DA8AD1A-3C9A-4B55-B7CD-6F92A6EC5C56
default    20:30:58.731224 +1000    AirPlayUIAgent    BecomingInactive: NSWorkspaceWillSleepNotification
default    20:30:58.731665 +1000    AirPlayXPCHelper    <<<< FigRoutingManager_macOS >>>> routingManager_endpointUIAgentEventCallback: CMSession: UIAgent callback received deviceWillSleep
default    20:30:58.731893 +1000    corebrightnessd    Will Sleep
default    20:30:58.727840 +1000    loginwindow    SleepWakeCallback_block_invoke | enter. messageType=0xe0000280, gPerformSleepWakeActions=1, userSwitchedOut=0, screenIsLocked=0
default    20:30:58.727872 +1000    loginwindow    SleepWakeCallback_block_invoke | kIOMessageSystemWillSleep, lockScreen if not already
default    20:30:58.732741 +1000    CommCenter    [power]: system will sleep
default    20:30:58.727896 +1000    loginwindow    SleepWakeCallback_block_invoke |      Ignore system sleep, we trigger on display sleep only
default    20:30:58.732801 +1000    identityservicesd    System going to sleep
default    20:30:58.729296 +1000    loginwindow    SleepWakeCallback_block_invoke | exiting
default    20:30:58.745653 +1000    powerd    Entering DarkWake state due to 'Software Sleep pid=113'
default    20:30:58.746174 +1000    powerd    Process powerd.69 Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" age:00:00:00  id:55834612944 [System: PrevIdle DeclUser SRPrevSleep NetAcc kCPU kDisp]
default    20:30:58.747015 +1000    rapportd    State changed: FullWake -> DarkWake, 0x1 < DarkWake >
default    20:30:58.753002 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context981.preventuseridledisplaysleep" age:00:21:33  id:21474874011 [System: PrevIdle DeclUser BGTask SRPrevSleep NetAcc IPushSrvc kCPU kDisp]
default    20:30:58.753179 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context981.preventuseridlesleep" age:00:21:33  id:4295004826 [System: PrevIdle DeclUser BGTask SRPrevSleep NetAcc IPushSrvc kCPU kDisp]

//

default    20:30:58.781571 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1005.preventuseridlesleep" age:00:21:33  id:4295004925 [System: PrevIdle DeclUser BGTask SRPrevSleep NetAcc IPushSrvc kCPU kDisp]
default    20:30:58.782251 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context1006.preventuseridledisplaysleep" age:00:21:33  id:21474874114 [System: PrevIdle DeclUser BGTask SRPrevSleep NetAcc IPushSrvc kCPU kDisp]
default    20:30:58.782405 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1006.preventuseridlesleep" age:00:21:33  id:4295004929 [System: PrevIdle DeclUser BGTask SRPrevSleep NetAcc IPushSrvc kCPU kDisp]
default    20:30:58.798048 +1000    loginwindow    LWDisplayWillSleepCallback | enter. isMainThread:0, gPerformSleepWakeActions = 1
default    20:30:58.798271 +1000    loginwindow    LWDisplayWillSleepCallback | exit
default    20:30:58.850581 +1000    sharingd    Device will sleep
default    20:30:59.107791 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"SystemWillSleep", "keepAliveClientCount":0}
default    20:30:59.170611 +1000    loginwindow    -[LWShieldWindowController raiseShieldWindowWithFade:] |      calling CGSSessionIDSetSleepWindowID with just shieldWindowID: 3221
default    20:30:59.193611 +1000    CalNCService    System will sleep: kIOMessageSystemWillSleep
default    20:30:59.193737 +1000    CalNCService    Suspended timer for imminent system sleep
default    20:30:59.230942 +1000    loginwindow    -[LWDefaultScreenLockUI preLoad] |      calling CGSSessionIDSetSleepWindowID with shieldID: 3221 and authWindowID: 3222
default    20:30:59.366511 +1000    locationd    @ClxEvent, ApSleep, 1, delta, 895.6
default    20:31:28.754735 +1000    powerd    Process powerd.69 TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" age:00:00:30  id:55834612944 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]
default    20:53:08.625598 +1000    loginwindow    sleep 0
default    20:53:08.626441 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"SystemWillPowerOn", "keepAliveClientCount":0}
default    20:53:08.625811 +1000    loginwindow    SleepWakeCallback_block_invoke | enter. messageType=0xe0000320, gPerformSleepWakeActions=1, userSwitchedOut=0, screenIsLocked=1
default    20:53:08.625848 +1000    loginwindow    SleepWakeCallback_block_invoke | kIOMessageSystemWillPowerOn, isMainThread:0
default    20:53:08.626988 +1000    locationd    @ClxEvent, ApSleep, 0, delta, 1329.3
default    20:53:08.625885 +1000    loginwindow    SleepWakeCallback_block_invoke | exiting
default    20:53:08.649454 +1000    loginwindow    RegisterSleepWakeCallback_block_invoke | IOPMScheduleUserActiveChangedNotification received:1
default    20:53:08.649968 +1000    powerd    vm.darkwake_mode: 0 -> 0
default    20:53:08.655417 +1000    contextstored    Idle Sleep Preventers: <private>
default    20:53:10.125236 +1000    powerd    DarkWake to FullWake from Invalid [CDNVA] due to HID Activity:
default    20:53:10.125935 +1000    rapportd    State changed: DarkWake -> FullWake, 0x10 < UserWake >
default    20:53:10.125890 +1000    loginwindow    SleepWakeCallback_block_invoke | enter. messageType=0xe0000300, gPerformSleepWakeActions=1, userSwitchedOut=0, screenIsLocked=1
default    20:53:10.125922 +1000    loginwindow    SleepWakeCallback_block_invoke | exiting
default    20:53:10.143606 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"SystemHasPoweredOn", "keepAliveClientCount":0}
default    20:53:16.551339 +1000    loginwindow    -[LWShieldWindowController lowerShieldWindow] |      calling CGSSessionIDSetSleepWindowID with shieldID and authWindowID set to kCGNullWindowID
default    20:55:06.668187 +1000    kernel    + IOAudioDevice[<private>]::scheduleIdleAudioSleep: idleSleepDelayTime = 00
default    20:55:06.668206 +1000    kernel    - IOAudioDevice[<private>]::scheduleIdleAudioSleep: idleSleepDelayTime = 00
default    20:55:11.143456 +1000    kernel    + IOAudioDevice[<private>]::scheduleIdleAudioSleep: idleSleepDelayTime = 00
default    20:55:11.143475 +1000    kernel    - IOAudioDevice[<private>]::scheduleIdleAudioSleep: idleSleepDelayTime = 00
default    20:55:12.453812 +1000    powerd    Process backupd.2207 ClientDied PreventUserIdleSystemSleep "Time Machine backup" age:00:02:02  id:4295005575 [System: DeclUser BGTask NetAcc kCPU kDisp]
default    20:55:42.443399 +1000    com.apple.WebKit.Networking    [C58 Hostname#dde0e2d7:443 tcp, url: https://apple.stackexchange.com/questions/364622/how-can-i-find-what-program-is-preventing-my-mac-from-going-to-sleep, tls] start
default    20:59:16.252272 +1000    com.apple.WebKit.Networking    [C58 Hostname#dde0e2d7:443 tcp, url: https://apple.stackexchange.com/questions/364622/how-can-i-find-what-program-is-preventing-my-mac-from-going-to-sleep, tls] cancel
default    20:59:16.252383 +1000    com.apple.WebKit.Networking    [C58 Hostname#dde0e2d7:443 tcp, url: https://apple.stackexchange.com/questions/364622/how-can-i-find-what-program-is-preventing-my-mac-from-going-to-sleep, tls] cancelled
    [C58.1 <private> 10.0.1.4:53295<->IPv4#993557a2:443]
    Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
    Duration: 213.806s, DNS @0.000s took 0.111s, TCP @0.113s took 0.007s, TLS took 0.137s
    bytes in/out: 43266/1394, packets in/out: 34/8, rtt: 0.116s, retransmitted packets: 0, out-of-order packets: 0
default    21:02:12.814943 +1000    GoogleSoftwareUpdateAgent    2021-08-10 21:02:12.812 GoogleSoftwareUpdateAgent[2262/0x1092325c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7f8b94c636e0 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 08:01:02 +0000 lastServerCheck=2021-08-10 08:01:01 +0000 lastCheckStart=2021-08-10 08:00:57 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>
default    21:09:15.942072 +1000    CalNCService    <PCSimpleTimer: 0x7fb33a671600> created preventSleepTimer <PCDispatchTimer: 0x7fb33ca314f0> and fireTimer <PCDispatchTimer: 0x7fb33ca025d0> on queue <OS_dispatch_queue_serial: PCSimpleTimer-timerQ>
default    21:16:48.713209 +1000    powerd    vm.darkwake_mode: 0 -> 0
default    21:16:48.713237 +1000    loginwindow    RegisterSleepWakeCallback_block_invoke | IOPMScheduleUserActiveChangedNotification received:0
default    21:16:48.730834 +1000    loginwindow    LWDisplayWillSleepCallback | enter. isMainThread:0, gPerformSleepWakeActions = 1
default    21:16:48.730986 +1000    loginwindow    LWDisplayWillSleepCallback | exit
default    21:16:49.092219 +1000    loginwindow    -[LWShieldWindowController raiseShieldWindowWithFade:] |      calling CGSSessionIDSetSleepWindowID with just shieldWindowID: 3243
default    21:16:49.142563 +1000    loginwindow    -[LWDefaultScreenLockUI preLoad] |      calling CGSSessionIDSetSleepWindowID with shieldID: 3243 and authWindowID: 3244
default    21:25:12.050232 +1000    powerd    Process backupd.2277 ClientDied PreventUserIdleSystemSleep "Time Machine backup" age:00:02:01  id:4295005846 [System: NetAcc kCPU]
default    21:26:16.693447 +1000    securityd    can system sleep
default    21:26:16.693573 +1000    CommCenter    [power]: system can sleep
default    21:26:16.693545 +1000    loginwindow    SleepWakeCallback_block_invoke | enter. messageType=0xe0000270, gPerformSleepWakeActions=1, userSwitchedOut=0, screenIsLocked=1
default    21:26:16.693600 +1000    powerd    Received kIOMessageCanSystemSleep. UUID: F5B6BA7F-D41B-4EB5-87CA-D5F73A0E3277
default    21:26:16.693592 +1000    loginwindow    SleepWakeCallback_block_invoke | exiting
default    21:26:16.694087 +1000    sharingd    Device can sleep
default    21:26:16.694102 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"CanSystemSleep", "keepAliveClientCount":0}
default    21:26:16.694578 +1000    CalNCService    System can sleep query received: kIOMessageCanSystemSleep
default    21:26:16.700824 +1000    loginwindow    sleep 1
default    21:26:16.701410 +1000    securityd    system will sleep
default    21:26:16.701461 +1000    securityd    0x7ffee17d9a30 will sleep
default    21:26:16.701200 +1000    loginwindow    SleepWakeCallback_block_invoke | enter. messageType=0xe0000280, gPerformSleepWakeActions=1, userSwitchedOut=0, screenIsLocked=1
default    21:26:16.701237 +1000    loginwindow    SleepWakeCallback_block_invoke | kIOMessageSystemWillSleep, lockScreen if not already
default    21:26:16.702146 +1000    CommCenter    [power]: system will sleep
default    21:26:16.703917 +1000    AirPlayXPCHelper    <<<< FigRoutingManager_macOS >>>> routingManager_endpointUIAgentEventCallback: CMSession: UIAgent callback received deviceWillSleep
default    21:26:16.701980 +1000    corebrightnessd    Will Sleep
default    21:26:16.703293 +1000    AirPlayUIAgent    BecomingInactive: NSWorkspaceWillSleepNotification
default    21:26:16.702553 +1000    powerd    Received kIOMessageSystemWillSleep. UUID: F5B6BA7F-D41B-4EB5-87CA-D5F73A0E3277
default    21:26:16.701298 +1000    loginwindow    SleepWakeCallback_block_invoke |      Ignore system sleep, we trigger on display sleep only
default    21:26:16.701724 +1000    loginwindow    SleepWakeCallback_block_invoke | exiting
default    21:26:16.704662 +1000    identityservicesd    System going to sleep
default    21:26:16.715125 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"SystemWillSleep", "keepAliveClientCount":0}
default    21:26:16.718916 +1000    powerd    Entering DarkWake state due to 'Idle Sleep'
default    21:26:16.719340 +1000    powerd    Process powerd.69 Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" age:00:00:00  id:55834613406 [System: SRPrevSleep NetAcc kCPU]
default    21:26:16.719492 +1000    rapportd    State changed: FullWake -> DarkWake, 0x1 < DarkWake >
default    21:26:16.723825 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context1042.preventuseridledisplaysleep" age:00:55:17  id:21474874602 [System: PrevIdle BGTask SRPrevSleep NetAcc IPushSrvc kCPU]
default    21:26:16.723980 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1042.preventuseridlesleep" age:00:55:17  id:4295005417 [System: PrevIdle BGTask SRPrevSleep NetAcc IPushSrvc kCPU]

//

default    21:26:16.750456 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context1054.preventuseridledisplaysleep" age:00:55:17  id:21474874650 [System: PrevIdle BGTask SRPrevSleep NetAcc IPushSrvc kCPU]
default    21:26:16.750625 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1054.preventuseridlesleep" age:00:55:17  id:4295005465 [System: PrevIdle BGTask SRPrevSleep NetAcc IPushSrvc kCPU]
default    21:26:16.751966 +1000    CalNCService    System will sleep: kIOMessageSystemWillSleep
default    21:26:16.751277 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context1056.preventuseridledisplaysleep" age:00:55:17  id:21474874658 [System: PrevIdle BGTask SRPrevSleep NetAcc IPushSrvc kCPU]
default    21:26:16.751447 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1056.preventuseridlesleep" age:00:55:17  id:4295005473 [System: PrevIdle BGTask SRPrevSleep NetAcc IPushSrvc kCPU]
default    21:26:16.753679 +1000    CalNCService    Suspended timer for imminent system sleep
default    21:26:16.756552 +1000    locationd    @ClxEvent, ApSleep, 1, delta, 1988.1
default    21:26:16.770496 +1000    webinspectord    Client Connection will sleep: <_RWIRelayClientXPCConnection: 0x7f9402c0e430>
default    21:26:46.729596 +1000    powerd    Process powerd.69 TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" age:00:00:30  id:55834613406 [System: SRPrevSleep NetAcc kCPU]
default    21:40:11.578782 +1000    powerd    Process backupd.2288 ClientDied PreventUserIdleSystemSleep "Time Machine backup" age:00:02:15  id:4295006128 [System: NetAcc kCPU]
default    21:54:43.382846 +1000    powerd    Process backupd.2301 ClientDied PreventUserIdleSystemSleep "Time Machine backup" age:00:02:31  id:4295006470 [System: NetAcc kCPU]
default    22:00:00.159002 +1000    powerd    Next immediate inactivity window start:'2021-08-10 22:15:00 +1000' end:'2021-08-11 08:30:00 +1000'
default    22:02:36.101728 +1000    GoogleSoftwareUpdateAgent    2021-08-10 22:02:36.099 GoogleSoftwareUpdateAgent[2310/0x1135075c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fa037534810 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 08:01:02 +0000 lastServerCheck=2021-08-10 08:01:01 +0000 lastCheckStart=2021-08-10 08:00:57 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>
default    23:02:59.332908 +1000    GoogleSoftwareUpdateAgent    2021-08-10 23:02:59.330 GoogleSoftwareUpdateAgent[2336/0x10a6d75c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7ffe2f5533c0 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 08:01:02 +0000 lastServerCheck=2021-08-10 08:01:01 +0000 lastCheckStart=2021-08-10 08:00:57 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>


And then every hour, there's this (I don't even have any Google Software?) -

Code:
default    00:05:32.367649 +1000    GoogleSoftwareUpdateAgent    2021-08-11 00:05:32.365 GoogleSoftwareUpdateAgent[2373/0x114fe85c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fd673f47430 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 13:05:09 +0000 lastServerCheck=2021-08-10 13:05:08 +0000 lastCheckStart=2021-08-10 13:04:59 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>
default    01:05:55.598852 +1000    GoogleSoftwareUpdateAgent    2021-08-11 01:05:55.596 GoogleSoftwareUpdateAgent[2400/0x10fdd35c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fdcca55b190 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 13:05:09 +0000 lastServerCheck=2021-08-10 13:05:08 +0000 lastCheckStart=2021-08-10 13:04:59 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>
default    02:06:18.835982 +1000    GoogleSoftwareUpdateAgent    2021-08-11 02:06:18.833 GoogleSoftwareUpdateAgent[2425/0x10e98a5c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7f971455bea0 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 13:05:09 +0000 lastServerCheck=2021-08-10 13:05:08 +0000 lastCheckStart=2021-08-10 13:04:59 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>


And then pressing a key to "wake" the not-sleeping system up in the morning -

Code:
default    06:08:01.064705 +1000    GoogleSoftwareUpdateAgent    2021-08-11 06:08:01.063 GoogleSoftwareUpdateAgent[2567/0x11b1a65c0] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fd77454aac0 bundleID=com.google.Keystone.Agent lastCheck=2021-08-10 18:07:14 +0000 lastServerCheck=2021-08-10 18:07:13 +0000 lastCheckStart=2021-08-10 18:07:05 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/USERNAMEHERE/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonAdministrationXPCServiceName=com.google.Keystone.Daemon.AdministrationXPC alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>
default    06:57:42.414937 +1000    loginwindow    sleep 0
default    06:57:42.415782 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"SystemWillPowerOn", "keepAliveClientCount":0}
default    06:57:42.415131 +1000    loginwindow    SleepWakeCallback_block_invoke | enter. messageType=0xe0000320, gPerformSleepWakeActions=1, userSwitchedOut=0, screenIsLocked=1
default    06:57:42.415169 +1000    loginwindow    SleepWakeCallback_block_invoke | kIOMessageSystemWillPowerOn, isMainThread:0
default    06:57:42.415200 +1000    loginwindow    SleepWakeCallback_block_invoke | exiting
default    06:57:42.416869 +1000    locationd    @ClxEvent, ApSleep, 0, delta, 34285.7
default    06:57:42.438627 +1000    loginwindow    RegisterSleepWakeCallback_block_invoke | IOPMScheduleUserActiveChangedNotification received:1
default    06:57:42.439719 +1000    powerd    vm.darkwake_mode: 0 -> 0
default    06:57:42.439922 +1000    powerd    User activity while in predicted inactivity window. Reset inactivity window start
default    06:57:42.445992 +1000    contextstored    Idle Sleep Preventers: <private>
default    06:57:43.912486 +1000    powerd    DarkWake to FullWake from Invalid [CDNVA] due to HID Activity:
default    06:57:43.913072 +1000    rapportd    State changed: DarkWake -> FullWake, 0x10 < UserWake >
default    06:57:43.921029 +1000    locationd    {"msg":"received IOKit notification", "sleepNotification":"SystemHasPoweredOn", "keepAliveClientCount":0}
default    06:57:43.931803 +1000    CalNCService    <PCSimpleTimer: 0x7fb33a423370> created preventSleepTimer <PCDispatchTimer: 0x7fb33c942d80> and fireTimer <PCDispatchTimer: 0x7fb33cb67dd0> on queue <OS_dispatch_queue_serial: PCSimpleTimer-timerQ>
default    06:57:56.776640 +1000    loginwindow    -[LWShieldWindowController lowerShieldWindow] |      calling CGSSessionIDSetSleepWindowID with shieldID and authWindowID set to kCGNullWindowID
default    06:58:09.433876 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context1066.preventuseridledisplaysleep" age:10:03:03  id:21474874814 [System: PrevIdle DeclUser BGTask NetAcc kCPU kDisp]
default    06:58:09.434123 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1066.preventuseridlesleep" age:10:03:03  id:4295005629 [System: PrevIdle DeclUser BGTask NetAcc kCPU kDisp]
default    06:58:09.434830 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleDisplaySleep "com.apple.audio.context1067.preventuseridledisplaysleep" age:10:03:03  id:21474874818 [System: PrevIdle DeclUser BGTask NetAcc kCPU kDisp]
default    06:58:09.435111 +1000    powerd    Process coreaudiod.175 Released PreventUserIdleSystemSleep "com.apple.audio.context1067.preventuseridlesleep" age:10:03:03  id:4295005633 [System: PrevIdle DeclUser BGTask NetAcc kCPU kDisp]


If I run log show --style syslog | fgrep "Wake reason", I get -

Code:
2021-08-04 22:58:57.523724+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-04 22:58:57.523725+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-06 21:50:55.520055+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-06 21:50:55.520056+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-07 01:05:15.863168+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-07 01:05:15.863170+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-07 23:18:18.630136+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-07 23:18:18.630137+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-08 22:21:14.896457+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-08 22:21:14.896459+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-09 00:11:50.256923+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02
2021-08-09 00:11:50.256925+1000  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN EH02


If I run pmset -g assertions, I get -

Code:
2021-08-11 19:17:27 +1000
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            1
Listed by owning process:
   pid 118(hidd): [0x0000a09b00099b22] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968081.3"
    Timeout will fire in 1200 secs Action=TimeoutActionRelease
   pid 238(cupsd): [0x000000100011814a] 12:15:25 NetworkClientActive named: "org.cups.cupsd"
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice
   id=501  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.1a100000 owner=IOUSBHostDevice
   id=504  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.1a140000 owner=SB Omni Surround 5.1
   id=505  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.1a130000 owner=USB2.0 Hub
   id=507  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.1a131000 owner=Matias RGB Backlit Wired Keyboard
   id=508  level=255 0x4=USB mod=1/1/70, 10:00 am description=com.apple.usb.externaldevice.1a132000 owner=BCM20702A0
Idle sleep preventers: IODisplayWrangler

(though I've seen people mention IODisplayWrangler isn't actually a preventer here)


Any help, or tips, or ideas would be so very much appreciated.
Thanks in advance
 
Found it.

Code:
   pid 228(cupsd): [0x0000000b001180ba] 00:09:46 NetworkClientActive named: "org.cups.cupsd"

Apparently our HP Printer, connected via Wifi on the same network, was somehow the culprit.

Deleted the printer, & sleep / wake were instantly working again.

Not sure what to do when I need to print or scan something, but that's a problem for another day.
 
It is more likely this is a USB issue than a WiFi issue. Which WiFI card/dongle are you using?

I would check how the WiFi &/or Bluetooth modules are connected to the system. If you are using a USB WiFi &/or BT dongle, or a PCIe adapter card for WiFi which uses a USB connection for the Bluetooth module, you may need to make sure the USB Header or external port they are connected to are included in any USB Port Configuration you have created for your system.
 
Status
Not open for further replies.
Back
Top