mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
Import
This commit is contained in:
22
.travis.yml
Normal file
22
.travis.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
language: node_js
|
||||
node_js: node
|
||||
before_script:
|
||||
- npm install -g gitbook-cli
|
||||
script:
|
||||
- gitbook install
|
||||
- gitbook build
|
||||
- cp icons/* _book/gitbook/images
|
||||
deploy:
|
||||
local_dir: _book
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
name: Travis Build Bot
|
||||
fqdn:
|
||||
keep_history: true
|
||||
on:
|
||||
branch: master
|
||||
target_branch: gh-pages
|
||||
# committer_from_gh: true
|
||||
# allow_empty_commit: true
|
||||
github_token:
|
||||
secure: IlW4/OKOtzB3pXWmCj8286X05hT3Qmlt4gb8yFo59BsS6cj2s5z4fHdpaxiGmsu1dtfhQnnphb0xdHXvvkDahs5FNkICwmFJezFjiP21Cbadf0LPvhyADQHTVw5SlP9ofI0l+t6+y/vHPpsrF0tEXMutcSeRfbphWcLAkZDEkfu6X8PE5yNfUJxhfF/ULEWiXcJFv69Oac4U5mGOZDgHAZGNRiVN6NPajknA/dYCubsBfAIi6hAuX7HKaILbacNkz3XHUaKqgwh8MPdRITzuaiPeU7w5T0RKHHZ5wgkbe5cvoEDSrnsuBCeJaCUjaBJZZYMG25yCV/AxZcDMlz9YE4HUXNWp1vgjZKd6KE+lk9xA11MGqu7Mt23+0jkhkYgqNCWX/9tN5v/DXQ3D2zkmniwzb6iWk2Ui2CtDKIYZdUQupq0hqSvuwWWw4yXjAZau4EF8zG65lroVTpPfQZwxkiooHh8XnCJGxwu9H99iU8EPjxeG2l72jceqQtbkFaotEbdmdTENC5IE4slW+5j4oSWCoGwtmOu4aW+3Ofsxw1t/ryftDIe6kxO1QTIQ4DFw9oE0peEPTrP5mD6I7RsihyBL69/co6VE1ciUCaukrCfGpnrPJOGB88xFUg2kUF4AFLmnlu6jOAtMjGGcux4t+Tje8GpSYqgv8bTc/2WA8Uo=
|
||||
85
Desktops/desktop-ec.md
Normal file
85
Desktops/desktop-ec.md
Normal file
@@ -0,0 +1,85 @@
|
||||
|
||||
# Fixing Embedded Controller (Desktop)
|
||||
|
||||
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 hide from macOS(others may find ). Now grab our SSDT-EC and uncomment the EC0 function(remove the `/*` and `*/` around it):
|
||||
|
||||
* [SSDT-EC-USBX](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-EC-USBX.dsl)
|
||||
* For Skylake+ and all AMD systems
|
||||
* [SSDT-EC](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-EC.dsl)
|
||||
* For Haswell and older
|
||||
|
||||
```text
|
||||
/* <- REMOVE THIS
|
||||
External (_SB_.PCI0.LPCB.EC0, DeviceObj)
|
||||
|
||||
Scope (\_SB.PCI0.LPCB.EC0)
|
||||
{
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (0)
|
||||
}
|
||||
Else
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
}
|
||||
}
|
||||
*/ <- REMOVE THIS
|
||||
```
|
||||
|
||||
But looking back at the screenshot above we notice something, our ACPI path is different: `PC00.LPC0` vs `PCI0.LPCB`. This is very important especially when you're dealing with Intel consumer vs Intel HEDT and AMD, `PC00.LPC0` is common on Intel HEDT while `PCI0.SBRG` is common on AMD. And they even come with name variation such as `EC0`, `H_EC`, `PGEC` and `ECDV`, so there can't be a one size fits all SSDT, **always verify your path and device**.
|
||||
|
||||
And make sure to scroll to the bottom as the new Fake EC function also need the correct path to replace the old EC. **Do not rename the EC device itself**, this is our fake EC we're using for macOS to play with. Just change the path!
|
||||
|
||||
> 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`
|
||||
|
||||
> What happens if no `PNP0C09` show up?
|
||||
|
||||
This means your SSDT can be *almost* complied, the main thing to watch for is whether your DSDT uses `PCI0.LPCB` or not. The reason being is that we have a FakeEC at the bottom of our SSDT that needs to connect properly into our DSDT. Gernally AMD uses `SBRG` while Intel HEDT use `LPC0`, **verify which show up in your DSDT**.
|
||||
|
||||
You can check by just searching for `Name (_ADR, 0x001F0000)`(this only works for Intel, AMD users should assume `SBRG`). This address is used for Low Pin Count devices(LPC) but the device name can vary between `LPCB`, `LBC` or `LBC0`. Just search each one in your config and which ever shows up is the one your system uses
|
||||
|
||||

