gorans Posted August 19, 2021 Share Posted August 19, 2021 Hi, I'm using OC 0.7.2 with iMac20,1 and Catalina. Having problems with waking up every 2 hours with localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC PEG2 PEG3 RP04 (Alarm) and tried tcpkeepalive 0, proximitywake 0, powernap 0... settings with no avail. However, that's maybe not in the OC scope as many other users have the same problem, even on real macs. What I'm wandering about is my Energy Saver prefpane and missing options. The only two options there are "put hard disks to sleep..." and "wake for network...". If I recall correctly, there should be also a Power Nap and "prevent computer from going to sleep...", "Start up after a power failure..." options. I tried deleting the com.apple.PowerManagement.plist but no change. Maybe it's ACPI problem but it's beyond my level. Any suggestions? SSDT-AWAC.aml Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/ Share on other sites More sharing options...
Slice Posted August 19, 2021 Share Posted August 19, 2021 13 minutes ago, gorans said: Hi, I'm using OC 0.7.2 with iMac20,1 and Catalina. Having problems with waking up every 2 hours with localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC PEG2 PEG3 RP04 (Alarm) and tried tcpkeepalive 0, proximitywake 0, powernap 0... settings with no avail. However, that's maybe not in the OC scope as many other users have the same problem, even on real macs. What I'm wandering about is my Energy Saver prefpane and missing options. The only two options there are "put hard disks to sleep..." and "wake for network...". If I recall correctly, there should be also a Power Nap and "prevent computer from going to sleep...", "Start up after a power failure..." options. I tried deleting the com.apple.PowerManagement.plist but no change. Maybe it's ACPI problem but it's beyond my level. Any suggestions? SSDT-AWAC.aml 80 B · 0 downloads Will there be the same observation if you boot with Clover? Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2764931 Share on other sites More sharing options...
gorans Posted August 19, 2021 Author Share Posted August 19, 2021 27 minutes ago, Slice said: Will there be the same observation if you boot with Clover? I don't have a Clover setup for my rig. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2764932 Share on other sites More sharing options...
Slice Posted August 19, 2021 Share Posted August 19, 2021 7 minutes ago, Hervé said: What you see in your EnergySaverPrefPane seems pretty normal to me for a desktop iMac20,1 profile. This is what I get on my old Vostro200 Hackintosh currently running with iMacPro SMBIOS: Check your Hibernation settings with Terminal command: pmset -g I want to add that I was experiencing something similar on that desktop in a not-too-distant past after I re-instated my wireless keyboard and mouse. I suspected a config issue with USB ports but could not find anything wrong. It turned out it was the wireless keyboard and mouse that caused the computer to wake if I did not turn them off when leaving the computer, those Bluetooth devices operating in HID proxy mode with a USB-based BT dongle. Once I started turning them off after use, the regular wake totally stopped. I don't know what you've got but it could be something similar with a USB-connected accessory. To compare iMac17,1 But I still don't know dependencies. 1 hour ago, gorans said: I don't have a Clover setup for my rig. At your will. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2764937 Share on other sites More sharing options...
gorans Posted August 19, 2021 Author Share Posted August 19, 2021 My pmset -g is also missing some of the usual info: pmset -g System-wide power settings: Currently in use: hibernatemode 0 womp 1 networkoversleep 0 sleep 30 (sleep prevented by coreaudiod) Sleep On Power Button 1 ttyskeepawake 1 hibernatefile /var/vm/sleepimage disksleep 0 displaysleep 10 I don't have any bluetooth or WiFi, or wireless kbd/mouse. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2764938 Share on other sites More sharing options...
gorans Posted August 20, 2021 Author Share Posted August 20, 2021 Almost identical models but different options in Energy saver. What's causing this? BIOS settings? SSDT? Something else? Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2764958 Share on other sites More sharing options...
Slice Posted August 20, 2021 Share Posted August 20, 2021 7 hours ago, gorans said: Almost identical models but different options in Energy saver. What's causing this? BIOS settings? SSDT? Something else? PlatformFeatures, FirmwareFeatures, ACPI settings, NVRAM variables or something else. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2764980 Share on other sites More sharing options...
gorans Posted August 23, 2021 Author Share Posted August 23, 2021 On 8/20/2021 at 5:30 PM, Slice said: PlatformFeatures, FirmwareFeatures, ACPI settings, NVRAM variables or something else. Here are my platform and NVRAM settings. I attached SSDT in first post. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765116 Share on other sites More sharing options...
Guest 5T33Z0 Posted August 23, 2021 Share Posted August 23, 2021 (edited) I am using iMac20.2 since I have an i9 10850K and I used to have this problem too. But it's gone now: I can't recall exatly how I fixed it but I think it was related to SSDT-PLUG.aml. Have a look at SSDT-PLUG.aml and check the pathe of your CPU. In my case it's _SB_.PR00. Next, run IORegistryExplorer and search for whatever your CPU is (the part of the path which is bold). Once you found the entry, select it and then clean the search term. Then you should see something like this: I think what's important besides having a working X86PlatformPlugin is to have "X86PlatformShim" also. If think if this is missing PowerNap doesn't appear in the Energy Saving Settings. Edited August 23, 2021 by 5T33Z0 Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765117 Share on other sites More sharing options...
gorans Posted August 23, 2021 Author Share Posted August 23, 2021 (edited) Thanks 5T33Z0 for the info. I don't have SSDT-PLUG in ACPI, I'm only using SSDT-AWAC.aml. In IOReg this is related to CPU: I downloaded SSDT-PLUG for my motherboard from the github and I can add it to ACPI if it's necessary. SSDT-PLUG.aml Edited August 23, 2021 by gorans Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765154 Share on other sites More sharing options...
Guest 5T33Z0 Posted August 23, 2021 Share Posted August 23, 2021 No SSDT-Plug and SSDT-EC-(USBX) = no Proper Power management. You should follow the instructions on the dortania guide more carefully. Dump the dsdt and use ssdttime to generate SSDT-Plug and SSDT-EC, etc. for your system, integrate them in your efi and config and it should work as expected. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765156 Share on other sites More sharing options...
gorans Posted August 24, 2021 Author Share Posted August 24, 2021 6 hours ago, 5T33Z0 said: No SSDT-Plug and SSDT-EC-(USBX) = no Proper Power management. You should follow the instructions on the dortania guide more carefully. Dump the dsdt and use ssdttime to generate SSDT-Plug and SSDT-EC, etc. for your system, integrate them in your efi and config and it should work as expected. Will do. I used preconfigured EFI folder for my MoBo that I tweaked with serials and stuff, and everything power related was working good (P and C-states, sleep, wake, WOL, shutdown...). The only thing was that wake every 2 hours and it was happening on real macs also. Than I noticed the difference in Energy Saver prefs and popped the question here... Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765174 Share on other sites More sharing options...
Guest 5T33Z0 Posted August 24, 2021 Share Posted August 24, 2021 Just use the .aml files that came with that EFI and it should work again. Next, I'd look for a thread/github about this board and check if someone has come up with a solution to this issue. Sometimes, issues like this cann be fixed an additional SSDT if it is not a macOS related issue. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765176 Share on other sites More sharing options...
gorans Posted August 24, 2021 Author Share Posted August 24, 2021 6 minutes ago, 5T33Z0 said: Just use the .aml files that came with that EFI and it should work again. Next, I'd look for a thread/github about this board and check if someone has come up with a solution to this issue. Sometimes, issues like this cann be fixed an additional SSDT if it is not a macOS related issue. I'm using aml files that came with that EFI. There was only -AWAC and -EC amls and, ony AWAC was enabled in config. And just once more,to be precise: everything power related is still working (P and C-states, sleep, wake, WOL, shutdown...). I just stumbled upon this Energy saver differences when researching wake every two hours due to "process=mDNSResponder request=Maintenance" , but I think that that is related to mdnsresponder and power settings, not to the OC setup directly. And I think that I managed to solve this for now. I posted the question to clear things up, to see the cause of different Energy Saver options for different people and to check that there is no more hidden problems related to this. I will try some other ACPI setups from github that contain other aml files, just to se if Energy Saver options change, and report back. Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765177 Share on other sites More sharing options...
Guest 5T33Z0 Posted August 24, 2021 Share Posted August 24, 2021 (edited) Like I said: get SSDTTime, Dump the DSDT (in windows) and create your own SSDT-PLUG, SSDT-EC etc. And stay away from pre-configured EFIs if you don't know what they are doing exactly and if the documentation is bad. Creating a great working EFI is one thing. Documenting and maintaiing it is another. Creating my github for my EFI took months to get it right. Edited August 24, 2021 by 5T33Z0 Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765185 Share on other sites More sharing options...
gorans Posted August 25, 2021 Author Share Posted August 25, 2021 (edited) I dumped DSDT with SSDTTime (linux) and created SSDT-AWAC.aml, SSDT-PLUG.aml and SSDT-EC.aml. I also downloaded prebuilt SSDT-USBX.aml for skylake and newer from dortania. Everything into ACPI folder, added to config. Now my Energy Saver looks like this: So ACPI setup is definitely responsible for ES differences. Also, pmset -g is much more detailed: pmset -g System-wide power settings: Currently in use: standby 0 Sleep On Power Button 1 womp 1 hibernatefile /var/vm/sleepimage proximitywake 0 powernap 0 networkoversleep 0 disksleep 0 standbydelayhigh 86400 sleep 30 (sleep prevented by coreaudiod, coreaudiod) hibernatemode 0 ttyskeepawake 1 displaysleep 10 tcpkeepalive 0 highstandbythreshold 50 standbydelaylow 86400 Now that I replaced and added aml files, is there anything that I should check that new setup is working perfectly? Edited August 25, 2021 by gorans Link to comment https://www.insanelymac.com/forum/topic/348602-options-missing-in-energy-saver-prefpane/#findComment-2765236 Share on other sites More sharing options...
Recommended Posts