mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
Merge branch 'master' of https://github.com/dortania/Getting-Started-With-ACPI
This commit is contained in:
@@ -61,11 +61,17 @@ Following the example pathing we found, the SSDT should look something like this
|
|||||||
**After**:
|
**After**:
|
||||||
|
|
||||||
```
|
```
|
||||||
If (_OSI ("Darwin"))
|
|
||||||
|
External(GPEN, FieldUnitObj) <- Declare the right variables
|
||||||
|
External(SBRG, FieldUnitObj) <- Declare the right variables
|
||||||
|
|
||||||
|
Scope (\)
|
||||||
{
|
{
|
||||||
GPEN = One <- Change to the right variables
|
If (_OSI ("Darwin"))
|
||||||
SBRG = One <- Change to the right variables
|
{
|
||||||
}
|
GPEN = One <- Change to the right variables
|
||||||
|
SBRG = One <- Change to the right variables
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -6,7 +6,7 @@ So to start, we'll need to get a copy of your DSDT from your firmware. The easie
|
|||||||
|
|
||||||
* [SSDTTime](https://github.com/corpnewt/SSDTTime)
|
* [SSDTTime](https://github.com/corpnewt/SSDTTime)
|
||||||
* Supports both Windows and Linux for DSDT dumping
|
* Supports both Windows and Linux for DSDT dumping
|
||||||
* `7. Dump DSDT - Automatically dump the system DSDT`
|
* `8. Dump DSDT - Automatically dump the system DSDT`
|
||||||
* [acpidump.exe](https://acpica.org/downloads/binary-tools)
|
* [acpidump.exe](https://acpica.org/downloads/binary-tools)
|
||||||
* In command prompt run `path/to/acpidump.exe -b -n DSDT -z`, this will dump your DSDT as a .dat file. Rename this to DSDT.aml
|
* In command prompt run `path/to/acpidump.exe -b -n DSDT -z`, this will dump your DSDT as a .dat file. Rename this to DSDT.aml
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ To get the SSDT-RHUB, run the following:
|
|||||||
|
|
||||||
* `7. Dump DSDT` then run `7. USB Reset`
|
* `7. Dump DSDT` then run `7. USB Reset`
|
||||||
|
|
||||||
This will provide you with some files, the main one you care about is SSDT-USB-Rest.**aml**(Same file as SSDT-RHUB). The DSDT and .dsl are only left for referencing or verification.
|
This will provide you with some files, the main one you care about is SSDT-USB-Reset.**aml**(Same file as SSDT-RHUB). The DSDT and .dsl are only left for referencing or verification.
|
||||||
|
|
||||||
The main things to note with this method:
|
The main things to note with this method:
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -63,6 +63,39 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000)
|
|||||||
External (_SB_.PC00.LPC0.H_EC, DeviceObj)
|
External (_SB_.PC00.LPC0.H_EC, DeviceObj)
|
||||||
External (_SB_.PC00.LPC0.ECDV, DeviceObj)
|
External (_SB_.PC00.LPC0.ECDV, DeviceObj)
|
||||||
External (_SB_.PC00.LPC0.PGEC, DeviceObj)
|
External (_SB_.PC00.LPC0.PGEC, DeviceObj)
|
||||||
|
|
||||||
|
// Add _STA External References to avoid "Illegal forward reference"
|
||||||
|
|
||||||
|
External (_SB.PCI0.SBRG.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.EC._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.PGEC._STA, MethodObj)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,39 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000)
|
|||||||
External (_SB_.PC00.LPC0.H_EC, DeviceObj)
|
External (_SB_.PC00.LPC0.H_EC, DeviceObj)
|
||||||
External (_SB_.PC00.LPC0.ECDV, DeviceObj)
|
External (_SB_.PC00.LPC0.ECDV, DeviceObj)
|
||||||
External (_SB_.PC00.LPC0.PGEC, DeviceObj)
|
External (_SB_.PC00.LPC0.PGEC, DeviceObj)
|
||||||
|
|
||||||
|
// Add _STA External References to avoid "Illegal forward reference"
|
||||||
|
|
||||||
|
External (_SB.PCI0.SBRG.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.SBRG.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPCB.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.PX40.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PCI0.LPC0.PGEC._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.EC._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.EC0._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.H_EC._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.ECDV._STA, MethodObj)
|
||||||
|
External (_SB.PC00.LPC0.PGEC._STA, MethodObj)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 378 KiB After Width: | Height: | Size: 248 KiB |
@@ -14,7 +14,7 @@ Simply select your hardware type and generation, then download the associated fi
|
|||||||
* [Sandy and Ivy Bridge](#laptop-sandy-and-ivy-bridge)
|
* [Sandy and Ivy Bridge](#laptop-sandy-and-ivy-bridge)
|
||||||
* [Haswell and Broadwell](#laptop-haswell-and-broadwell)
|
* [Haswell and Broadwell](#laptop-haswell-and-broadwell)
|
||||||
* [Skylake and Kaby Lake](#laptop-skylake-and-kaby-lake)
|
* [Skylake and Kaby Lake](#laptop-skylake-and-kaby-lake)
|
||||||
* [Coffee Lake(8th gen)](#laptop-coffee-lake8th-gen)
|
* [Coffee Lake(8th gen)](#laptop-coffee-lake-8th-gen)
|
||||||
* [Coffee and Comet Lake(9th and 10th gen)](#laptop-coffee-and-comet-lake-9th-and-10th-gen)
|
* [Coffee and Comet Lake(9th and 10th gen)](#laptop-coffee-and-comet-lake-9th-and-10th-gen)
|
||||||
* [Ice Lake](#laptop-ice-lake)
|
* [Ice Lake](#laptop-ice-lake)
|
||||||
* [Intel HEDT SSDTs](#intel-hedt-ssdts)
|
* [Intel HEDT SSDTs](#intel-hedt-ssdts)
|
||||||
|
|||||||
Reference in New Issue
Block a user