Contribute
Register

[SOLVED] sleep=shutdown

Status
Not open for further replies.
Joined
Jul 23, 2012
Messages
806
Motherboard
GA-Z77N-WIFI-F3-Clover
CPU
E3-1225 v2
Graphics
GT 640 | P4000
Mac
  1. Mac mini
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)
 
Joined
Sep 1, 2016
Messages
384
Motherboard
GA-Z170N Gaming 5
CPU
i7-6700K
Graphics
RX 580
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!
 
Joined
Apr 3, 2018
Messages
7
Motherboard
Asrock Z370M Pro4
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
Mobile Phone
  1. iOS
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:
Joined
Jul 1, 2018
Messages
393
Motherboard
GIGABYTE Z370N
CPU
i7-8700
Graphics
RX 560
Mac
  1. MacBook
Mobile Phone
  1. iOS
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
 
Joined
Apr 3, 2018
Messages
7
Motherboard
Asrock Z370M Pro4
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
Mobile Phone
  1. iOS
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.
 
Joined
Sep 20, 2015
Messages
126
Motherboard
Dell PowerEdge T30
CPU
E3-1225 v5
Graphics
RX 580
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:
Joined
Feb 28, 2013
Messages
186
Motherboard
Gigabyte GA-Z77N-WIFI
CPU
i7 3770K
Graphics
NVIDIA GeForce GTX 770
Mac
  1. iMac
  2. MacBook
  3. Mac Pro
Mobile Phone
  1. Android
  2. iOS
I deleted all the PowerManagement files and sleep is working fine. Thanks to itwas!
 
Joined
May 16, 2013
Messages
6
Motherboard
Gigabyte Z370N Clover UEFI
CPU
i5 8500
Graphics
UHD 630
Mac
  1. iMac
Mobile Phone
  1. iOS
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.
 
Joined
Nov 9, 2015
Messages
87
Motherboard
GIGABYTE Z170XP-SLI
CPU
I5-6600K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
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.
Top