Fix some stuff

This commit is contained in:
khronokernel
2020-02-04 23:14:56 -07:00
parent 0f3ab48c52
commit 44e4890760
11 changed files with 80 additions and 29 deletions

View File

@@ -1,5 +1,8 @@
# Fixing Backlight
So what this SSDT does is create a PNLF device for macOS to play with, specifically one with a hardware ID of `APP0002`. WhateverGreen will handle the rest of the work
No configuration required for most, just drop the prebuilt file into your EFI: [SSDT-PNLF](https://github.com/khronokernel/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-PNLF.aml)
Note: there are some cases where the iGPU is called `IGPU` in the DSDT, you can double check by searching for both `PCI0.GFX0` and `PCI0.IGPU`. Whichever shows up is your device

View File

@@ -1,6 +1,9 @@
# Fixing Embedded Controller (Laptop)
This one's fairly easy to figure out, open your decompiled DSDT and search for `PNP0C09`. This should give you a result like this:
To fix the ECs found in laptops, we'll be renaming them to look like the ones macOS expects. The reason for this is that many laptops break when you turn off their EC with an SSDT. So this is why we can't use the fancy SSDTTime to make a patch for us.
To find out what EC you have, open your decompiled DSDT and search for `PNP0C09`. This should give you a result like this:
![](https://i.imgur.com/lQ4kpb9.png)
@@ -10,16 +13,16 @@ As you can see our `PNP0C09` is found within the `Device (EC0)` meaning this is
When this happens you need to figure out which is the main and which is not, it's fairly easy to figure out. Check each controller for the following properties:
* `_HID`
* `_CRS`
* `_GPE`
* `_HID` (Hardware ID)
* `_CRS` (Current Resource Settings)
* `_GPE` (General Purpose Events)
Note that only the main EC needs renaming, if you only have one `PNP0C09` then it is automatically your main regardless of properties.
# Applying your EC patch
As you can see from the table below, we'll be renaming our EC listed in the DSDT. Do note you cannot just throw random renames without checking first, as this can cause actual damage to your laptop.
As you can see from the table below, we'll be renaming our EC listed in the DSDT. Do note you cannot just throw random renames without checking which is the main EC first, as **this can cause actual damage to your laptop.**
|Comment|Find\*\[HEX\]|Replace\[HEX\]|
|:-|:-|:-|

View File

@@ -1,3 +1,5 @@
# Fixing Trackpads
This SSDT is used to create a stub for VoodooI2C to connect to.
No configuration required, just drop the prebuilt file into your EFI: [SSDT-GPIO](https://github.com/khronokernel/Getting-Started-With-ACPI/blob/master/extra-files/SSDT-GPIO.aml)