Created
May 1, 2019 13:17
-
-
Save siuying/2818c9acbc407f4d28bd161551700bcd to your computer and use it in GitHub Desktop.
Fixing sleep problem on Hackintosh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DefinitionBlock ("", "SSDT", 2, "hack", "spoof", 0) | |
{ | |
// ASUS X299 PRIME PCIE Slot-1 | |
Method(_SB.PC02.BR2A.PEGP._DSM, 4) | |
{ | |
If (!Arg2) { Return (Buffer() { 0x03 } ) } | |
Return (Package() | |
{ | |
"name", Buffer() { "#display" }, | |
"IOName", "#display", | |
"class-code", Buffer() { 0xFF, 0xFF, 0xFF, 0xFF }, | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment