mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2025-12-31 20:55:58 -08:00
Add extra pointers
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user