From 32532d86915e542c23e875eb2946062e7661e5dc Mon Sep 17 00:00:00 2001 From: 1Revenger1 Date: Sat, 21 May 2022 22:41:24 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20f2ebc?= =?UTF-8?q?c414eb320dae9f26b5bc7d9129696583c3c=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 4 ++-- CONTRIBUTING.html | 4 ++-- Desktops/desktop-disable.html | 4 ++-- Desktops/desktop-ec.html | 4 ++-- Laptops/backlight-methods/manual.html | 4 ++-- Laptops/backlight-methods/prebuilt.html | 4 ++-- Laptops/backlight.html | 4 ++-- Laptops/laptop-disable.html | 4 ++-- Laptops/laptop-ec.html | 4 ++-- Laptops/trackpad-methods/manual.html | 4 ++-- Laptops/trackpad-methods/prebuilt.html | 4 ++-- Laptops/trackpad.html | 4 ++-- Manual/compile.html | 4 ++-- Manual/dump.html | 4 ++-- SUMMARY.html | 4 ++-- Universal/awac-methods/manual-hedt.html | 4 ++-- Universal/awac-methods/manual.html | 4 ++-- Universal/awac-methods/prebuilt.html | 4 ++-- Universal/awac-methods/ssdttime.html | 4 ++-- Universal/awac.html | 4 ++-- Universal/ec-fix.html | 4 ++-- Universal/ec-methods/manual.html | 8 ++++---- Universal/ec-methods/prebuilt.html | 4 ++-- Universal/ec-methods/ssdttime.html | 4 ++-- Universal/imei-methods/manual.html | 4 ++-- Universal/imei-methods/prebuilt.html | 4 ++-- Universal/imei.html | 4 ++-- Universal/irq.html | 4 ++-- Universal/nvram-methods/manual.html | 4 ++-- Universal/nvram-methods/prebuilt.html | 4 ++-- Universal/nvram-methods/ssdttime.html | 4 ++-- Universal/nvram.html | 4 ++-- Universal/plug-methods/manual.html | 4 ++-- Universal/plug-methods/prebuilt.html | 4 ++-- Universal/plug-methods/ssdttime.html | 4 ++-- Universal/plug.html | 4 ++-- Universal/rhub-methods/manual.html | 4 ++-- Universal/rhub-methods/prebuilt.html | 4 ++-- Universal/rhub-methods/ssdttime.html | 4 ++-- Universal/rhub.html | 4 ++-- Universal/smbus-methods/manual.html | 4 ++-- Universal/smbus.html | 4 ++-- Universal/spoof.html | 4 ++-- Universal/unc0-methods/manual.html | 4 ++-- Universal/unc0-methods/prebuilt.html | 4 ++-- Universal/unc0.html | 4 ++-- assets/js/7.2463d6aa.js | 1 - assets/js/7.bc877e35.js | 1 + assets/js/{app.8666d5ae.js => app.22f68b2b.js} | 4 ++-- cleanup.html | 4 ++-- index.html | 4 ++-- ssdt-methods/ssdt-easy.html | 4 ++-- ssdt-methods/ssdt-long.html | 4 ++-- ssdt-methods/ssdt-methods.html | 4 ++-- ssdt-methods/ssdt-prebuilt.html | 4 ++-- ssdt-platform.html | 4 ++-- troubleshooting.html | 4 ++-- 57 files changed, 113 insertions(+), 113 deletions(-) delete mode 100644 assets/js/7.2463d6aa.js create mode 100644 assets/js/7.bc877e35.js rename assets/js/{app.8666d5ae.js => app.22f68b2b.js} (89%) diff --git a/404.html b/404.html index 3ff77b6..d3c88d2 100644 --- a/404.html +++ b/404.html @@ -11,13 +11,13 @@ - +

404

Looks like we've got some broken links.
Take me home.
- + diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index 0f65951..20d4062 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -11,7 +11,7 @@ - + @@ -58,6 +58,6 @@

- + diff --git a/Desktops/desktop-disable.html b/Desktops/desktop-disable.html index 125e10c..e058976 100644 --- a/Desktops/desktop-disable.html +++ b/Desktops/desktop-disable.html @@ -11,7 +11,7 @@ - + @@ -57,6 +57,6 @@ Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized) ⟶

- + diff --git a/Desktops/desktop-ec.html b/Desktops/desktop-ec.html index de0a804..b4e91b4 100644 --- a/Desktops/desktop-ec.html +++ b/Desktops/desktop-ec.html @@ -11,7 +11,7 @@ - + @@ -44,6 +44,6 @@ (opens new window) GitHub (opens new window)

# Fixing Embedded Controller (Desktop)

# You'll want to go to SSDT-EC under the Universal tab for the new SSDT-EC page

- + diff --git a/Laptops/backlight-methods/manual.html b/Laptops/backlight-methods/manual.html index b4545f4..a9a81f5 100644 --- a/Laptops/backlight-methods/manual.html +++ b/Laptops/backlight-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -74,6 +74,6 @@ Device(_SB.PCI0.GPU0.PNLF) <- Renamed ⟶