|
||||
|
||||
|
||||
Once you find out, change `PCI0.LPCB` to your correct path:
|
||||
|
||||
```text
|
||||
Scope (\_SB.PCI0.LPCB)
|
||||
{
|
||||
Device (EC)
|
||||
{
|
||||
Name (_HID, "ACID0001") // _HID: Hardware ID
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
Else
|
||||
{
|
||||
Return (Zero)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
> Hey what about USBX? Do I need to do anything?
|
||||
|
||||
USBX is universal across all systems, it just creates a USBX device that forces USB power properties. This is crucial for fixing Mics, DACs, Webcams, Bluetooth Dongles and other high power draw devices. This is not mandatory to boot but should be added in post-install if not before. Note that USBX is only used on skylake+ systems, Broadwell and older can ignore and that USBX requires a patched EC to function correctly
|
||||
|
||||
For those who want a deeper dive into the EC issue: [What's new in macOS Catalina](https://www.reddit.com/r/hackintosh/comments/den28t/whats_new_in_macos_catalina/)
|
||||
55
Laptops/laptop-ec.md
Normal file
55
Laptops/laptop-ec.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# 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|
|
||||
|
||||
|
||||
## Clover users:
|
||||
|
||||
| Comment | String | Change XXXX to EC |
|
||||
| :--- | :--- | :--- |
|
||||
| Disabled | Boolean | No |
|
||||
| Find | Data | xxxxxxxx |
|
||||
| Replace | Data | xxxxxxxx |
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Opencore users:
|
||||
|
||||
| Comment | String | Change XXXX to EC |
|
||||
| :--- | :--- | :--- |
|
||||
| Enabled | String | YES |
|
||||
| Count | Number | 0 |
|
||||
| Limit | Nuber | 0 |
|
||||
| Find | Data | xxxxxxxx |
|
||||
| Replace | Data | xxxxxxxx |
|
||||
|
||||

|
||||
|
||||
27
Manual/compile.md
Normal file
27
Manual/compile.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Compiling and decompiling ACPI Tables
|
||||
|
||||
## macOS
|
||||
|
||||
So compiling DSDTs and SSDTs are quite easy with macOS, all you need is [MaciASL](https://github.com/acidanthera/MaciASL). To compile, just File -> SaveAs -> ACPI Machine Language Binary\(.AML\), decompiling is just opening the file in MaciASL.
|
||||
|
||||
## Windows
|
||||
|
||||
Compiling and decompiling on windows is fairly simple though, you will need [iasl.exe](https://acpica.org/sites/acpica/files/iasl-win-20180105.zip) and Command Prompt:
|
||||
|
||||
```text
|
||||
path/to/iasl.exe path/to/DSDT.aml
|
||||
```
|
||||
|
||||

|
||||
|
||||
If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
|
||||
|
||||
## Linux
|
||||
|
||||
Compiling and decompiling with Linux is just as simple, you will need a special copy of [iasl](http://amdosx.kellynet.nl/iasl.zip) and terminal:
|
||||
|
||||
```text
|
||||
path/to/iasl path/to/DSDT.aml
|
||||
```
|
||||
|
||||
If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
|
||||
32
Manual/dump.md
Normal file
32
Manual/dump.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Getting a copy of our DSDT
|
||||
|
||||
So to start, we'll need to get a copy of your DSDT from your firmware. There's a couple of options:
|
||||
|
||||
* [MaciASL](https://github.com/acidanthera/MaciASL/releases)
|
||||
* Open the app on the target machine(must already be running macOS) and the system's DSDT will show, then File -> SaveAs `System DSDT`. Make sure the file format is ACPI Machine Language Binary(.AML), this will require the machine to be running macOS
|
||||
* Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT
|
||||
* [SSDTTime](https://github.com/corpnewt/SSDTTime)
|
||||
* Supports both Windows and Linux for DSDT dumping
|
||||
* Option 4 to dump
|
||||
* [acpidump.exe](https://acpica.org/sites/acpica/files/iasl-win-20180105.zip)
|
||||
* 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
|
||||
* F4 in Clover Boot menu
|
||||
* DSDT can be found in `EFI/CLOVER/ACPI/origin`, the folder **must** exist before dumping
|
||||
* [`acpidump.efi`](https://github.com/khronokernel/Opencore-Vanilla-Desktop-Guide/tree/master/extra-files/acpidump.efi.zip)
|
||||
* Add this to `EFI/OC/Tools` and in your config under `Misc -> Tools` with the argument: `-b -n DSDT -z` and select this option in OpenCore's picker. Rename the DSDT.dat to DSDT.aml. Tool is provided by [acpica](https://github.com/acpica/acpica/tree/master/source/tools/acpidump)
|
||||
|
||||
If OpenCore is having issues running acpidump, you can call it from the shell with [OpenCoreShell](https://github.com/acidanthera/OpenCoreShell/releases)(reminder to add to both `EFI/OC/Tools` and in your config under `Misc -> Tools` ):
|
||||
|
||||
```text
|
||||
shell> fs0: // replace with proper drive
|
||||
|
||||
fs0:\> dir // to verify this is the right directory
|
||||
|
||||
Directory of fs0:\
|
||||
|
||||
01/01/01 3:30p EFI
|
||||
|
||||
fs0:\> cd EFI\OC\Tools // note that it's with forward slashes
|
||||
|
||||
fs0:\EFI\OC\Tools> acpidump.efi -b -n DSDT -z
|
||||
```
|
||||
30
README.md
Normal file
30
README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Getting started with ACPI
|
||||
|
||||
Last edited: January 30, 2020
|
||||
|
||||
## A quick explainer on ACPI and how to make SSDTs
|
||||
|
||||
So what are DSDTs and SSDTs? Well, these are tables present in your firmware that outline hardware devices like USB controllers, CPU threads, embedded controllers, system clocks and such. A DSDT(Differentiated System Description Table) can be seen as the body holding most of the info with smaller bits of info being passed by the SSDT(Secondary System Description Table)
|
||||
|
||||
> So why do we care about these tables?
|
||||
|
||||
macOS can be very picky about the devices present in the DSDT and so our job is to correct it. The main devices that need to be corrected for macOS to work properly:
|
||||
|
||||
* Embedded controllers(EC)
|
||||
* All semi-modern intel machines have an EC exposed in their DSDT, with many AMD systems also having it exposed. These controllers are not compatible with macOS so then need to be hidden from macOS and replaced with a dummy EC when running macOS Catalina
|
||||
* Plugin type
|
||||
* This is used to enable native CPU power management on **Intel** Haswell and newer CPUs, the SSDT will connect to the first thread of the CPU. Not meant for AMD
|
||||
* AWAC system clock.
|
||||
* This applies to all 300 series motherboards including Z370 boards, the specific issue is that newer boards ship with AWAC clock enabled. This is a problem because macOS cannot communicate with AWAC clocks, so this requires us to either force on the Legacy RTC clock or if unavailable create a fake one for macOS to play with
|
||||
* NVRAM SSDT
|
||||
* True 300 series motherboards(non-Z370) don't declare the FW chip as MMIO in ACPI and so XNU ignores the MMIO region declared by the UEFI memory map. This SSDT brings back NVRAM support and uses the scope `PCI0.LPCB`, so some users may need to adjust
|
||||
* GPIO SSDT
|
||||
* Used for creating a stub to allow VoodooI2C to connect onto, for laptops only
|
||||
* XOSI SSDT
|
||||
* Used for rerouting OSI calls to this SSDT, mainly used for tricking our hardware into thinking its booting Windows so we get better trackpad support. For laptops only
|
||||
* IRQ SSDT and ACPI patch
|
||||
* Needed for fixing IRQ conflicts within the DSDT, for laptops only
|
||||
|
||||
## What SSDTs do each platform need
|
||||
|
||||
Please see the **specific ACPI section of your config.plist**, all SSDTs needed are covered there with a breif explainer.
|
||||
30
SUMMARY.md
Normal file
30
SUMMARY.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Table of contents
|
||||
|
||||
* [Getting Started With ACPI](README.md)
|
||||
* [SSDTs: Easy Way](ssdt-easy.md)
|
||||
* [SSDTs: Long Way]()
|
||||
|
||||
## Manual
|
||||
* [Dumping the DSDT](/Manual/dump.md)
|
||||
* [Decompiling and Compiling](/Manual/compile.md)
|
||||
|
||||
## Desktop
|
||||
|
||||
* [Embedded Controllers](/Desktops/desktop-ec.md)
|
||||
|
||||
## Laptop
|
||||
|
||||
* [Embedded Controllers](/Laptops/laptop-ec.md)
|
||||
* [Backlight PNLF](/Laptops/backlight.md)
|
||||
* [Trackpad GPIO](/Laptops/trackpad.md)
|
||||
|
||||
## Universal
|
||||
|
||||
* [Plugin type](/Universal/plug.md)
|
||||
* [AWAC vs RTC](/Universal/awac.md)
|
||||
* [NVRAM PMC](/Universal/nvram.md)
|
||||
|
||||
|
||||
## Cleanup
|
||||
|
||||
|
||||
15
Universal/awac.md
Normal file
15
Universal/awac.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Fixing System Clocks
|
||||
|
||||
What the [SSDT-AWAC](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-AWAC.dsl) will do is force enable the Legacy RTC device in macOS, the reason we want to do this is that macOS currently does not support AWAC as a system clock. In some rare cases, there is no Legacy RTC device to force enable so we'll need to create a fake RTC device for macOS to play with using [SSDT-RTC0](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-RTC0.dsl)
|
||||
|
||||
To determine whether you need [SSDT-AWAC](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-AWAC.dsl) or [SSDT-RTC0](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-RTC0.dsl), open your decompiled DSDT and search for `Device (AWAC)`. If you get a result then you have an `AWAC` system clock present, **if nothing shows then no need to continue and no need for this SSDT**. Otherwise, continue with the next search for `STAS ==`:
|
||||
|
||||

|
||||
|
||||
As you can see we found the `STAS ==` in our DSDT, this means we're able to force enable our Legacy RTC. In this case, [SSDT-AWAC](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-AWAC.dsl) will be used As-Is with no modifications required. Just need to compile.
|
||||
|
||||
For systems where no `STAS` shows up but you do have `AWAC`, you can use [SSDT-RTC0](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-RTC0.dsl) though you will need to check whether your DSDT uses `LPCB`, `LBC` or `LBC0`.
|
||||
|
||||
By default it uses `LPCB`, you can check by just searching for `Name (_ADR, 0x001F0000)`. This address is used for Low Pin Count devices(LPC) but the device name can vary between `LPCB`, `LBC` or `LBC0`. Just search each one in your config and which ever shows up is the one your system uses
|
||||
|
||||

|
||||
1
Universal/irq.md
Normal file
1
Universal/irq.md
Normal file
@@ -0,0 +1 @@
|
||||
# Fixing IRQ Conflicts
|
||||
7
Universal/nvram.md
Normal file
7
Universal/nvram.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Fixing NVRAM
|
||||
|
||||
**This is required for all B360, B365, H310, H370, Z390 motherboards**
|
||||
|
||||
This SSDT brings back NVRAM support and uses the scope `PCI0.LPCB` to check what scope your system has, search your DSDT for `Name (_ADR, 0x001F0000)`. This address is used for Low Pin Count devices(LPC) but the device name can vary(quite rarely in reality, almost all consumer intel boards use `LPCB`)
|
||||
|
||||

|
||||
19
Universal/plug.md
Normal file
19
Universal/plug.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Fixing Power Management
|
||||
|
||||
**Intel CPUs only**
|
||||
|
||||
CPU naming is fairly easy to figure out as well, open your decompiled DSDT and search for `Processor`. This should give you a result like this:
|
||||
|
||||

|
||||
|
||||
As we can see, the first processor in our list is `PR00`. This is what we'll be applying the `plugin-type=1` property too. Now grab [SSDT-PLUG](https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl) and replace the default `CPU0` with our `PR00`. Note that there are 2 mentions of `CPU0` in the SSDT.
|
||||
|
||||
There are also some edge cases with `Processor`, specifically on HEDT series like X79, X99 and X299. This edge case is that the ACPI path is much longer and not so obvious:
|
||||
|
||||

|
||||
|
||||
If we then search for instances of `CP00` we find that it's ACPI path is `SB.SCK0.CP00`:
|
||||
|
||||

|
||||
|
||||
So for this X299 board, we'd change `\_PR.CPU0` with `\_SB.SCK0.CP00` and `External (_PR_.CPU0, ProcessorObj)` with `External (_SB_.SCK0.CP00, ProcessorObj)`
|
||||
12
Universal/spoof.md
Normal file
12
Universal/spoof.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Renaming GPUs
|
||||
|
||||
So this is mainly needed for GPUs that are not natively supported OOB due to their names, most commonly:
|
||||
|
||||
* R9 390
|
||||
* R9 290/390
|
||||
* R9 280/380
|
||||
* R7 270/370
|
||||
* R9 260/360
|
||||
* R7 250X
|
||||
* R7 250
|
||||
* R7 240
|
||||
34
book.json
Normal file
34
book.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"plugins": ["theme-default", "-lunr", "-search", "search-plus", "addcssjs", "favicon-plus"],
|
||||
"pluginsConfig": {
|
||||
"fontsettings": {
|
||||
"theme": "night",
|
||||
"family": "sans"
|
||||
},
|
||||
"favicon": "/icons/favicon.ico",
|
||||
"appleTouchIconPrecomposed152": "/icons/appleTouchIconPrecomposed152.png",
|
||||
"output": "_book"
|
||||
},
|
||||
"links": {
|
||||
"sharing": {
|
||||
"google": false,
|
||||
"facebook": false,
|
||||
"twitter": false,
|
||||
"weibo": false,
|
||||
"all": false
|
||||
}
|
||||
},
|
||||
"pdf": {
|
||||
"pageNumbers": false,
|
||||
"fontSize": 12,
|
||||
"paperSize": "a4",
|
||||
"margin": {
|
||||
"right": 62,
|
||||
"left": 62,
|
||||
"top": 36,
|
||||
"bottom": 36
|
||||
},
|
||||
"headerTemplate": null,
|
||||
"footerTemplate": null
|
||||
}
|
||||
}
|
||||
BIN
icons/.DS_Store
vendored
Normal file
BIN
icons/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
icons/apple-touch-icon-precomposed-152.png
Normal file
BIN
icons/apple-touch-icon-precomposed-152.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
BIN
icons/favicon.ico
Normal file
BIN
icons/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
48
ssdt-easy.md
Normal file
48
ssdt-easy.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# SSDTs: The easy way
|
||||
|
||||
So here we'll be using a super simple tool made by CorpNewt: [SSDTTime](https://github.com/corpnewt/SSDTTime)
|
||||
|
||||
What this tool does is dumps your DSDT from your firmware, and then creates SSDTs based off your DSDT. **This must be done on the target machine running either Windows or Linux**
|
||||
|
||||
So what **can't** SSDTTime do?:
|
||||
|
||||
* **HEDT SSDTs**: The ACPI is odd on these platforms so manual work is required
|
||||
* **AWAC and RTC0 SSDTs**: 300 series intel boards will also need to figure his out(Z390 systems are most common for requiring this but some gigabyte Z370 do as well)
|
||||
* **PMC SSDT**: For fixing 300 series intel NVRAM, a prebuilt for `PCI0.LPCB` can be found here: [SSDT-PMC.aml](https://github.com/khronokernel/Opencore-Vanilla-Desktop-Guide/blob/master/extra-files/SSDT-PMC.aml)
|
||||
* **USBX SSDT**: This is included on sample SSDTs but SSDTTime only makes the SSDT-EC part, Skylake and newer users can grab a prebuilt here: [SSDT-USBX.aml](https://github.com/khronokernel/Opencore-Vanilla-Desktop-Guide/blob/master/extra-files/SSDT-USBX.aml)
|
||||
|
||||
For users who don't have all the options avaible to them in SSDTTime, you can follow the "SSDTs: The long way" section. You can still use SSDTTime for SSDTs it support for you.
|
||||
|
||||
## Running SSDTTime
|
||||
|
||||
Run the `SSDTTime.bat` file as Admin on the target machine and you should see something like this:
|
||||
|
||||

|
||||
|
||||
What are all these options?:
|
||||
|
||||
* `1. FixHPET - Patch out IRQ Conflicts`
|
||||
* IRQ patching, mainly needed for X79, X99 and laptop users
|
||||
* `2. FakeEC - OS-aware Fake EC`
|
||||
* This is the SSDT-EC, required for Catalina users
|
||||
* `3. PluginType - Sets plugin-type = 1 on CPU0/PR00`
|
||||
* This is the SSDT-PLUG, for Intel only
|
||||
* `4. Dump DSDT - Automatically dump the system DSDT`
|
||||
* Dumps your DSDT from your firmware
|
||||
|
||||
|
||||
What we want to do is select option `4. Dump DSDT` first, then select the appropriate option(s) for your system.
|
||||
|
||||
> What about USBX?
|
||||
|
||||
For Skylake+ and AMD, you can grab a prebuilt file here: [SSDT-USBX.aml](https://github.com/khronokernel/Opencore-Vanilla-Desktop-Guide/blob/master/extra-files/SSDT-USBX.aml). This file is plug and play and requires no device configuration, **do not use on Haswell and older**.
|
||||
|
||||
**Troubleshooting note**: See [General Troubleshooting](/troubleshooting/troubleshooting).md if you're having issues running SSDTTime
|
||||
|
||||
## Adding to OpenCore
|
||||
|
||||
Don't forget that SSDTs need to be added to Opencore, eminder that .aml is complied, .dsl is code. **Add only the .aml file**:
|
||||
* EFI/OC/ACPI
|
||||
* config.plist -> ACPI -> Add
|
||||
|
||||
Reminder that Cmd/Crtl+R with ProperTree pointed at your OC folder will add all your SSDTs, kexts and .efi drivers to the config for you. Do not add your DSDT to OpenCore, its already in your firmware
|
||||
74
styles/website.css
Normal file
74
styles/website.css
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
.book-body {
|
||||
background: #220036;
|
||||
}
|
||||
|
||||
.markdown-section {
|
||||
color: #17154D;
|
||||
}
|
||||
*/
|
||||
|
||||
/* .color-theme-2 #book-search-input {
|
||||
color: #f4f4f5;
|
||||
background-color: #252737;
|
||||
}
|
||||
|
||||
.color-theme-2 .search-results-item {
|
||||
color: #bdcadb !important;
|
||||
} */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Anonymous+Pro|Roboto&display=swap');
|
||||
|
||||
.color-theme-2 .dropdown-menu {
|
||||
background-color: #222225;
|
||||
}
|
||||
|
||||
.color-theme-2 .dropdown-menu .dropdown-caret .caret-inner {
|
||||
border-bottom: 9px solid #222225;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-body {
|
||||
color: #ccc;
|
||||
background: #151519;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section {
|
||||
background: #151519;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
|
||||
background: #222225;
|
||||
border-color: #222225;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr {
|
||||
background-color: #222225;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-header h1 {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.book.color-theme-2 .book-summary {
|
||||
background: #222225;
|
||||
}
|
||||
|
||||
.book.font-family-1, .book.font-family-1 .book-summary {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.book.font-family-1 h1, .book.font-family-1 h2, .book.font-family-1 h3 {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.markdown-section code, .markdown-section pre {
|
||||
font-family: "SF Mono", "Anonymous Pro", Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
}
|
||||
|
||||
.gitbook-link {
|
||||
display: none !important
|
||||
}
|
||||
Reference in New Issue
Block a user