Add INI Edge case for X299

This commit is contained in:
Mykola Grymalyuk
2020-05-04 17:15:31 -06:00
parent 9d1818bcdf
commit a8829eb71e
4 changed files with 30 additions and 0 deletions

View File

@@ -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) ![](/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) ## [Now you're ready to compile the SSDT!](/Manual/compile.md)

View File

@@ -1,5 +1,13 @@
# Fixing Power Management # 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: 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) ![](/images/Universal/plug-md/processor.png)

BIN
extra-files/SSDT-AWAC.aml Normal file

Binary file not shown.

Binary file not shown.