Jump to content
BauerMac

[SOLVED] Help solve Mystery of Mac that won´t sleep!

2 posts in this topic

Recommended Posts

Hey guys,

I hope you can help me solve a mystery.
Even the amazing Mald0n has been working hard to help me find a solution, but now were are both stuck.
Creative thinking or maybe just help to see the forest for the trees would be highly appreciated.

 

PROBLEM:
Mac will not sleep.
Monitors sleep fine, and come back on with touch of keyboard.
GPU and CPU coolers are constantly running on idle to low load and will not go on standby no matter what we have tried.
Even when using full “Shut down” via apple menu the lights from the MoBo or GPU are pulsing slowly, which they normally dont as far as I recall.
(This specific issue could possibly be solved by using ErP Ready in BIOS. Haven´t tested this since that´s a smaller issue ATM)
 

Everything else seems to be working fine.
This problem started appr a week ago, and I have no idea why.
No major installs, updates or changes that I can think of.
 

GOALS:
• To be able to activate sleep via apple menu.
• To have it sleep within 15-30 secs and wake up quickly (like it did before) via push on Power button


TECH SPEC:
• Running 10.13.6
• Asus Maximus X Hero Wifi
• Gtx 1080 Ti
• 32 GB Corsair RAM
• Intel i7 8700K
• 2 monitors via Displayport
• 6 internal disks (2 HDD, 4 SSD)
• 1 external backup
• 1 internal USB hub/SD reader
• 3rd party Bluetooth and Wifi (Asus MB not compatible)
• No Blutooth mouse, KB etc


WHAT I HAVE DONE SO FAR:
• Used Mald0n’s custom DSDT with latest config
• IUpdated to latest Security Update
• Updated to latest BIOS
• Updated NVIDIA webdriver and CUDA to latest
• Disconnected LED monitors and tested with old Mac monitor via DVI to see if Displayports were the issue
• Disabled Adobe CC Sync
• Run CleanMyMac

• No start-up apps or extensions in System Prefs
• Disk Utility: checked all disks
• Terminal: no info on wake reason at all. (Possibly because it doesn´t sleep, hence nothing is interrupting it).
• Blutooth allowed to wake sleep: set to OFF
• Power manager: only setting is “never switch off monitors”. The rest are off/unchecked
• BIOS: Tested by setting "ErP ready" to S5 > no difference

• DSDT and EFI folder screenshot attached.


I think that’s it - otherwise just ask :)

I have read a lot of articles on this type of issue, but none with a clear answer.
So if anyone can solve this mystery, it would be amazing!
Thank you in advance! :thumbsup_anim:
 

Bauermac DSDT.aml.zip

Skærmbillede 2019-05-06 kl. 15.09.11.png


UPDATE:
Of course it was something seemingly insignificant and stupid that prevented sleep: An unfinished PRINTER job.... :ph34r:
After clearing the printer queue, it went to sleep but woke up immediately after due to a USB power issue. Possibly an internal USB/SD hub.
Mald0n used his magic and made a new DSDT file to fix that, and now the machine is running almost perfectly apart from a fickle Bluetooth (fingers crossed).

Hope this can help others out there with issues.

 

Edited by BauerMac

Share this post


Link to post
Share on other sites
Advertisement

NVM, skipped over the update at the bottom of your post.  o_O

