mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
Massive overhaul(hopefully helps new users a bti)
This commit is contained in:
67
Universal/nvram-methods/manual.md
Normal file
67
Universal/nvram-methods/manual.md
Normal file
@@ -0,0 +1,67 @@
|
||||
# Fixing NVRAM: Manual
|
||||
|
||||
* [Finding the ACPI path](#finding-the-acpi-path)
|
||||
* [Edits to the sample SSDT](#edits-to-the-sample-ssdt)
|
||||
* [Compiling the SSDT](#compiling-the-ssdt)
|
||||
* [Wrapping up](#wrapping-up)
|
||||
|
||||
## Finding the ACPI path
|
||||
|
||||
Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from [Dumping the DSDT](/Manual/dump.md) and [Decompiling and Compiling](/Manual/compile.md) with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an [ACPI extension](https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl) that can also help).
|
||||
|
||||
Next, search for the following:
|
||||
|
||||
* Finding the LowPinCount path:
|
||||
* Search `Name (_ADR, 0x001F0000)`
|
||||
* Finding the PCI path:
|
||||
* Search `PNP0A08` (If multiple show up, use the first one)
|
||||
|
||||
You should get something like the following show up:
|
||||
|
||||
LPC Pathing | PCI Pathing
|
||||
:-------------------------:|:-------------------------:
|
||||
 | 
|
||||
|
||||
Now with the pathing, you can head here: [Edits to the sample SSDT](#edits-to-the-sample-ssdt)
|
||||
|
||||
## Edits to the sample SSDT
|
||||
|
||||
Now that we have our ACPI path, lets grab our SSDT and get to work:
|
||||
|
||||
* [SSDT-PMC.dsl](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PMC.dsl)
|
||||
|
||||
By default, this uses `PCI0.LPCB` for the pathing. you'll want to rename accordingly.
|
||||
|
||||
Following the example from above, we'll be renaming it to `PCI0.LPC`:
|
||||
|
||||
**Before**:
|
||||
|
||||
```
|
||||
External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
|
||||
|
||||
Scope (_SB.PCI0.LPCB) <- Rename this
|
||||
```
|
||||
|
||||

|
||||
|
||||
Following the example pathing we found, the SSDT should look something like this:
|
||||
|
||||
**After**:
|
||||
|
||||
```
|
||||
External (_SB_.PCI0.LPC, DeviceObj) <- Renamed
|
||||
|
||||
Scope (_SB.PCI0.LPC) <- Renamed
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Compiling the SSDT
|
||||
|
||||
With the SSDT done, you're now [ready to compile the SSDT!](/Manual/compile.md)
|
||||
|
||||
## Wrapping up
|
||||
|
||||
Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to warp up:
|
||||
|
||||
* [**Cleanup**](/cleanup.md)
|
||||
Reference in New Issue
Block a user