From 03481448817d87e8178fac729c2a448d87a20128 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Sat, 29 Feb 2020 22:45:38 -0700 Subject: [PATCH] Add extra pointers --- Desktops/desktop-ec.md | 8 ++++---- Universal/plug.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/Desktops/desktop-ec.md b/Desktops/desktop-ec.md index 95ad60d..1749b7f 100644 --- a/Desktops/desktop-ec.md +++ b/Desktops/desktop-ec.md @@ -16,9 +16,9 @@ As you can see our `PNP0C09` is found within the `Device (EC0)` meaning this is ```text /* <- REMOVE THIS -External (_SB_.PCI0.LPCB.EC0, DeviceObj) +External (_SB_.PCI0.LPCB.EC0, DeviceObj) <- Rename this - Scope (\_SB.PCI0.LPCB.EC0) + Scope (\_SB.PCI0.LPCB.EC0) <- Rename this { Method (_STA, 0, NotSerialized) // _STA: Status { @@ -79,9 +79,9 @@ We want to make sure the SSDT hooks into our DSDT correctly so we need to make s Once you find out, change `PCI0.LPCB` to your correct path: ```text -Scope (\_SB.PC00.LPC0) +Scope (\_SB.PC00.LPC0) <- Rename this { - Device (EC) + Device (EC) <- DO NOT RENAME THIS { Name (_HID, "ACID0001") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status diff --git a/Universal/plug.md b/Universal/plug.md index ac56e35..a9ddf37 100644 --- a/Universal/plug.md +++ b/Universal/plug.md @@ -23,4 +23,40 @@ If we then search for instances of `CP00` we find that it's ACPI path is `SB.SCK So for this X299 board, we'd change `\_PR.CPU0` with `\_SB.SCK0.CP00` and `External (_PR_.CPU0, ProcessorObj)` with `External (_SB_.SCK0.CP00, ProcessorObj)` + +```text +External (_PR_.CPU0, ProcessorObj) <- Rename this + +Scope (\_PR.CPU0) <- Rename this +{ + Method (DTGP, 5, NotSerialized) + { + If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b"))) + { + If ((Arg1 == One)) + { + If ((Arg2 == Zero)) + { + Arg4 = Buffer (One) + { + 0x03 + } + Return (One) + } + + If ((Arg2 == One)) + { + Return (One) + } + } + } + + Arg4 = Buffer (One) + { + 0x00 + } + Return (Zero) + } +``` + ## [Now you're ready to compile the SSDT!](/Manual/compile.md)