- + diff --git a/Laptops/backlight-methods/prebuilt.html b/Laptops/backlight-methods/prebuilt.html index 379844e..56276aa 100644 --- a/Laptops/backlight-methods/prebuilt.html +++ b/Laptops/backlight-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Laptops/backlight.html b/Laptops/backlight.html index fd5f502..42f0931 100644 --- a/Laptops/backlight.html +++ b/Laptops/backlight.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Laptops/laptop-disable.html b/Laptops/laptop-disable.html index ccdb32f..7b92476 100644 --- a/Laptops/laptop-disable.html +++ b/Laptops/laptop-disable.html @@ -11,7 +11,7 @@ - + @@ -63,6 +63,6 @@ External (_SB_.PCI0.PEG0.PEGP._PS3, MethodObj) // dGPU ACPI Path ⟶

- + diff --git a/Laptops/laptop-ec.html b/Laptops/laptop-ec.html index 250451f..ac5ca0c 100644 --- a/Laptops/laptop-ec.html +++ b/Laptops/laptop-ec.html @@ -11,7 +11,7 @@ - + @@ -44,6 +44,6 @@ (opens new window) GitHub (opens new window)

# Fixing Embedded Controller (Laptop)

# You'll want to go to SSDT-EC under the Universal tab for the new SSDT-EC page

- + diff --git a/Laptops/trackpad-methods/manual.html b/Laptops/trackpad-methods/manual.html index 7e7ff3c..4bc5a0e 100644 --- a/Laptops/trackpad-methods/manual.html +++ b/Laptops/trackpad-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -113,6 +113,6 @@ Credit to Rehabman for the below patch:

- + diff --git a/Laptops/trackpad-methods/prebuilt.html b/Laptops/trackpad-methods/prebuilt.html index 3e91b2b..f7bf129 100644 --- a/Laptops/trackpad-methods/prebuilt.html +++ b/Laptops/trackpad-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -44,6 +44,6 @@ (opens new window) GitHub (opens new window)

# Fixing Trackpads: Prebuilt

This is a one-size fits all solution where we basically trick our hardware into thinking it's booting Windows. The problem with this method is that it's common to break Windows booting so avoid unless troubleshooting.

Comment String Change _OSI to XOSI
Enabled Boolean YES
Count Number 0
Limit Number 0
Find Data 5f4f5349
Replace Data 584f5349
- + diff --git a/Laptops/trackpad.html b/Laptops/trackpad.html index e3245a7..f09e122 100644 --- a/Laptops/trackpad.html +++ b/Laptops/trackpad.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Manual/compile.html b/Manual/compile.html index 50ea84f..e673e06 100644 --- a/Manual/compile.html +++ b/Manual/compile.html @@ -11,7 +11,7 @@ - + @@ -55,6 +55,6 @@ ⟶

- + diff --git a/Manual/dump.html b/Manual/dump.html index da02adf..be9de13 100644 --- a/Manual/dump.html +++ b/Manual/dump.html @@ -11,7 +11,7 @@ - + @@ -63,6 +63,6 @@ fs0:\EFI\OC\Tools> acpidump.efi -b -n DSDT -z ⟶

- + diff --git a/SUMMARY.html b/SUMMARY.html index 09cc3b4..ea65aa1 100644 --- a/SUMMARY.html +++ b/SUMMARY.html @@ -11,7 +11,7 @@ - + @@ -44,6 +44,6 @@ (opens new window) GitHub (opens new window)
- + diff --git a/Universal/awac-methods/manual-hedt.html b/Universal/awac-methods/manual-hedt.html index 7bfc317..28f3d08 100644 --- a/Universal/awac-methods/manual-hedt.html +++ b/Universal/awac-methods/manual-hedt.html @@ -11,7 +11,7 @@ - + @@ -83,6 +83,6 @@ Scope (_SB.PCI0.LPC0) <- Renamed ⟶

- + diff --git a/Universal/awac-methods/manual.html b/Universal/awac-methods/manual.html index bc2f30a..b7e7c67 100644 --- a/Universal/awac-methods/manual.html +++ b/Universal/awac-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -62,6 +62,6 @@ Scope (_SB.PCI0.LPC) <- Renamed ⟶

- + diff --git a/Universal/awac-methods/prebuilt.html b/Universal/awac-methods/prebuilt.html index 0edad6e..540fdf4 100644 --- a/Universal/awac-methods/prebuilt.html +++ b/Universal/awac-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/awac-methods/ssdttime.html b/Universal/awac-methods/ssdttime.html index 47180df..466adf7 100644 --- a/Universal/awac-methods/ssdttime.html +++ b/Universal/awac-methods/ssdttime.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/awac.html b/Universal/awac.html index 45c8f62..15d6e00 100644 --- a/Universal/awac.html +++ b/Universal/awac.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/ec-fix.html b/Universal/ec-fix.html index b3a0419..f5aa1df 100644 --- a/Universal/ec-fix.html +++ b/Universal/ec-fix.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/ec-methods/manual.html b/Universal/ec-methods/manual.html index 45b18dc..e670dbe 100644 --- a/Universal/ec-methods/manual.html +++ b/Universal/ec-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -45,14 +45,14 @@ GitHub (opens new window)

# Fixing Embedded Controllers: Manual

TO-DO:

  • Finish Edge cases and sample SSDT edits

# Finding the ACPI path

To find the ACPI pathing, you have 2 methods:

# DSDT

Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either MaciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension (opens new window) that can also help).

Next, search for PNP0C09. You should get something similar:

From the above example we see 2 main things:

  • Name of our embedded controller
    • In this case being EC0
  • Pathing of our embedded controller -
    • PC00.LPC0

But now we get into edge case territory, what fun!

