Contribute
Register

Gigabyte Z490 Vision D (Thunderbolt 3) + i5-10400 + AMD RX 580

Anyone still on Big Sur? My Hack now refuses to sleep when it used to work just fine. I've just updated to 11.7.10 (from 11.7.8) to see if it fixed the problem, but it didn't. I've booted from my external backup (which is on 11.3) and it goes to sleep just fine, so somewhere along the line I'm guessing one of Apple's updates have broken sleep functionality. I wondered if anyone else had come across this and what they did to fix it. I'm reluctant to clone my backup drive back to my internal SSD if I don't have to, but if it's the only option I will do, as Sleep functionality is important for me.

Edit:
Used this command:
Code:
pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to"

Result here:
Code:
2023-11-12 02:44:15 +0000 Sleep                   Entering DarkWake state due to 'Software Sleep pid=171':TCPKeepAlive=active Using AC (Charge:0%) 46 secs 
2023-11-12 02:45:01 +0000 Wake                    DarkWake to FullWake from Invalid [CDNVA] : due to HID Activity Using AC (Charge:0%)

Looks like it never gets to sleep, just goes straight to DarkWake state when I tell it to "Sleep" from the Apple menu.
 
Last edited:
My Hack now refuses to sleep when it used to work just fine. I've just updated to 11.7.10 (from 11.7.8) to see if it fixed the problem, but it didn't.

@Higgie,

I think Apple have implimented something new in recent MacOS version updates ...
Try entering this command to see more details on the wake request reason :

Code:
pmset -g log | grep "Wake Request"

Using all known methods to keep a Mac system sleeping, myself and others are seeing new wake from sleep behaviour in Sonoma, using the above command shows that a request called CSPNEvaluation in causing the powerd process to wake the system up for around 45 seconds multiple times during overnight sleep :-

Example :-

Code:
2023-11-11 18:53:17 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=7228 wakeAt=2023-11-11 20:53:45]       
2023-11-11 20:54:43 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-11 21:54:48]       
2023-11-11 21:55:47 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-11 22:55:51]       
2023-11-11 22:56:51 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-11 23:56:54]       
2023-11-11 23:57:54 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-12 00:57:57]       
2023-11-12 00:58:57 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=27742 wakeAt=2023-11-12 08:41:19]       
2023-11-12 08:42:17 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=7204 wakeAt=2023-11-12 10:42:22]       
2023-11-12 10:43:21 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-12 11:43:25]       
2023-11-12 11:44:24 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 12:44:28]       
2023-11-12 12:45:27 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 13:45:31]       
2023-11-12 13:46:30 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 14:46:34]

CSPNEvaluation is something new that i've never seen before as a wake reason in MacOS.
This is a ongoing investigation as a follow up to my Venture Investigations :-


I would be interested if this is what you (or others) are seeing as a wake reason.

Cheers
Jay
 
Last edited:
@Higgie,

I think Apple have implimented something new in recent MacOS version updates ...
Try entering this command to see more details on the wake request reason :

Code:
pmset -g log | grep "Wake Request"

Myself and others are seeing new wake from sleep behaviour in Sonoma, using the above command shows that something called CSPNEvaluation in causing the powerd process to wake the system up for around 45 seconds multiple times during overnight sleep :-

Example :-

Code:
2023-11-11 18:53:17 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=7228 wakeAt=2023-11-11 20:53:45]        
2023-11-11 20:54:43 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-11 21:54:48]        
2023-11-11 21:55:47 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-11 22:55:51]        
2023-11-11 22:56:51 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-11 23:56:54]        
2023-11-11 23:57:54 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-12 00:57:57]        
2023-11-12 00:58:57 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=27742 wakeAt=2023-11-12 08:41:19]        
2023-11-12 08:42:17 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=7204 wakeAt=2023-11-12 10:42:22]        
2023-11-12 10:43:21 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-12 11:43:25]        
2023-11-12 11:44:24 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 12:44:28]        
2023-11-12 12:45:27 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 13:45:31]        
2023-11-12 13:46:30 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 14:46:34]

This is something new that i've never seen before, I believe that it's to do with something called "
First Level Security Certification" the CSPN part seems to mean Certification de Sécurité de Premier Niveau as far as i can tell. I've searched high and low for anything to do with MacOS + request=CSPNEvaluation but there is nothing (that i've found so far).

It's an ongoing investigation as a follow up to my Venture Investigations :-


I would be interested if this is what you (or others) are seeing as a true wake reason.

Cheers
Jay
That doesn’t seem to be what I’m seeing here. I’ve compared to sleep logs from 11.7.3, and it seems to be the case in 11.7.10 that when I tell the computer to sleep, it says Entering Darkwake state (monitor off, but lights on and fans still going) instead of going to sleep. It never actually gets to the sleep state.

When I tell the computer to sleep in 11.7.3, it says Entering Sleep state.
 
That doesn’t seem to be what I’m seeing here ....

When I tell the computer to sleep in 11.7.3, it says Entering Sleep state.

Would you mind posting the output of

Code:
pmset -g log | grep "Wake Request"

Cheers
Jay
 