Edited by JackRabbitSlim

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By VortexisTV
      So I've been trying to update to Big Sur from Catalina but I get stuck at the +++ message at the beginning. I made sure I have all my kexts and drivers updated. Updating to Clover revision 5126 would only get me kernel panics. Am I doing something wrong? Any response would be greatly appreciated. EFI
       
      ASUS Zenbook UX331FN
      Intel Core i5-8265U
      Intel UHD 620
      Clover 5120
       

    • By LAbyOne
      Out of curiosity...
      I'm probably not aware of latest Apple's crapinside
      Normally @ every system upgrade we all get security Updates for all other systems...
      So today as usual, i got the ones for HS, Moj, BUT ON catalina... que dalle - nothing - nani mo - ничего
      Did you get the same as me or some apple {censored} still going on?
       
      If anyone knows, or have more infos than me about that i'd like to know your opinion - experience
    • By kushwavez
      A really good motherboard with macOS compatible bult-in Wifi & Bluetooth

      ASUS Z170-Deluxe (with Wifi)
      BIOS: v3801
      CPU: i7-6700K 4.0 to 4.2 GHz (w/o OC)
      RAM: 1x 16 GB Corsair DDR4 2400 MHz
      GPU: Intel HD 530 (Headless) & ASUS Radeon RX 5700 OC 8 GB
      Audio: ALC 1150
      Ethernet: I219V2, I211-AT
      WiFi & Bluetooth: Broadcom BCM94360HMB Half-Mini-PCI-E
      More Specs: https://www.asus.com/Motherboards/Z170-DELUXE/specifications/
       
      El Capitan 10.11.6 -> Big Sur 11 - Windows 10
       
      What is working:
      BCM94360HMB Wifi and Bluetooth AirDrop, Handoff, FaceTime, Messages, App Store, iCloud, etc. Intel HD 530 (QE/CI tested, but now I'm using it in headless) Sleep RX 5700 (QE/CI with 2 1080p monitors connected) Sound (all ports) USB Ports Two Ethernet ports macOS with a light OC (4.12 GHz - 4.5 Ghz, XMP, ASUS optimal) ASUS HyperKit and M.2 with a KINGSTON NVMe SSD - 250 GB Hardware decoding/encoding on both HD 530 and RX 5700 (HD 530 up to HEVC, RX 5700 at the time of writing VP9) iGPU only (with QuickSync) is used in the default config.plist To use dGPU for hw decode/encode and also use Intel QuickSync you need to start with "config_headless.plist" This will use iMac17,2 SMBIOS and shikigva=80 To use dGPU only boot with "config_amd.plist" also disable iGPU completely in BIOS. This will use iMacPro1,1 SMBIOS without iGPU System Integrity Protection is Enabled by default. If you need to boot with SIP disabled you may use "config_debug.plist" or disable it manually in Clover settings. If you want Enabled SIP but with allowing unsigned kexts you may boot with "CsrActiveConfig = 0x01"  
      What is not working:
      -  
       
      Not tested:
      Thunderbolt (no equipment)  
      Issues:
      None  
      BIOS Settings:
      Boot\CSM (Compatibility Support Module): Launch CSM: Disabled Boot\Secure Boot: OS type: Other OS Secure Boot State: Disabled Advanced\System agent (sa) Configuration: VT-d: Enabled Graphics Configuration: (This is for HD 530 in headless) Primary Display: Auto (to use dGPU only this must be PEG) iGPU Multi-monitor: Enabled (to use dGPU only this must be Disabled) RC6(Render Standby): Enabled (to use dGPU only this must be Disabled) DVMT Pre-Allocated: 128M Advanced\PCH Storage Configuration: SATA Mode Selection: AHCI HyperKit: Enable (if you have NVMe SSD with ASUS HyperKit) Advanced\CPU Configuration: Intel Virtualization Technology: Enabled CPU- Power Management Control: CPU- C-States: Enabled Intel SpeedShift: Enabled  
      Getting ready for installation:
      Download the bootpack (Clover v5126): Click here -> Z170-DELUXE_Clover_v5126.zip (Tested: El Capitan 10.11.6 -> macOS Big Sur 11.0.1)  
      Installation:
      Create an installer with any method you know (- Mac: createinstallmedia, gibMacOS - Windows: Transmac, Vmware, Win32diskimager, gibMacOS) Copy my Clover folder to the USB's EFI folder Boot with the Installer USB If you have any problem (kp or freeze) boot with config_debug.plist to see what causes the issue  
      Post Installation:
      Download Clover Configurator and generate a new Serial Number for yourself  
      Some pictures:

       
       



       
      El Capitan 10.11.6
       
      Sierra 10.12.6
       
      High Sierra 10.13.6
       
      Mojave 10.14.6
       
      Catalina 10.15.7
       
      Catalina & Windows 10 Dual-Boot (clean install, on one drive):
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac)
       Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart
      Boot into your Win installer, Format the partition you created for Win, install. 
      Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type: 
      bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi  
      You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)  
      Mounting EFI from Windows:
      Open cmd in administrator mode and type: mountvol b: /s (This will mount your EFI) Open Total Commander or Explorer++ in administrator mode to manage EFI mountvol b: /d (This will unmount your EFI)  
      Useful Applications for Mac:
      EFI Mountain Show -> To easily mount your EFI Clover Configurator -> To easily manage your config.plist https://mackie100projects.altervista.org/download-clover-configurator/ PlistEditPro -> Advanced plist editor https://www.fatcatsoftware.com/plisteditpro/ iStat Menus -> To monitoring your devices https://bjango.com/mac/istatmenus/ Boom 3D -> To significantly increase your audio quality https://www.globaldelight.com/boom/ TextMate -> a basic code editor just like Notepad++ on Windows https://macromates.com Modified Wineskin to run basic Windows 32-bit or 64-bit (or DX9 games) applications on Catalina -> https://www.reddit.com/r/MacOS/comments/fobx5t/i_didnt_want_to_boot_windows_every_time_when_i/ MaciASL -> View/Edit your .aml, .dsl files https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/ Hackintool -> All useful info, tools in one place https://github.com/headkaze/Hackintool IORegistryExplorer V2.1 -> To view your IO tables https://github.com/vulgo/IORegistryExplorer/releases/tag/v2.1 App Cleaner -> To delete your apps with caches https://freemacsoft.net/appcleaner/ Intel Power Gadget -> To see your frequencies https://software.intel.com/en-us/articles/intel-power-gadget Carbon Copy Cloner -> Advanced macOS drive backup utility https://bombich.com Commander One ->A Total Commander alternative for macOS https://mac.eltima.com/file-manager.html  
      Useful Applications for Windows:
      Total Commander -> To easily manage EFI https://www.ghisler.com gibMacOS -> A python script for downloading/creating macOS Internet Recovery USB from Windows (working internet is needed when installing) https://github.com/corpnewt/gibMacOS mountvol b: /s -> To mount your system drive EFI
      EasyUEFI -> To manage boot orders and any bootloaders with ease https://www.easyuefi.com/index.html
      MiniTool Partition Wizard -> To mount your USB EFI, and manage other drives https://www.minitool.com/partition-manager/
      Notepad++ -> Basic code editor for all type of files https://notepad-plus-plus.org
       
      Notes:
      No need to change anything inside Clover from El Capitan to Big Sur For macOS Mojave and older you might need the full AirPortBrcmFixup.kext for full WiFi support   
      Changelog:
      2020.11.12: Noticed that the CPU is always at 4200 Mhz, created an SSDT for proper CPU stepping. Updated to Big Sur release version, updated bootpack
      2020.11.03: Tested El Capitan, Sierra, High Sierra, Mojave, Catalina, Big Sur
      2020.11.01: Updated bootpack to Clover v5126, ready for macOS 11 Big Sur final release
      2020.04.23: Corrected layout-id to use all audio ports, updated bootpack
      2020.04.22: Deleted unnecessary boot-args, can boot without any custom boot-args (except agdpmod=pikera for RX 5700), updated bootpack
      2020.04.20: Deleted unnecessary lines from config.plist, updated bootpack
      2020.04.17: Replaced FakeSMC with VirtualSMC because FakeSMC is outdated (to see your frequencies use Intel Power Gadget) -> Removed unnecessary kexts, Updated all necessary kexts, updated Clover to v5112, updated bootpack, enabled SIP, deleted bootcamp theme
      2020.03.26: Updated to 10.15.4 -> Updated WhateverGreen, Lilu -> Updated Clover to v5107
      2020.03.23: Removed "EmuVariableUefi.efi" -> deleted, caused false nvram map, now it's native, updated Clover to v5106
      2020.02.11: Updated to 10.15.3 -> No problem when/after installing
      2020.01.19: Added ASUS HyperKit NVMe SSD to the "What is working" list
      2020.01.12: Tested system with OC, added more informations to BIOS settings
      2020.01.11: Added SmallTreeIntel82576.kext for 2nd Ethernet, Tested Ethernet ports
      2020.01.11: First upload
       
    • By 83427
      I'm member of this community for 10 years and now I feel I can finally somehow help to other beginners like me, who has the same or similar hardware like me. 
       
      Here is my EFI partition with OpenCore 0.6.1 configured for 
      Asus Maximus VI Formula (chipset Z87)
      Intel Core i5-4670K @ 4GHz
      32GB DDR3 1600MHz
      Sapphire Radeon RX480 4GB
       
      I removed SN, UUID and others unique values from config.plist so don't forget to fill yours own or generate new. For beginners like me is very useful OpenCore Configurator
       
      Its compatible with macOS Catalina. I'm not sure, but I think that Mojave works also.
       
      I spent a lot of time by resolving problem with integrated sound card (Realtek ALC1150). If you have problems with sound, try another layout number via alcid=XX in boot-args. For Maximums VI Formula value 5 match the best I think. For more info how to fix soundcard read here: https://dortania.github.io/OpenCore-Post-Install/universal/audio.html 
       
       
       
      EFI.zip
    • By HerryYT
      I own a asus eee pc 1025c with patched bios to support x64 os, is it possible to install any version of mac os even with patched kernel? anyone interested in helping? 
×