The main ones to check for are:

If none of the above apply to you, you're ready for the next section:

# DeviceManager

If you already have Windows installed on this machine, finding the EC pathing is fairly easy.

Start by opening up Device Manager in Windows and looking for a device named Embedded Controller. Once found, click on it and select the BIOS device Name entry. You should get something like this:

From the above, we can see that our pathing is SB.PC00.LPC0.EC0

Now with the pathing, you can head here: 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:

Now when opening this SSDT, you'll notice a few things. Mainly:

  • Some code is commented out +
    • PC00.LPC0

But now we get into edge case territory, what fun!

The main ones to check for are:

If none of the above apply to you, you're ready for the next section:

# DeviceManager

If you already have Windows installed on this machine, finding the EC pathing is fairly easy.

Start by opening up Device Manager in Windows and looking for a device named Embedded Controller. Once found, click on it and select the BIOS device Name entry. You should get something like this:

From the above, we can see that our pathing is SB.PC00.LPC0.EC0

Now with the pathing, you can head here: 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:

Now when opening this SSDT, you'll notice a few things. Mainly:

  • Some code is commented out
    • This is code for disabling our EC
    • Laptops users SHOULD NOT uncomment this
  • There's a new EC called Device (EC)
    • DO NOT RENAME THIS, this will be the EC we give to macOS

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_.PC00.LPC0, DeviceObj) <- Renamed
 
 Scope (_SB.PC00.LPC0) <- Renamed
-

# Edge Cases

# Multiple PNP0C09's show up

When multiple PNP0C09 show up, we need to next check for the following properties:

  • _HID (Hardware ID)
  • _CRS (Current Resource Settings)
  • _GPE (General Purpose Events)

What these signify is whether this PNP0C09 device is real or not, as per the ACPI spec (opens new window). So one's matching the above criteria are the one's we want to disable.

# No PNP0C09 show up

When this happens, you'll only need to create a "dummy" EC for macOS.

Try searching for any devices named: "LPCB", "LPC0", "LPC", "SBRG", "PX40". If you have any of these, try using the LPC pathing of each of those device in place of the Embedded Controller's pathing.

Note that DO NOT uncomment the EC disabling code as there are no devices that are considered "EC" in your machine.

# PNP0C09 already named EC

Congrats! No need to create an SSDT-EC! However you will still want USBX if you're Skylake or newer.

Prebuilt can be grabbed here: SSDT-USBX.aml (opens new window)

# PNP0C09 already has an _STA method

This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a "dummy" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.

Example of an EC with STA already:

Credit to rottenpants466

# Compiling the SSDT

With the SSDT done, you're now ready to compile the SSDT!

# 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 wrap up:

# Edge Cases

# Multiple PNP0C09's show up

When multiple PNP0C09 show up, we need to next check for the following properties:

  • _HID (Hardware ID)
  • _CRS (Current Resource Settings)
  • _GPE (General Purpose Events)

What these signify is whether this PNP0C09 device is real or not, as per the ACPI spec (opens new window). So one's matching the above criteria are the one's we want to disable.

# No PNP0C09 show up

When this happens, you'll only need to create a "dummy" EC for macOS.

Try searching for any devices named: "LPCB", "LPC0", "LPC", "SBRG", "PX40". If you have any of these, try using the LPC pathing of each of those device in place of the Embedded Controller's pathing.

Note that DO NOT uncomment the EC disabling code as there are no devices that are considered "EC" in your machine.

# PNP0C09 already named EC

Congrats! No need to create an SSDT-EC! However you will still want USBX if you're Skylake or newer.

Prebuilt can be grabbed here: SSDT-USBX.aml (opens new window)

# PNP0C09 already has an _STA method

This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a "dummy" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.

Example of an EC with STA already:

Credit to rottenpants466

# Compiling the SSDT

With the SSDT done, you're now ready to compile the SSDT!

# 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 wrap up:

- + diff --git a/Universal/ec-methods/prebuilt.html b/Universal/ec-methods/prebuilt.html index 396d890..6ccc026 100644 --- a/Universal/ec-methods/prebuilt.html +++ b/Universal/ec-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -54,6 +54,6 @@ ⟶

- + diff --git a/Universal/ec-methods/ssdttime.html b/Universal/ec-methods/ssdttime.html index d07aaf0..abb30d9 100644 --- a/Universal/ec-methods/ssdttime.html +++ b/Universal/ec-methods/ssdttime.html @@ -11,7 +11,7 @@ - + @@ -54,6 +54,6 @@ ⟶

- + diff --git a/Universal/imei-methods/manual.html b/Universal/imei-methods/manual.html index 1317664..27f2178 100644 --- a/Universal/imei-methods/manual.html +++ b/Universal/imei-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/imei-methods/prebuilt.html b/Universal/imei-methods/prebuilt.html index a778c6d..8328fa9 100644 --- a/Universal/imei-methods/prebuilt.html +++ b/Universal/imei-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/imei.html b/Universal/imei.html index 30b92ef..314a71b 100644 --- a/Universal/imei.html +++ b/Universal/imei.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/irq.html b/Universal/irq.html index 7bc93f2..390c230 100644 --- a/Universal/irq.html +++ b/Universal/irq.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/nvram-methods/manual.html b/Universal/nvram-methods/manual.html index 651a526..720a28a 100644 --- a/Universal/nvram-methods/manual.html +++ b/Universal/nvram-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -60,6 +60,6 @@ Scope (_SB.PCI0.LPC) <- Renamed ⟶

