Amit_ Posted October 23, 2016 Share Posted October 23, 2016 I have an almost perfectly working Sierra build. Everything works except sleep. Whenever I click the sleep button, I hear all the fans turn off, and the displays turn off, but in 20 seconds or so, everything turns right back on. The displays are still off though and I have to move my mouse to make it turn back on. I'm using SMBIOS 14,2 and these are my system specs: Dell Inspiron 3647 CPU : Intel i3-4130 @ 3.40 GHz Cooler : Stock Intel Cooler MOBO : Dell 2YRK5 GPU : NVIDIA GeForce GT 720 1 GB DDR3 RAM : 8 GB DDR3 1600 MHz HDD : Seagate BarraCuda 7200rpm 500 GB WiFi + BT : AR9565 (Working) Keyboard : Logitech K120 Mouse : Etekcity Scroll S1 Monitor : Dell E2414H and Dell 1905FP Audio : ALC662V2 Speakers : Dell AX210 I have almost everything working (even iMessage/FaceTime) and I really want sleep to work since I used it a lot on Windows. Any help would be appreciated. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/ Share on other sites More sharing options...
buoo Posted October 23, 2016 Share Posted October 23, 2016 Open the console and look for "wake reason" 1 Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2304795 Share on other sites More sharing options...
Amit_ Posted October 23, 2016 Author Share Posted October 23, 2016 Open the console and look for "wake reason" I can't really find anything since there is something happened every second or so and it just keeps moving. However I did apply an SSDT from this link: https://github.com/Piker-Alpha/ssdtPRGen.sh But now, whenever I click sleep, my PC just reboots. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2304918 Share on other sites More sharing options...
Allan Posted October 23, 2016 Share Posted October 23, 2016 Post the Console output, and extract a IOReg debug and post here. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2304934 Share on other sites More sharing options...
buoo Posted October 24, 2016 Share Posted October 24, 2016 I can't really find anything since there is something happened every second or so and it just keeps moving. However I did apply an SSDT from this link: https://github.com/Piker-Alpha/ssdtPRGen.sh But now, whenever I click sleep, my PC just reboots. try this fix </dict> <key>KernelAndKextPatches</key> <dict> <key>AppleRTC</key> <true/> </dict> you get KP maybe, which kext are you using for AR9565? Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2305065 Share on other sites More sharing options...
monto Posted October 24, 2016 Share Posted October 24, 2016 I have another post about sleeping issues, perhaps you can take a look.For me to workaround the problem you've seen, I needed to wake the machine using power button instead of keyboard/mouse/trackpad. After reboot, the first sleep is always successfully. However, if k/m/t is used to wake the system, the second sleep always causes "resume right after sleep" issue like what you have encountered.Using the power button to wake the system completely eliminates this issue. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2305080 Share on other sites More sharing options...
Amit_ Posted October 26, 2016 Author Share Posted October 26, 2016 try this fix </dict> <key>KernelAndKextPatches</key> <dict> <key>AppleRTC</key> <true/> </dict> you get KP maybe, which kext are you using for AR9565? I already had AppleRTC enabled. I'm using this kext for AR9565: www.youtube.com/watch?v=4Q_bLKSCFDU I have another post about sleeping issues, perhaps you can take a look. For me to workaround the problem you've seen, I needed to wake the machine using power button instead of keyboard/mouse/trackpad. After reboot, the first sleep is always successfully. However, if k/m/t is used to wake the system, the second sleep always causes "resume right after sleep" issue like what you have encountered. Using the power button to wake the system completely eliminates this issue. Problem is my machine never goes to sleep, it just wakes right back up. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2307142 Share on other sites More sharing options...
William Parker Posted October 28, 2016 Share Posted October 28, 2016 I was hoping 10.12.1 would change things. Sadly that is not the case. Quite a few of us had hope for Intel HD530 being able to sleep/wake post El Capitan, but even that is not so. So I changed to a Nvidia GTX950 on ElCap & got back sleep. Now even that is broken. This is probably designed by Apple for their systems and I really do not see any option but to revert to 10.11.6 more so because I have a long 30+ second delay while rebooting and shutdown. Even after the monitor goes off, the machine takes another few seconds before powering completely down. All I see here is us users running blind from pillar to post hoping some brilliant mind would care to pop the hood and take a look. The scene overall is slowing down and no skilled techies seem interested since the last couple of years. Feeling quite helpless. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2308140 Share on other sites More sharing options...
Amit_ Posted October 29, 2016 Author Share Posted October 29, 2016 UPDATE:Added many patches to DSDT --> made no difference SSDT --> made no difference Patches in Clover --> made no difference I guess sleep will never work on my machine. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2308785 Share on other sites More sharing options...
monto Posted October 29, 2016 Share Posted October 29, 2016 This problem appears to be occurring to real Mac too, as per the discussion in Apple support forum. Link as below:https://discussions.apple.com/thread/7680898?start=0&tstart=0 Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2308792 Share on other sites More sharing options...
Amit_ Posted October 31, 2016 Author Share Posted October 31, 2016 bump Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2311213 Share on other sites More sharing options...
monto Posted November 2, 2016 Share Posted November 2, 2016 After trying so many different things, the "reboot at wake" problem seems mostly fixed. While I can't be 100% certain what exactly fixed the problem, I suspect the followings have something to do: 1. removed USBInjectAll.kext (doesn't seem required with latest clover)2. Install latest clover r3882 (most likely the real contributor of the fix, but can't confirm either way) 3. darkwake = no 4. disable BT to wake & network to wake 5. remove ssdt.aml generated by ssdtPRgen.sh (doesn't seem required with latest clover) 6. Run following commandssudo pmset -a standby 0 && sudo pmset -a autopoweroff 0 sudo nvram -csudo kextcache -system-prelinked-kernelsudo kextcache -system-cachesMake sure the system is cold reboot when you finish all the changes. Link to comment https://www.insanelymac.com/forum/topic/317133-sleep-not-working/#findComment-2312343 Share on other sites More sharing options...
Recommended Posts