stefa.rossi Posted April 2, 2014 Share Posted April 2, 2014 Hello everybody, apparently my hackintosh cannot sleep properly. It goes to sleep, but does not wake up (even though I can hear the hard drives spin up, the displays stay off). These are my specs: OS X 10.8.5 Motherboard Asrock Z87 Extreme4 CPU Intel Pentium G3420 (LGA 1150) GeForce GT 610 I'm using Clover as my bootloader. I'm running without the SleepEnabler and NullCPUPowerManagement extensions. I generated an SSDT with these commands: curl -o ssdtPRGen.sh https://raw.github.com/Piker-Alpha/RevoBoot/clang/i386/libsaio/acpi/Tools/ssdtPRGen.sh chmod +x ssdtPRGen.sh ./ssdtPRGen.sh 3200 53 and copied "~/Desktop/ssdt_pr.aml" to "EFI/CLOVER/ACPI/patched/SSDT.aml" (on the EFI partition), then I patched the kernel with this command: sudo perl -pi -e 's|\x74\x69(\x48\x83\xc7\x28\x90\x8b\x05\xfe\xce\x5f\x00\x85\x47\xdc)\x74\x51(\x8b\x4f\xd8\x45\x85\xc0\x74\x05\x44\x39\xc1)\x75\x44(\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x57\xf8\x48\x8b\x47\xe8\x48\x85\xc0\x74\x06\x48\xf7\xd0\x48\x21\xc2\x48\x0b\x57\xf0\x49\x89\xd1\x49\xc1\xe9\x20\x89\xd0\x8b\x4f\xd8\x4c\x89\xca)(\x0f\x30\x8b\x4f\xd8\x0f\x32\x89\xc0\x48\xc1\xe2\x20\x48\x09\xc2\x48\x89\x17\x48\x83\xc7\x30\xff\xce)\x75\x9c(\x5d\xc3)\x90{7}(\x90{3})|\x74\x70${1}\x74\x58${2}\x75\x4b${3}\x66\x81\xf9\xe2\x00\x74\x02${4}\x75\x95${5}${6}|g' mach_kernel (I found these commands on this forum.) However, I never patched the DSDT. Can somebody give me some instructions on what to try next? Thanks! Link to comment Share on other sites More sharing options...
stefa.rossi Posted April 17, 2014 Author Share Posted April 17, 2014 Any idea? Thanks Link to comment Share on other sites More sharing options...
SeeYouAround Posted May 12, 2014 Share Posted May 12, 2014 Open up terminal and type: syslog |grep -i "wake reason" maybe it says something usefull in there even if it doesn't wake up. Link to comment Share on other sites More sharing options...
iFIRE Posted May 12, 2014 Share Posted May 12, 2014 try delete the kexts ATI* AMD* AppleIntelHD* ,then repairpermissions with kext Wizard app/reboot, go to the bios and disable the integrate IntelHD Graphics Link to comment Share on other sites More sharing options...
stefa.rossi Posted May 12, 2014 Author Share Posted May 12, 2014 I've deleted all the kexts mentioned; I could not find an option to disable the integrated graphics in the EFI, though. After rebooting I tried putting the computer to sleep, and I ran into the same problem, the computer didn't wake up. The command syslog | grep -i "wake reason" produced no output. Thank you anyway for your replies! Link to comment Share on other sites More sharing options...
SeeYouAround Posted May 12, 2014 Share Posted May 12, 2014 I've deleted all the kexts mentioned; I could not find an option to disable the integrated graphics in the EFI, though. After rebooting I tried putting the computer to sleep, and I ran into the same problem, the computer didn't wake up. The command syslog | grep -i "wake reason" produced no output. Thank you anyway for your replies! Maybe what IFIRE said to me is you have to patch your DSDT but i don't know how and what let's wait for IFIRE's comment Link to comment Share on other sites More sharing options...
iFIRE Posted May 12, 2014 Share Posted May 12, 2014 I could not find an option to disable the integrated graphics in the EFI, ?? THIS IS in your your BIOS in section graphics. Post a full Darwin Dumper Report with all info Link to comment Share on other sites More sharing options...
stefa.rossi Posted May 12, 2014 Author Share Posted May 12, 2014 I could not find an option to disable the integrated graphics in the EFI, ?? THIS IS in your your BIOS in section graphics. Post a full Darwin Dumper Report with all info I don't have a graphics section in my EFI. The closest I found is this: IGPU Multi-Monitor Select disable to disable the integrated graphics when an external graphics card is installed. Select enable to keep the integrated graphics enabled at all times. I've also set to use PCI-E as the default graphics. This is the DarwinDumper report: http://cl.ly/1W1V1A0s0a1j Link to comment Share on other sites More sharing options...
iFIRE Posted May 12, 2014 Share Posted May 12, 2014 IGPU Multi-MonitorSelect disable to disable the integrated graphics when an external graphics card is installed well, try install all kexts to S/L/E and I see a lot the kexts from VitualBox in the system , not know if can be this the problem I made changes in the config.plist, try this one and test if work to you carpeta sin tà tulo.zip Link to comment Share on other sites More sharing options...
stefa.rossi Posted May 16, 2014 Author Share Posted May 16, 2014 (edited) Thank you. I did everything you suggested; now the computer goes to sleep, but wakes up automatically after a couple of seconds. Also, it takes about 1 minute and 20 seconds to fully wake up (from the moment the LED powers on, to the moment the display powers on). I took a look at syslog, as SeeYouAround suggested: syslog | grep -i "wake reason" May 15 23:27:18 lenny kernel[0] <Debug>: Wake reason: RTC GIGE (Network) May 16 04:08:23 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 04:13:05 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 04:16:55 lenny-osx kernel[0] <Debug>: Wake reason: PWRB GIGE (User) May 16 04:22:04 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 13:59:40 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 14:02:55 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) I disabled "Wake for Ethernet network access" in the Energy Saver preference pane, now I get this: $ syslog | grep -i "wake reason" May 15 23:27:18 lenny kernel[0] <Debug>: Wake reason: RTC GIGE (Network) May 16 04:08:23 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 04:13:05 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 04:16:55 lenny-osx kernel[0] <Debug>: Wake reason: PWRB GIGE (User) May 16 04:22:04 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 13:59:40 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 14:02:55 lenny-osx kernel[0] <Debug>: Wake reason: GIGE (Network) May 16 14:07:41 lenny-osx kernel[0] <Debug>: Wake reason: ? On the forum I read that the output of this command may be useful for debugging: $ pmset -g assertions 5/16/14 2:11:52 PM GMT+0 Assertion status system-wide: PreventUserIdleDisplaySleep 0 PreventSystemSleep 0 PreventUserIdleSystemSleep 0 ExternalMedia 0 UserIsActive 0 ApplePushServiceTask 0 BackgroundTask 1 Listed by owning process: pid 315(helpd): [0x0000000c00001493] 00:07:18 BackgroundTask named: "com.apple.helpd.sdmbuilding" Kernel Assertions: 0x0012 * Kernel Assertion ID = 500 Created At = 5/16/14 1:50:31 PM GMT+0 Modified At = 5/16/14 1:55:31 PM GMT+0 Owner ID = 0xffffff80d7563000 Level = 255 Assertions Set = None (4) * Kernel Assertion ID = 501 Created At = 5/16/14 1:50:33 PM GMT+0 Modified At = 5/16/14 1:55:32 PM GMT+0 Owner ID = 0xffffff80d756d000 Level = 255 Assertions Set = None (4) * Kernel Assertion ID = 505 Created At = 5/16/14 2:21:56 PM GMT+0 Modified At = 1/1/70 1:00:00 AM GMT+01 Owner ID = 0xffffff8022f09800 Level = 255 Assertions Set = None (8) EDIT: I rebooted, now sleep appears to be working fine. I still experience extremely slow wake, though. Any idea on how to fix it? Edited May 16, 2014 by stefa.rossi Link to comment Share on other sites More sharing options...
Recommended Posts