- + diff --git a/Universal/nvram-methods/prebuilt.html b/Universal/nvram-methods/prebuilt.html index a416ea4..d6989ac 100644 --- a/Universal/nvram-methods/prebuilt.html +++ b/Universal/nvram-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -54,6 +54,6 @@ ⟶

- + diff --git a/Universal/nvram-methods/ssdttime.html b/Universal/nvram-methods/ssdttime.html index 9b84c8f..b7af104 100644 --- a/Universal/nvram-methods/ssdttime.html +++ b/Universal/nvram-methods/ssdttime.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/nvram.html b/Universal/nvram.html index 7fc39af..9647737 100644 --- a/Universal/nvram.html +++ b/Universal/nvram.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/plug-methods/manual.html b/Universal/plug-methods/manual.html index fc03ac5..867e68d 100644 --- a/Universal/plug-methods/manual.html +++ b/Universal/plug-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/plug-methods/prebuilt.html b/Universal/plug-methods/prebuilt.html index c4b10ec..4f6b33e 100644 --- a/Universal/plug-methods/prebuilt.html +++ b/Universal/plug-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -54,6 +54,6 @@ ⟶

- + diff --git a/Universal/plug-methods/ssdttime.html b/Universal/plug-methods/ssdttime.html index 10e1481..fe5c062 100644 --- a/Universal/plug-methods/ssdttime.html +++ b/Universal/plug-methods/ssdttime.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/plug.html b/Universal/plug.html index 1d3b547..57e1b0c 100644 --- a/Universal/plug.html +++ b/Universal/plug.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/rhub-methods/manual.html b/Universal/rhub-methods/manual.html index b97f72f..399d11f 100644 --- a/Universal/rhub-methods/manual.html +++ b/Universal/rhub-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -60,6 +60,6 @@ Scope (_SB.PCI0.XHC.RHUB) <- Renamed ⟶

- + diff --git a/Universal/rhub-methods/prebuilt.html b/Universal/rhub-methods/prebuilt.html index 7d3ad42..89660a6 100644 --- a/Universal/rhub-methods/prebuilt.html +++ b/Universal/rhub-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/rhub-methods/ssdttime.html b/Universal/rhub-methods/ssdttime.html index c034928..1b9492a 100644 --- a/Universal/rhub-methods/ssdttime.html +++ b/Universal/rhub-methods/ssdttime.html @@ -11,7 +11,7 @@ - + @@ -53,6 +53,6 @@ ⟶

- + diff --git a/Universal/rhub.html b/Universal/rhub.html index 32b30ce..c7d1cf9 100644 --- a/Universal/rhub.html +++ b/Universal/rhub.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/smbus-methods/manual.html b/Universal/smbus-methods/manual.html index 8e18a33..8201511 100644 --- a/Universal/smbus-methods/manual.html +++ b/Universal/smbus-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -78,6 +78,6 @@ Device (_SB.PC00.SMBS.BUS0) <- Renamed ⟶

- + diff --git a/Universal/smbus.html b/Universal/smbus.html index 980846f..eed531a 100644 --- a/Universal/smbus.html +++ b/Universal/smbus.html @@ -11,7 +11,7 @@ - + @@ -55,6 +55,6 @@ ⟶

- + diff --git a/Universal/spoof.html b/Universal/spoof.html index 222462e..dfa4a05 100644 --- a/Universal/spoof.html +++ b/Universal/spoof.html @@ -11,7 +11,7 @@ - + @@ -83,6 +83,6 @@ Buffer () ⟶

