Advanced DSDT Fixes: Enable Sleep on P55 Motherboards

This guide assumes you have done the previously posted DSDT guide, Create and Modify Your DSDT.aml

If you have managed to extract and edit your own DSDT already, and have applied DGTP and CMOS Reset fixes, then you're ready for this guide. If you properly edit your DSDT to make these changes, you can:
  • Enable Sleep without the use of SleepEnabler.kext
  • Remove IOAHCIBlockStorageInjector.kext & NullCPUPowerManagement.kext from /Extra/Extensions.
  • Enable your Hackintosh to recognize your USB devices as Built-In.
  • Enable your Hackintosh to recognize your Intel SATA devices as Built-In.
If you own a GA-P55M-UD2, you're in luck! I've already made all of the edits. You can use my DSDT! The attached DSDT.aml has fixes applied for CMOS Reset, HDEF (for use with LegacyHDA_ALC888B, UHCI/EHCI, SATA, HPET, and SMBUS. I wouldn't recommend using my DSDT on your non-Gigabyte Motherboard, but the corrections that you make should be very similar in all P55 boards.

FORMAT FOR TEXT BASED FIXES
Because DSDT editing is text/code based, I created a tonymacx86-DSDT-FIXES.dsl file that you can open and copy/paste from in DSDTSE. You can also open it in any standard text editor, but you won't be able to copy/paste multiple lines. Copying from standard text files or web pages inserts hidden characters, making the DSDT.aml unable to compile.

METHOD FOR DSDT EDITING
  1. Download the latest version of DSDTSE
  2. Download tonymacx86-DSDT-FIXES.zip
  3. Open DSDTSE.
  4. Open your DSDT.aml file.
  5. Your DSDT.aml will decompile into an editable DSDT.dsl and open in the editor.
  6. Open tonymacx86-DSDT-FIXES.dsl
  7. Search for the first part of the code you're attempting to edit, i.e. _WAK or HPET.
  8. Scan down your DSDT to make changes as referenced in the each example.
  9. When you are finished making changes, click Tools and choose Compile.
  10. If you don't get any errors, click Tools and choose DSDT files folder.
  11. Your DSDT files folder (/Library/Application Support/EvOSoftware/DSDT) will open in Finder. Helpful Hint: you can pull this folder into the sidebar to bookmark it.
  12. Copy your dsdt.aml.
  13. Paste your dsdt.aml into the root / of your hard drive.
  14. Capitalize DSDT.aml
  15. Remove IOAHCIBlockStorageInjector.kext, NullCPUPowerManagement.kext from /Extra/Extensions.
  16. Drag /Extra/Extensions to Kext Utility.
  17. Make backups of your working/test DSDT and restart.
tonymacx86-DSDT-FIXES.zip includes tonymacx86-DSDT-FIXES.dsl and my latest GA-P55M-UD2 DSDT.aml utilizing all of the following fixes plus HDEF which I leave out for an upcoming guide on LegacyHDA.
  • 00 - Add DTGP (Need for all Fixes)
  • 01 - Fix CMOS reset
  • 02 - Edit USB UHCI/EHCI - Part 1 (Enables Sleep & USB Ports Built In)
  • 03 - Edit USB UHCI/EHCI - Part 2 (Enables Sleep & USB Ports Built In)
  • 04 - Edit IDE (SATA) (Enables SATA ports Built-In and Internal)
  • 05 - Edit PIC, TMR and HPET (Enables you to get rid of extra kexts)
  • 06 - Add SBUS (Need for Sleep)
A few words about DSDTSE. I've had some issues opening this program up- I've had an error come up and the program shut down on launch. Something about Nil Exception. You need to launch it from another location. Just keep trying if you get an error- it's not the program, it's the location. The reason I use it is because it's hands down the best tool out there for editing DSDTs. Got to give it up to The Evosx86 Team for making such an awesome app.

Your /Extra/Extensions folder now should only contain:
EvOReboot.kext
fakesmc.kext
JMicronATA.kext
LegacyHDA_ALC888B.kext
PlatformUUID.kext

Good luck and have fun editing! Feel free to post links to fully updated and sleep compatible DSDTs for review- it would be great to have a collection of them all in one place. I'll keep researching and doing fixes for my specific board and adding them to this site.

Special thanks to The Evosx86 Team for DSDTSE, The Insanelymac P55 Thread and Rekursor and Bansaku's GA-P55-UD3R DSDT edits.

-tonymacx86

EDIT:
To enable sleep, make sure to remove the necessary kexts and check all of the checkboxes in System Preferences/Energy Saver as shown in the picture below.



For discussions on this and other topics, register today at tonymacx86.com!