@Higgie,

I think Apple have implimented something new in recent MacOS version updates ...
Try entering this command to see more details on the wake request reason :

Code:
pmset -g log | grep "Wake Request"

Using all known methods to keep a Mac system sleeping, myself and others are seeing new wake from sleep behaviour in Sonoma, using the above command shows that a request called CSPNEvaluation in causing the powerd process to wake the system up for around 45 seconds multiple times during overnight sleep :-

Example :-

Code:
2023-11-11 18:53:17 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=7228 wakeAt=2023-11-11 20:53:45]       
2023-11-11 20:54:43 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-11 21:54:48]       
2023-11-11 21:55:47 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-11 22:55:51]       
2023-11-11 22:56:51 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-11 23:56:54]       
2023-11-11 23:57:54 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-12 00:57:57]       
2023-11-12 00:58:57 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=27742 wakeAt=2023-11-12 08:41:19]       
2023-11-12 08:42:17 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=7204 wakeAt=2023-11-12 10:42:22]       
2023-11-12 10:43:21 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3603 wakeAt=2023-11-12 11:43:25]       
2023-11-12 11:44:24 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 12:44:28]       
2023-11-12 12:45:27 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 13:45:31]       
2023-11-12 13:46:30 +0000 Wake Requests           [*process=powerd request=CSPNEvaluation deltaSecs=3604 wakeAt=2023-11-12 14:46:34]