- + diff --git a/Universal/unc0-methods/manual.html b/Universal/unc0-methods/manual.html index 6b00bac..d2e6bf5 100644 --- a/Universal/unc0-methods/manual.html +++ b/Universal/unc0-methods/manual.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/unc0-methods/prebuilt.html b/Universal/unc0-methods/prebuilt.html index 10433ae..c6039ad 100644 --- a/Universal/unc0-methods/prebuilt.html +++ b/Universal/unc0-methods/prebuilt.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/Universal/unc0.html b/Universal/unc0.html index f8a90d9..bd15d48 100644 --- a/Universal/unc0.html +++ b/Universal/unc0.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/assets/js/7.2463d6aa.js b/assets/js/7.2463d6aa.js deleted file mode 100644 index bf5fe61..0000000 --- a/assets/js/7.2463d6aa.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{407:function(e,t,a){e.exports=a.p+"assets/img/pnp.8c2387eb.png"},408:function(e,t,a){e.exports=a.p+"assets/img/ec.dd4b7c64.png"},409:function(e,t,a){e.exports=a.p+"assets/img/ssdt-before.b846f355.png"},410:function(e,t,a){e.exports=a.p+"assets/img/ssdt-after.7996c4b7.png"},411:function(e,t,a){e.exports=a.p+"assets/img/sta.e2d0aed0.png"},460:function(e,t,a){"use strict";a.r(t);var r=a(28),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"fixing-embedded-controllers-manual"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("#")]),e._v(" Fixing Embedded Controllers: Manual")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("Fixing Embedded Controllers: Manual")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#dsdt"}},[e._v("DSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#edge-cases"}},[e._v("Edge Cases")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#multiple-pnp0c09s-show-up"}},[e._v("Multiple PNP0C09's show up")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#no-pnp0c09-show-up"}},[e._v("No PNP0C09 show up")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("PNP0C09 already named "),r("code",[e._v("EC")])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#pnp0c09-already-has-an-_sta-method"}},[e._v("PNP0C09 already has an "),r("code",[e._v("_STA")]),e._v(" method")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])])])]),e._v(" "),r("p",[e._v("TO-DO:")]),e._v(" "),r("ul",[r("li",[e._v("Finish Edge cases and sample SSDT edits")])]),e._v(" "),r("h2",{attrs:{id:"finding-the-acpi-path"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[e._v("#")]),e._v(" Finding the ACPI path")]),e._v(" "),r("p",[e._v("To find the ACPI pathing, you have 2 methods:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#DSDT"}},[e._v("DSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])]),e._v(" "),r("h3",{attrs:{id:"dsdt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#dsdt"}},[e._v("#")]),e._v(" DSDT")]),e._v(" "),r("p",[e._v("Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from "),r("RouterLink",{attrs:{to:"/Manual/dump.html"}},[e._v("Dumping the DSDT")]),e._v(" and "),r("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("Decompiling and Compiling")]),e._v(" with either MaciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),r("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI extension"),r("OutboundLink")],1),e._v(" that can also help).")],1),e._v(" "),r("p",[e._v("Next, search for "),r("code",[e._v("PNP0C09")]),e._v(". You should get something similar:")]),e._v(" "),r("p",[r("img",{attrs:{src:a(407),alt:""}})]),e._v(" "),r("p",[e._v("From the above example we see 2 main things:")]),e._v(" "),r("ul",[r("li",[e._v("Name of our embedded controller\n"),r("ul",[r("li",[e._v("In this case being "),r("code",[e._v("EC0")])])])]),e._v(" "),r("li",[e._v("Pathing of our embedded controller\n"),r("ul",[r("li",[r("code",[e._v("PC00.LPC0")])])])])]),e._v(" "),r("p",[e._v("But now we get into edge case territory, what fun!")]),e._v(" "),r("p",[e._v("The main ones to check for are:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("Fixing Embedded Controllers: Manual")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#dsdt"}},[e._v("DSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#edge-cases"}},[e._v("Edge Cases")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#multiple-pnp0c09s-show-up"}},[e._v("Multiple PNP0C09's show up")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#no-pnp0c09-show-up"}},[e._v("No PNP0C09 show up")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("PNP0C09 already named "),r("code",[e._v("EC")])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#pnp0c09-already-has-an-_sta-method"}},[e._v("PNP0C09 already has an "),r("code",[e._v("_STA")]),e._v(" method")])])])]),e._v(" "),r("li",[r("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])])])]),e._v(" "),r("p",[e._v("If none of the above apply to you, you're ready for the next section:")]),e._v(" "),r("h3",{attrs:{id:"devicemanager"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#devicemanager"}},[e._v("#")]),e._v(" DeviceManager")]),e._v(" "),r("p",[e._v("If you already have Windows installed on this machine, finding the EC pathing is fairly easy.")]),e._v(" "),r("p",[e._v("Start by opening up Device Manager in Windows and looking for a device named "),r("code",[e._v("Embedded Controller")]),e._v(". Once found, click on it and select the "),r("code",[e._v("BIOS device Name")]),e._v(" entry. You should get something like this:")]),e._v(" "),r("p",[r("img",{attrs:{src:a(408),alt:""}})]),e._v(" "),r("p",[e._v("From the above, we can see that our pathing is "),r("code",[e._v("SB.PC00.LPC0.EC0")])]),e._v(" "),r("p",[e._v("Now with the pathing, you can head here: "),r("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),r("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("#")]),e._v(" Edits to the sample SSDT")]),e._v(" "),r("p",[e._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/tree/master/Docs/AcpiSamples/Source/SSDT-EC-USBX.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-USBX"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("For Skylake and newer and all AMD systems")])])]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/tree/master/Docs/AcpiSamples/Source/SSDT-EC.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("For Broadwell and older")])])])]),e._v(" "),r("p",[e._v("Now when opening this SSDT, you'll notice a few things. Mainly:")]),e._v(" "),r("ul",[r("li",[e._v("Some code is commented out\n"),r("ul",[r("li",[e._v("This is code for disabling our EC")]),e._v(" "),r("li",[e._v("Laptops users "),r("strong",[e._v("SHOULD NOT")]),e._v(" uncomment this")])])]),e._v(" "),r("li",[e._v("There's a new EC called "),r("code",[e._v("Device (EC)")]),e._v(" "),r("ul",[r("li",[r("strong",[e._v("DO NOT RENAME THIS")]),e._v(", this will be the EC we give to macOS")])])])]),e._v(" "),r("p",[r("strong",[e._v("Before")]),e._v(":")]),e._v(" "),r("div",{staticClass:"language- extra-class"},[r("pre",{pre:!0,attrs:{class:"language-text"}},[r("code",[e._v("External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.LPCB) <- Rename this\n")])])]),r("p",[r("img",{attrs:{src:a(409),alt:""}})]),e._v(" "),r("p",[e._v("Following the example pathing we found, the SSDT should look something like this:")]),e._v(" "),r("p",[r("strong",[e._v("After")]),e._v(":")]),e._v(" "),r("div",{staticClass:"language- extra-class"},[r("pre",{pre:!0,attrs:{class:"language-text"}},[r("code",[e._v("External (_SB_.PC00.LPC0, DeviceObj) <- Renamed\n\nScope (_SB.PC00.LPC0) <- Renamed\n")])])]),r("p",[r("img",{attrs:{src:a(410),alt:""}})]),e._v(" "),r("h2",{attrs:{id:"edge-cases"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#edge-cases"}},[e._v("#")]),e._v(" Edge Cases")]),e._v(" "),r("h3",{attrs:{id:"multiple-pnp0c09-s-show-up"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#multiple-pnp0c09-s-show-up"}},[e._v("#")]),e._v(" Multiple PNP0C09's show up")]),e._v(" "),r("p",[e._v("When multiple PNP0C09 show up, we need to next check for the following properties:")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("_HID")]),e._v(" (Hardware ID)")]),e._v(" "),r("li",[r("code",[e._v("_CRS")]),e._v(" (Current Resource Settings)")]),e._v(" "),r("li",[r("code",[e._v("_GPE")]),e._v(" (General Purpose Events)")])]),e._v(" "),r("p",[e._v("What these signify is whether this PNP0C09 device is real or not, as per the "),r("a",{attrs:{href:"https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI spec"),r("OutboundLink")],1),e._v(". So one's matching the above criteria are the one's we want to disable.")]),e._v(" "),r("ul",[r("li",[e._v("Note: If _STA shows up as well, you'll need to go here: "),r("a",{attrs:{href:"#pnp0c09-already-has-an-sta-method"}},[e._v("PNP0C09 already has an "),r("code",[e._v("_STA")]),e._v(" method")])])]),e._v(" "),r("h3",{attrs:{id:"no-pnp0c09-show-up"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#no-pnp0c09-show-up"}},[e._v("#")]),e._v(" No PNP0C09 show up")]),e._v(" "),r("p",[e._v('When this happens, you\'ll only need to create a "dummy" EC for macOS.')]),e._v(" "),r("p",[e._v('Try searching for any devices named: "LPCB", "LPC0", "LPC", "SBRG", "PX40". If you have any of these, try using the LPC pathing of each of those device in place of the Embedded Controller\'s pathing.')]),e._v(" "),r("p",[e._v("Note that "),r("strong",[e._v("DO NOT")]),e._v(' uncomment the EC disabling code as there are no devices that are considered "EC" in your machine.')]),e._v(" "),r("h3",{attrs:{id:"pnp0c09-already-named-ec"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("#")]),e._v(" PNP0C09 already named "),r("code",[e._v("EC")])]),e._v(" "),r("p",[e._v("Congrats! No need to create an SSDT-EC! However you will still want USBX if you're Skylake or newer.")]),e._v(" "),r("p",[e._v("Prebuilt can be grabbed here: "),r("a",{attrs:{href:"https://github.com/dortania/OpenCore-Post-Install/blob/master/extra-files/SSDT-USBX.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-USBX.aml"),r("OutboundLink")],1)]),e._v(" "),r("h3",{attrs:{id:"pnp0c09-already-has-an-sta-method"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#pnp0c09-already-has-an-sta-method"}},[e._v("#")]),e._v(" PNP0C09 already has an "),r("code",[e._v("_STA")]),e._v(" method")]),e._v(" "),r("p",[e._v("This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a \"dummy\" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.")]),e._v(" "),r("p",[e._v("Example of an EC with STA already:")]),e._v(" "),r("p",[r("img",{attrs:{src:a(411),alt:"Credit to rottenpants466"}})]),e._v(" "),r("h2",{attrs:{id:"compiling-the-ssdt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[e._v("#")]),e._v(" Compiling the SSDT")]),e._v(" "),r("p",[e._v("With the SSDT done, you're now "),r("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("ready to compile the SSDT!")])],1),e._v(" "),r("h2",{attrs:{id:"wrapping-up"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),r("p",[e._v("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 wrap up:")]),e._v(" "),r("ul",[r("li",[r("RouterLink",{attrs:{to:"/cleanup.html"}},[r("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/7.bc877e35.js b/assets/js/7.bc877e35.js new file mode 100644 index 0000000..b3bf32c --- /dev/null +++ b/assets/js/7.bc877e35.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{407:function(e,t,a){e.exports=a.p+"assets/img/pnp.8c2387eb.png"},408:function(e,t,a){e.exports=a.p+"assets/img/ec.dd4b7c64.png"},409:function(e,t,a){e.exports=a.p+"assets/img/ssdt-before.b846f355.png"},410:function(e,t,a){e.exports=a.p+"assets/img/ssdt-after.7996c4b7.png"},411:function(e,t,a){e.exports=a.p+"assets/img/sta.e2d0aed0.png"},460:function(e,t,a){"use strict";a.r(t);var s=a(28),r=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-embedded-controllers-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("#")]),e._v(" Fixing Embedded Controllers: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("Fixing Embedded Controllers: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#dsdt"}},[e._v("DSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edge-cases"}},[e._v("Edge Cases")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#multiple-pnp0c09s-show-up"}},[e._v("Multiple PNP0C09's show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#no-pnp0c09-show-up"}},[e._v("No PNP0C09 show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("PNP0C09 already named "),s("code",[e._v("EC")])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-has-an-_sta-method"}},[e._v("PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])])])]),e._v(" "),s("p",[e._v("TO-DO:")]),e._v(" "),s("ul",[s("li",[e._v("Finish Edge cases and sample SSDT edits")])]),e._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[e._v("#")]),e._v(" Finding the ACPI path")]),e._v(" "),s("p",[e._v("To find the ACPI pathing, you have 2 methods:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#DSDT"}},[e._v("DSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])]),e._v(" "),s("h3",{attrs:{id:"dsdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dsdt"}},[e._v("#")]),e._v(" DSDT")]),e._v(" "),s("p",[e._v("Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from "),s("RouterLink",{attrs:{to:"/Manual/dump.html"}},[e._v("Dumping the DSDT")]),e._v(" and "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("Decompiling and Compiling")]),e._v(" with either MaciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),s("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI extension"),s("OutboundLink")],1),e._v(" that can also help).")],1),e._v(" "),s("p",[e._v("Next, search for "),s("code",[e._v("PNP0C09")]),e._v(". You should get something similar:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(407),alt:""}})]),e._v(" "),s("p",[e._v("From the above example we see 2 main things:")]),e._v(" "),s("ul",[s("li",[e._v("Name of our embedded controller\n"),s("ul",[s("li",[e._v("In this case being "),s("code",[e._v("EC0")])])])]),e._v(" "),s("li",[e._v("Pathing of our embedded controller\n"),s("ul",[s("li",[s("code",[e._v("PC00.LPC0")])])])])]),e._v(" "),s("p",[e._v("But now we get into edge case territory, what fun!")]),e._v(" "),s("p",[e._v("The main ones to check for are:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#multiple-pnp0c09s-show-up"}},[e._v("Multiple PNP0C09's show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#no-pnp0c09-show-up"}},[e._v("No PNP0C09 show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("PNP0C09 already named "),s("code",[e._v("EC")])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-has-an-_sta-method"}},[e._v("PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")])])]),e._v(" "),s("p",[e._v("If none of the above apply to you, you're ready for the next section:")]),e._v(" "),s("h3",{attrs:{id:"devicemanager"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#devicemanager"}},[e._v("#")]),e._v(" DeviceManager")]),e._v(" "),s("p",[e._v("If you already have Windows installed on this machine, finding the EC pathing is fairly easy.")]),e._v(" "),s("p",[e._v("Start by opening up Device Manager in Windows and looking for a device named "),s("code",[e._v("Embedded Controller")]),e._v(". Once found, click on it and select the "),s("code",[e._v("BIOS device Name")]),e._v(" entry. You should get something like this:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(408),alt:""}})]),e._v(" "),s("p",[e._v("From the above, we can see that our pathing is "),s("code",[e._v("SB.PC00.LPC0.EC0")])]),e._v(" "),s("p",[e._v("Now with the pathing, you can head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("#")]),e._v(" Edits to the sample SSDT")]),e._v(" "),s("p",[e._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/tree/master/Docs/AcpiSamples/Source/SSDT-EC-USBX.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-USBX"),s("OutboundLink")],1),e._v(" "),s("ul",[s("li",[e._v("For Skylake and newer and all AMD systems")])])]),e._v(" "),s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/tree/master/Docs/AcpiSamples/Source/SSDT-EC.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC"),s("OutboundLink")],1),e._v(" "),s("ul",[s("li",[e._v("For Broadwell and older")])])])]),e._v(" "),s("p",[e._v("Now when opening this SSDT, you'll notice a few things. Mainly:")]),e._v(" "),s("ul",[s("li",[e._v("Some code is commented out\n"),s("ul",[s("li",[e._v("This is code for disabling our EC")]),e._v(" "),s("li",[e._v("Laptops users "),s("strong",[e._v("SHOULD NOT")]),e._v(" uncomment this")])])]),e._v(" "),s("li",[e._v("There's a new EC called "),s("code",[e._v("Device (EC)")]),e._v(" "),s("ul",[s("li",[s("strong",[e._v("DO NOT RENAME THIS")]),e._v(", this will be the EC we give to macOS")])])])]),e._v(" "),s("p",[s("strong",[e._v("Before")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.LPCB) <- Rename this\n")])])]),s("p",[s("img",{attrs:{src:a(409),alt:""}})]),e._v(" "),s("p",[e._v("Following the example pathing we found, the SSDT should look something like this:")]),e._v(" "),s("p",[s("strong",[e._v("After")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PC00.LPC0, DeviceObj) <- Renamed\n\nScope (_SB.PC00.LPC0) <- Renamed\n")])])]),s("p",[s("img",{attrs:{src:a(410),alt:""}})]),e._v(" "),s("h2",{attrs:{id:"edge-cases"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edge-cases"}},[e._v("#")]),e._v(" Edge Cases")]),e._v(" "),s("h3",{attrs:{id:"multiple-pnp0c09-s-show-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#multiple-pnp0c09-s-show-up"}},[e._v("#")]),e._v(" Multiple PNP0C09's show up")]),e._v(" "),s("p",[e._v("When multiple PNP0C09 show up, we need to next check for the following properties:")]),e._v(" "),s("ul",[s("li",[s("code",[e._v("_HID")]),e._v(" (Hardware ID)")]),e._v(" "),s("li",[s("code",[e._v("_CRS")]),e._v(" (Current Resource Settings)")]),e._v(" "),s("li",[s("code",[e._v("_GPE")]),e._v(" (General Purpose Events)")])]),e._v(" "),s("p",[e._v("What these signify is whether this PNP0C09 device is real or not, as per the "),s("a",{attrs:{href:"https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI spec"),s("OutboundLink")],1),e._v(". So one's matching the above criteria are the one's we want to disable.")]),e._v(" "),s("ul",[s("li",[e._v("Note: If _STA shows up as well, you'll need to go here: "),s("a",{attrs:{href:"#pnp0c09-already-has-an-sta-method"}},[e._v("PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")])])]),e._v(" "),s("h3",{attrs:{id:"no-pnp0c09-show-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#no-pnp0c09-show-up"}},[e._v("#")]),e._v(" No PNP0C09 show up")]),e._v(" "),s("p",[e._v('When this happens, you\'ll only need to create a "dummy" EC for macOS.')]),e._v(" "),s("p",[e._v('Try searching for any devices named: "LPCB", "LPC0", "LPC", "SBRG", "PX40". If you have any of these, try using the LPC pathing of each of those device in place of the Embedded Controller\'s pathing.')]),e._v(" "),s("p",[e._v("Note that "),s("strong",[e._v("DO NOT")]),e._v(' uncomment the EC disabling code as there are no devices that are considered "EC" in your machine.')]),e._v(" "),s("h3",{attrs:{id:"pnp0c09-already-named-ec"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("#")]),e._v(" PNP0C09 already named "),s("code",[e._v("EC")])]),e._v(" "),s("p",[e._v("Congrats! No need to create an SSDT-EC! However you will still want USBX if you're Skylake or newer.")]),e._v(" "),s("p",[e._v("Prebuilt can be grabbed here: "),s("a",{attrs:{href:"https://github.com/dortania/OpenCore-Post-Install/blob/master/extra-files/SSDT-USBX.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-USBX.aml"),s("OutboundLink")],1)]),e._v(" "),s("h3",{attrs:{id:"pnp0c09-already-has-an-sta-method"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#pnp0c09-already-has-an-sta-method"}},[e._v("#")]),e._v(" PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")]),e._v(" "),s("p",[e._v("This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a \"dummy\" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.")]),e._v(" "),s("p",[e._v("Example of an EC with STA already:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(411),alt:"Credit to rottenpants466"}})]),e._v(" "),s("h2",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[e._v("#")]),e._v(" Compiling the SSDT")]),e._v(" "),s("p",[e._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("ready to compile the SSDT!")])],1),e._v(" "),s("h2",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),s("p",[e._v("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 wrap up:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/app.8666d5ae.js b/assets/js/app.22f68b2b.js similarity index 89% rename from assets/js/app.8666d5ae.js rename to assets/js/app.22f68b2b.js index dddc9b1..8e373de 100644 --- a/assets/js/app.8666d5ae.js +++ b/assets/js/app.22f68b2b.js @@ -1,8 +1,8 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,s=e[0],u=e[1],c=e[2],f=0,p=[];f=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(36),o=n(20);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(1),o=n(139),i=n(140),a=n(115),s=n(22),u=n(3),c=u("iterator"),l=u("toStringTag"),f=a.values,p=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(t[l]||s(t,l,e),o[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")},function(t,e,n){var r=n(151),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(63);t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(7),o=n(9),i=n(41);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(7),o=n(90),i=n(41),a=n(16),s=n(54),u=n(8),c=n(117),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e),c)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r,o=n(6),i=n(201),a=n(89),s=n(39),u=n(122),c=n(53),l=n(58),f=l("IE_PROTO"),p=function(){},d=function(t){return" + diff --git a/index.html b/index.html index 7bf7dec..7a19aaf 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ - + @@ -56,6 +56,6 @@ ⟶

