Files
Getting-Started-With-ACPI/Laptops/laptop-ec.md
khronokernel f97440b4e4 More stuff
2020-02-04 15:58:36 -07:00

1.4 KiB

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:

As you can see our PNP0C09 is found within the Device (EC0) meaning this is the device we want to rename.

What happens if multiple PNP0C09 show up

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

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.

Comment Find*[HEX] Replace[HEX]
change EC0 to EC 4543305f 45435f5f
change H_EC to EC 485f4543 45435f5f
change ECDV to EC 45434456 45435f5f
change PGEC to EC 50474543 45435f5f

Inside your config:

Comment String Change XXXX to EC
Enabled String YES
Count Number 0
Limit Nuber 0
Find Data xxxxxxxx
Replace Data xxxxxxxx