This is something new that i've never seen before, it might be to do with something called 'First Level Security Certification', the CSPN part seems to mean Certification de Sécurité de Premier Niveau as far as i can tell. I've searched high and low for anything to do with MacOS + request=CSPNEvaluation but there is nothing (that i've found so far). The only information i can find so far are just generic documents and definitions such as :


It's quite possible that it has nothing to with Certification de Sécurité de Premier Niveau and Apple just happen to be using the same initials .... really not sure at this stage of the investigation.

This is a ongoing investigation as a follow up to my Venture Investigations :-


I would be interested if this is what you (or others) are seeing as a wake reason.

Cheers
Jay

Could the “PN” in CSPNEvaluation be Power Nap? Doesn’t explain what the CS is though…
 
Would you mind posting the output of

Code:
pmset -g log | grep "Wake Request"

Cheers
Jay
Didn't get any output from that whatsoever!

Here is the output of the sleep log from 11.7.10

Code:
2023-11-12 03:31:02 +0000 Notification            Display is turned off                                                                    
2023-11-12 03:31:02 +0000 Assertions              PID 82(powerd) Summary ExternalMedia "com.apple.powermanagement.externalmediamounted" 00:13:35  id:0x0x800008002 [System: DeclUser BGTask NetAcc kCPU kDisp]          
2023-11-12 03:31:02 +0000 Assertions              PID 152(WindowServer) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:100000674 name:AppleUserHIDEventSe product:USB Receiver eventType:17" 00:00:00  id:0x0x900008188 [System: DeclUser BGTask NetAcc kCPU kDisp]          
2023-11-12 03:31:02 +0000 Assertions              PID 491(UserEventAgent) Summary BackgroundTask "com.apple.coreduet.sync.update-source-device-identifiers" 00:12:19  id:0x0xb000083c9 [System: DeclUser BGTask NetAcc kCPU kDisp]          
2023-11-12 03:31:02 +0000 Assertions              PID 358(cupsd) Summary NetworkClientActive "org.cups.cupsd" 00:13:30  id:0x0x110000800d [System: DeclUser BGTask NetAcc kCPU kDisp]          
2023-11-12 03:31:02 +0000 Assertions              Kernel Idle sleep preventers: -None-          
2023-11-12 03:31:02 +0000 Assertions              [System: DeclUser BGTask NetAcc kCPU kDisp]          
2023-11-12 03:31:02 +0000 Sleep                   Entering DarkWake state due to 'Software Sleep pid=176':TCPKeepAlive=disabled Using AC (Charge:0%) 49 secs   
2023-11-12 03:31:02 +0000 Assertions              PID 82(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd000085b0 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context236.preventuseridlesleep" 00:05:57  id:0x0x100008540 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context256.preventuseridlesleep" 00:05:57  id:0x0x10000853e [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context174.preventuseridlesleep" 00:05:57  id:0x0x100008549 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context226.preventuseridlesleep" 00:05:57  id:0x0x10000853f [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context150.preventuseridlesleep" 00:05:57  id:0x0x100008541 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context246.preventuseridlesleep" 00:05:57  id:0x0x100008542 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context149.preventuseridlesleep" 00:05:57  id:0x0x100008543 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context266.preventuseridlesleep" 00:05:57  id:0x0x10000853c [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context151.preventuseridlesleep" 00:05:57  id:0x0x10000854a [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context276.preventuseridlesleep" 00:05:57  id:0x0x10000853d [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context256.preventuseridledisplaysleep" 00:05:57  id:0x0x500008547 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context174.preventuseridledisplaysleep" 00:05:57  id:0x0x500008553 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context226.preventuseridledisplaysleep" 00:05:57  id:0x0x500008548 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context150.preventuseridledisplaysleep" 00:05:57  id:0x0x50000854b [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context236.preventuseridledisplaysleep" 00:05:57  id:0x0x50000854c [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context246.preventuseridledisplaysleep" 00:05:57  id:0x0x50000854d [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context216.preventuseridlesleep" 00:05:57  id:0x0x100008544 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context149.preventuseridledisplaysleep" 00:05:57  id:0x0x500008550 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context266.preventuseridledisplaysleep" 00:05:57  id:0x0x500008545 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context151.preventuseridledisplaysleep" 00:05:57  id:0x0x500008552 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context276.preventuseridledisplaysleep" 00:05:57  id:0x0x500008546 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context206.preventuseridlesleep" 00:05:57  id:0x0x100008551 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context152.preventuseridlesleep" 00:05:57  id:0x0x10000854e [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context216.preventuseridledisplaysleep" 00:05:57  id:0x0x50000854f [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context206.preventuseridledisplaysleep" 00:05:57  id:0x0x500008555 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:05 +0000 Assertions              PID 235(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context152.preventuseridledisplaysleep" 00:05:57  id:0x0x500008554 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:17 +0000 Assertions              PID 82(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd000085b0 [System: DeclUser BGTask SRPrevSleep NetAcc kCPU kDisp]          
2023-11-12 03:31:49 +0000 Assertions              PID 152(WindowServer) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:100000676 name:AppleUserHIDEventSe product:USB Receiver eventType:3" 00:00:00  id:0x0x900008188 [System: DeclUser BGTask NetAcc kCPU kDisp]          
2023-11-12 03:31:49 +0000 Assertions              Kernel Idle sleep preventers: IODisplayWrangler          
2023-11-12 03:31:49 +0000 Notification            Display is turned on                                                                     
2023-11-12 03:31:51 +0000 Wake                    DarkWake to FullWake from Invalid [CDNVA] : due to HID Activity Using AC (Charge:0%)           
2023-11-12 03:31:51 +0000 HibernateStats          hibmode=0 standbydelaylow=86400 standbydelayhigh=86400                                   0             
2023-11-12 03:31:51 +0000 WakeTime                WakeTime: 2.109 sec                                                                      
2023-11-12 03:31:51 +0000 Kernel Client Acks      Delays to Sleep notifications: [ATY,RadeonFramebuffer driver is slow(msg: SetState to 1)(1139 ms)] [AppleHDADriver driver is slow(msg: SetState to 0)(1627 ms)] 
2023-11-12 03:31:51 +0000 Kernel Client Acks      Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(2105 ms)]           
2023-11-12 03:31:53 +0000 Assertions              PID 176(loginwindow) Created UserIsActive "Loginwindow User Activity" 00:00:00  id:0x0x9000085fe [System: DeclUser BGTask NetAcc IPushSrvc kCPU kDisp]          
2023-11-12 03:31:53 +0000 Assertions              PID 176(loginwindow) Released UserIsActive "Loginwindow User Activity" 00:00:00  id:0x0x9000085fe [System: DeclUser BGTask NetAcc IPushSrvc kCPU kDisp]

As you can see, I try to put the computer to Sleep, but it never actually reaches the state of going to sleep as it goes into DarkWake instead.
 
@Higgie,

Code:
DarkWake to FullWake from Invalid [CDNVA] : due to HID Activity Using AC

Would suggest that a HID (Human Interface Device) connected via USB (or possibly Bluetooth) such as a Mouse / keyboard .. etc is causing the immediate wake ....
 
Last edited:
@Higgie,

Code:
DarkWake to FullWake from Invalid [CDNVA] : due to HID Activity Using AC

Would suggest that a HID (Human Interface Device) connected via Bluetooth or USB such as Mouse / keyboard .. etc is causing the immediate wake ....
Yes the waking is not the problem. There is no immediate wake, that is me waking the computer from the DarkWake state when it fails to actually sleep. The problem is, the computer won’t go to sleep, it goes into a perpetual DarkWake state with lights on and spinning fans!
 
Last edited:
Okay...weird one.
I have 2 O/S running Monterey and Ventura using UAD Apollo x8. Stereo seems to work fine for most applications. I have been putting off the installation of my surround monitoring system for a while and decided to get on with it. I have a complete Blue Sky 7.1 set up installed now. Set up my Apollo to 7.1 and Apple audio/midi config to 7.1 in the audio preferences for the Apollo, and can hear all speakers through the test provided.
I use Plex to gain access to play movies on the studio computer and can only get sound in stereo.
I have swapped out to my legit iMac (on Sonoma) used the exact same settings for Plex and it plays in full glorious 7.1 surround with all the same settings for Plex/Apple Audio/Midi setup and the Apollo Console. This behaves the same for both Monterey and Ventura O/S's.

Anyone have a clue or rabbit hole I can dig at?
I posted this in the Audio interface forum.... maybe someone here can throw me a bone?
I also tried Loopback audio router. It only sees 2 channel out of Plex and Apple Music apps so I can't route what isn't available. All works 100% on M1 iMac on Sonoma same settings and Loopback required at all.
 
Back
Top