This commit is contained in:
Mykola Grymalyuk
2021-02-20 19:23:31 -07:00
9 changed files with 79 additions and 7 deletions

View File

@@ -61,11 +61,17 @@ Following the example pathing we found, the SSDT should look something like this
**After**:
```
If (_OSI ("Darwin"))
External(GPEN, FieldUnitObj) <- Declare the right variables
External(SBRG, FieldUnitObj) <- Declare the right variables
Scope (\)
{
If (_OSI ("Darwin"))
{
GPEN = One <- Change to the right variables
SBRG = One <- Change to the right variables
}
}
```
![](../../images/Laptops/trackpad-md/ssdt-after.png)

View File

@@ -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)
* 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)
* 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

View File

@@ -6,7 +6,7 @@ To get the SSDT-RHUB, run the following:
* `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:

View File

@@ -64,6 +64,39 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000)
External (_SB_.PC00.LPC0.ECDV, 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)

View File

@@ -64,6 +64,39 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000)
External (_SB_.PC00.LPC0.ECDV, 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

View File

@@ -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)
* [Haswell and Broadwell](#laptop-haswell-and-broadwell)
* [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)
* [Ice Lake](#laptop-ice-lake)
* [Intel HEDT SSDTs](#intel-hedt-ssdts)