- + diff --git a/ssdt-methods/ssdt-easy.html b/ssdt-methods/ssdt-easy.html index 36544a3..38aedb5 100644 --- a/ssdt-methods/ssdt-easy.html +++ b/ssdt-methods/ssdt-easy.html @@ -11,7 +11,7 @@ - + @@ -57,6 +57,6 @@ If you have X99 or X299, you'll need to configure it to your system

- + diff --git a/ssdt-methods/ssdt-long.html b/ssdt-methods/ssdt-long.html index 5c5a754..03b32bd 100644 --- a/ssdt-methods/ssdt-long.html +++ b/ssdt-methods/ssdt-long.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/ssdt-methods/ssdt-methods.html b/ssdt-methods/ssdt-methods.html index 4ffcdf7..eff7a14 100644 --- a/ssdt-methods/ssdt-methods.html +++ b/ssdt-methods/ssdt-methods.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/ssdt-methods/ssdt-prebuilt.html b/ssdt-methods/ssdt-prebuilt.html index 7d68cd8..40b0ed8 100644 --- a/ssdt-methods/ssdt-prebuilt.html +++ b/ssdt-methods/ssdt-prebuilt.html @@ -11,7 +11,7 @@ - + @@ -76,6 +76,6 @@ ⟶

- + diff --git a/ssdt-platform.html b/ssdt-platform.html index 76c29a1..56b4877 100644 --- a/ssdt-platform.html +++ b/ssdt-platform.html @@ -11,7 +11,7 @@ - + @@ -52,6 +52,6 @@ ⟶

- + diff --git a/troubleshooting.html b/troubleshooting.html index ed2cec1..e193fc1 100644 --- a/troubleshooting.html +++ b/troubleshooting.html @@ -11,7 +11,7 @@ - + @@ -68,6 +68,6 @@ Pass 1 parse of [DSDT] ⟶

- +