Contribute
Register

[SOLVED] sleep=shutdown

Status
Not open for further replies.
I'm having a slightly different issue. When it goes to sleep by itself, the monitor never actually goes black... it goes dark, but there is still signal and the arrow cursor is plainly visible. Selecting "Sleep" from the file menu just causes the machine to freeze for a few seconds, then the cursor comes back. Do you think deleting the power management files would address my issue?

there is a setting called halfdim, read the pmset manual, maybe it can give you some ideas
Code:
halfdim - display sleep will use an intermediate half-brightness state between full brightness and fully off
     (value = 0/1)
 
there is a setting called halfdim, read the pmset manual, maybe it can give you some ideas
Code:
halfdim - display sleep will use an intermediate half-brightness state between full brightness and fully off
     (value = 0/1)

Thank you, I will!
 
Your .kext and .efi are outdated. Some of them you don't need, some of them were cannibalized by others kexts and efis. Your config.plist is a template that I saw on dozens of sites... I can bet on that your hardware acceleration doesn't work and you don't have custom SSDT for USBInjectAll.kext. So It's a miracle that you have just sleep/wake problems :)

You should figure out all these things first.
Screen Shot 2018-09-26 at 11.11.02 PM.png
Screen Shot 2018-09-26 at 11.11.33 PM.png
Fortunately, it's a miracle. I had hardware acceleration and custom ssdt.
I'm just wondering how to configure the config.plist. I didn't know which should I toggle, so is there any tutorial?
Please tell me about the outdated efi and kexts then and which should I delete or update then.
 
Last edited:
View attachment 352975
View attachment 352976
Please tell me about the outdated efi and kexts then and which should I delete or update then.

Okey, Shiki and IntelGraphicsFixupis now part of WhateverGreen, use it instead. You don't need XHCI-200-series-injector.kext with your MB. You should also remove USB patch from config.plist, if you injected your USB properly.


ApfsDriverLoader-64.efi, AppleKeyAggregator-64.efi, AppleUITheme-64.efi, AptioMemoryFix-64.efi are covered by this and this.

Here are my .efis that work with AFPS, and FileVault 2. All of them was updated recently.

Screen Shot 2018-09-26 at 6.34.11 PM.png
 
delete all the com.apple.PowerManagement.* files
reboot
Thanks! Sleep works again now.

Okey, Shiki and IntelGraphicsFixupis now part of WhateverGreen, use it instead. You don't need XHCI-200-series-injector.kext with your MB. You should also remove USB patch from config.plist, if you injected your USB properly.


ApfsDriverLoader-64.efi, AppleKeyAggregator-64.efi, AppleUITheme-64.efi, AptioMemoryFix-64.efi are covered by this and this.

Here are my .efis that work with AFPS, and FileVault 2. All of them was updated recently.

View attachment 352979
Thank you for your information. I've just updated the .kexts and .efi.
 
delete all the com.apple.PowerManagement.* files
reboot

macOS re-generated the com.apple.PowerManagement* files

Thanks itwas!

I'm not sure if it worked yet, but I'm giving your solution a try. I had the same symptoms after Mojave on my Main.

Edit: One day later, this solution is working great for me! Thanks again.

Edit 2: Spoke too soon. Since Mojave, sporadically when I wake my Hack I find it booting at the BIOS screen. The search continues...

Edit 3: I haven't completely isolated this issue, but for me the problem appears to have gone away when I started using USBInjectAll.kext. Previously I was using the default BIOS tables.
 
Last edited:
I deleted all the PowerManagement files and sleep is working fine. Thanks to itwas!
 
further testing :

SSD#1
updated from Sierra 10.12.6 15G1510 to Mojave 11.14.0 18A391
-> sleep = shutdown


Reset NVRAM in Clover boot menu (Press F11)
result : no effect


checked the power management preferences in
Code:
/Library/Preferences
Code:
-rw-r--r--   1 root         wheel         108 Mar  4  2018 com.apple.PowerManagement.7402D403-3504-9205-E206-BE0700080009.plist
-rw-r--r--   1 root         wheel         393 Sep 26 17:43 com.apple.PowerManagement.7B17E968-ED2F-533A-BA4C-67A0205D0A91.plist
-rw-r--r--   1 root         wheel         273 Sep 25 23:26 com.apple.PowerManagement.plist
delete all the com.apple.PowerManagement.* files
reboot

macOS re-generated the com.apple.PowerManagement* files
Code:
-rw-r--r--   1 root         wheel          42 Sep 26 17:58 com.apple.PowerManagement.7B17E968-ED2F-533A-BA4C-67A0205D0A91.plist
-rw-r--r--   1 root         wheel         102 Sep 26 17:58 com.apple.PowerManagement.plist

result : sleep/wake function is working right now

Thank you @itwas, your solution solved my sleep=reboot issue.
 
further testing :

SSD#1
updated from Sierra 10.12.6 15G1510 to Mojave 11.14.0 18A391
-> sleep = shutdown


Reset NVRAM in Clover boot menu (Press F11)
result : no effect


checked the power management preferences in
Code:
/Library/Preferences
Code:
-rw-r--r--   1 root         wheel         108 Mar  4  2018 com.apple.PowerManagement.7402D403-3504-9205-E206-BE0700080009.plist
-rw-r--r--   1 root         wheel         393 Sep 26 17:43 com.apple.PowerManagement.7B17E968-ED2F-533A-BA4C-67A0205D0A91.plist
-rw-r--r--   1 root         wheel         273 Sep 25 23:26 com.apple.PowerManagement.plist
delete all the com.apple.PowerManagement.* files
reboot

macOS re-generated the com.apple.PowerManagement* files
Code:
-rw-r--r--   1 root         wheel          42 Sep 26 17:58 com.apple.PowerManagement.7B17E968-ED2F-533A-BA4C-67A0205D0A91.plist
-rw-r--r--   1 root         wheel         102 Sep 26 17:58 com.apple.PowerManagement.plist

result : sleep/wake function is working right now

This worked for me too. Thanks!!
 
Status
Not open for further replies.
Back
Top