diff --git a/Universal/awac.md b/Universal/awac.md index 5e86c13..d30c3e7 100644 --- a/Universal/awac.md +++ b/Universal/awac.md @@ -42,4 +42,26 @@ By default the SSDT uses `LPCB`, you can check what your system uses by just sea ![](/images/Universal/awac-md/lpc.png) +## _INI Edge Cases + +Mainly seen on X299 refresh boards, there's already a `Scope (_SB) { Method (_INI...` in your DSDT. This means our SSDT-AWAC will conflict with the one found in our DSDT. For these situations, you'll want to remove `Method (_INI, 0, NotSerialized) {}` from the SSDT. You'll be left this this in the end: + +``` +DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AWAC", 0x00000000) +{ + External (STAS, IntObj) + + Scope (_SB) + { + If (_OSI ("Darwin")) + { + STAS = One + } + } +} +``` + +You can find a prebuilt of this here: [SSDT-AWAC.aml](https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-AWAC.aml) + + ## [Now you're ready to compile the SSDT!](/Manual/compile.md) diff --git a/Universal/plug.md b/Universal/plug.md index 9c468dd..9f1b827 100644 --- a/Universal/plug.md +++ b/Universal/plug.md @@ -1,5 +1,13 @@ # Fixing Power Management +## Easy Way + +With CPU Power Management, it's a simple as taking [SSDT-PLUG](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl) provided by Acidanthera and compiling it yourself. You can find a prebuilt of the file here: [SSDT-PLUG-DRTNIA.aml](https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-PLUG-DRTNIA.aml) + +* Note: This file has a bit of extra bloat as it includes checks for all common CPU names, if you wish to clean this up, either remove unused names or follow the guide below. + +## Long Way(For those who want to learn) + CPU naming is fairly easy to figure out as well, open your decompiled DSDT and search for `Processor`. This should give you a result like this: ![](/images/Universal/plug-md/processor.png) diff --git a/extra-files/SSDT-AWAC.aml b/extra-files/SSDT-AWAC.aml new file mode 100644 index 0000000..5189bf4 Binary files /dev/null and b/extra-files/SSDT-AWAC.aml differ diff --git a/extra-files/SSDT-PLUG-DRTNIA.aml b/extra-files/SSDT-PLUG-DRTNIA.aml new file mode 100644 index 0000000..baafa9c Binary files /dev/null and b/extra-files/SSDT-PLUG-DRTNIA.aml differ