From 97003ad18012de5b04d0c8d8349d51f7f829c3fd Mon Sep 17 00:00:00 2001 From: Avery Black Date: Wed, 1 Mar 2023 10:15:42 -0800 Subject: [PATCH] Fix Lint (#83) * Fix Lint * Fix link * Fix link names --- Desktops/desktop-disable.md | 14 ++++---------- Laptops/laptop-disable.md | 13 ++----------- Laptops/trackpad-methods/manual.md | 2 +- Universal/ec-methods/manual.md | 10 +++++----- Universal/imei-methods/manual.md | 1 - Universal/plug-methods/manual.md | 4 ++-- Universal/unc0-methods/manual.md | 4 +--- ssdt-methods/ssdt-prebuilt.md | 12 ++++++------ 8 files changed, 21 insertions(+), 39 deletions(-) diff --git a/Desktops/desktop-disable.md b/Desktops/desktop-disable.md index b09b7a8a..ed4871ed 100644 --- a/Desktops/desktop-disable.md +++ b/Desktops/desktop-disable.md @@ -1,15 +1,9 @@ # Disabling desktops unsupported GPUs(SSDT-GPU-DISABLE) -* [What this SSDT does](#what-this-ssdt-does) -* [Methods to make this SSDT](#methods-to-make-this-ssdt) - * [Prebuilt](#prebuilts) - * [SSDTTime](#ssdttime) - * [Manual](#manual) - * [Finding the ACPI path](#finding-the-acpi-path) - * [Edits to the sample SSDT](#edits-to-the-sample-ssdt) - * [Compiling the SSDT](#compiling-the-ssdt) - -So this is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg `-wegnoegpu`, this only works when running on iGPU so for the rest of us we'll need to make an SSDT. +* [Finding the ACPI Path of the GPU](#finding-the-acpi-path-of-the-gpu) +* [Making the SSDT](#making-the-ssdt) + +This is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg `-wegnoegpu`, this only works when running on iGPU so for the rest of us we'll need to make an SSDT. So to disable a specific GPU, we need to find a couple things: diff --git a/Laptops/laptop-disable.md b/Laptops/laptop-disable.md index 94d9c761..74584a8b 100644 --- a/Laptops/laptop-disable.md +++ b/Laptops/laptop-disable.md @@ -1,18 +1,9 @@ # Disabling laptop dGPUs (SSDT-dGPU-Off/NoHybGfx) -* [What this SSDT does](#what-this-ssdt-does) -* [Methods to make this SSDT](#methods-to-make-this-ssdt) - * [Prebuilt](#prebuilts) - * [SSDTTime](#ssdttime) - * [Manual](#manual) - * [Finding the ACPI path](#finding-the-acpi-path) - * [Edits to the sample SSDT](#edits-to-the-sample-ssdt) - * [Compiling the SSDT](#compiling-the-ssdt) - So with laptops, we can hide the dGPU from macOS with the little boot-arg called `-wegnoegpu` from WhateverGreen. But one small problem, the dGPU is still pulling power draining your battery slowly. We'll be going over 2 methods for disabling the dGPU in a laptop: -* [Optimus Method](/Laptops/laptop-disable.md#optimus-method) -* [Bumblebee Method](/Laptops/laptop-disable.md#bumblebee-method) +* [Optimus Method](#optimus-method) +* [Bumblebee Method](#bumblebee-method) Note that this is not needed for install, but recommended for post-install diff --git a/Laptops/trackpad-methods/manual.md b/Laptops/trackpad-methods/manual.md index d09b5801..2fb372c5 100644 --- a/Laptops/trackpad-methods/manual.md +++ b/Laptops/trackpad-methods/manual.md @@ -1,6 +1,6 @@ # Fixing Trackpads: Manual -* [Checking GPI0](#checking-gpio) +* [Checking GPI0](#checking-gpi0) * [Edits to the sample SSDT](#edits-to-the-sample-ssdt) * [Enabling Trackpad](#enabling-trackpad) * [Wrapping up](#wrapping-up) diff --git a/Universal/ec-methods/manual.md b/Universal/ec-methods/manual.md index 54d59dd7..d1b3b0af 100644 --- a/Universal/ec-methods/manual.md +++ b/Universal/ec-methods/manual.md @@ -9,7 +9,7 @@ * [Multiple PNP0C09's show up](#multiple-pnp0c09s-show-up) * [No PNP0C09 show up](#no-pnp0c09-show-up) * [PNP0C09 already named `EC`](#pnp0c09-already-named-ec) - * [PNP0C09 already has an `_STA` method](#pnp0c09-already-has-an-_sta-method) + * [PNP0C09 already has a `_STA` method](#pnp0c09-already-has-a-sta-method) * [Compiling the SSDT](#compiling-the-ssdt) * [Wrapping up](#wrapping-up) @@ -21,7 +21,7 @@ TO-DO: To find the ACPI pathing, you have 2 methods: -* [DSDT](#DSDT) +* [DSDT](#dsdt) * [DeviceManager](#devicemanager) ### DSDT @@ -46,7 +46,7 @@ The main ones to check for are: * [Multiple PNP0C09's show up](#multiple-pnp0c09s-show-up) * [No PNP0C09 show up](#no-pnp0c09-show-up) * [PNP0C09 already named `EC`](#pnp0c09-already-named-ec) -* [PNP0C09 already has an `_STA` method](#pnp0c09-already-has-an-_sta-method) +* [PNP0C09 already has a `_STA` method](#pnp0c09-already-has-a-sta-method) If none of the above apply to you, you're ready for the next section: @@ -113,7 +113,7 @@ When multiple PNP0C09 show up, we need to next check for the following propertie What these signify is whether this PNP0C09 device is real or not, as per the [ACPI spec](https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf). So one's matching the above criteria are the one's we want to disable. -* Note: If _STA shows up as well, you'll need to go here: [PNP0C09 already has an `_STA` method](#pnp0c09-already-has-an-sta-method) +* Note: If _STA shows up as well, you'll need to go here: [PNP0C09 already has a `_STA` method](#pnp0c09-already-has-a-sta-method) ### No PNP0C09 show up @@ -129,7 +129,7 @@ Congrats! No need to create an SSDT-EC! However you will still want USBX if you' Prebuilt can be grabbed here: [SSDT-USBX.aml](https://github.com/dortania/OpenCore-Post-Install/blob/master/extra-files/SSDT-USBX.aml) -### PNP0C09 already has an `_STA` method +### PNP0C09 already has a `_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. diff --git a/Universal/imei-methods/manual.md b/Universal/imei-methods/manual.md index 2f9abfdf..0e3e5b14 100644 --- a/Universal/imei-methods/manual.md +++ b/Universal/imei-methods/manual.md @@ -1,7 +1,6 @@ # Fixing IMEI: Manual * [Finding the ACPI device](#finding-the-acpi-device) -* [Edits to the sample SSDT](#edits-to-the-sample-ssdt) * [Compiling the SSDT](#compiling-the-ssdt) * [Wrapping up](#wrapping-up) diff --git a/Universal/plug-methods/manual.md b/Universal/plug-methods/manual.md index 028ba03b..eb36b520 100644 --- a/Universal/plug-methods/manual.md +++ b/Universal/plug-methods/manual.md @@ -1,7 +1,7 @@ # Fixing Power Management: Manual * [Finding the ACPI path](#finding-the-acpi-path) - * [DSDT](#DSDT) + * [DSDT](#dsdt) * [DeviceManager](#devicemanager) * [Edits to the sample SSDT](#edits-to-the-sample-ssdt) * [Compiling the SSDT](#compiling-the-ssdt) @@ -11,7 +11,7 @@ To find the ACPI pathing, you have 2 methods: -* [DSDT](#DSDT) +* [DSDT](#dsdt) * [DeviceManager](#devicemanager) ### DSDT diff --git a/Universal/unc0-methods/manual.md b/Universal/unc0-methods/manual.md index 6982542e..b2444271 100644 --- a/Universal/unc0-methods/manual.md +++ b/Universal/unc0-methods/manual.md @@ -1,8 +1,6 @@ # Fixing Uncore Bridges: Manual -* [Finding the ACPI path](#finding-the-acpi-path) -* [Edits to the sample SSDT](#edits-to-the-sample-ssdt) -* [Compiling the SSDT](#compiling-the-ssdt) +* [Download the SSDT](#download-the-ssdt) * [Wrapping up](#wrapping-up) ## Download the SSDT diff --git a/ssdt-methods/ssdt-prebuilt.md b/ssdt-methods/ssdt-prebuilt.md index b6f13ba0..2c4c2f44 100644 --- a/ssdt-methods/ssdt-prebuilt.md +++ b/ssdt-methods/ssdt-prebuilt.md @@ -14,16 +14,16 @@ 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-lake-8th-gen) - * [Coffee and Comet Lake(9th and 10th gen)](#laptop-coffee-and-comet-lake-9th-and-10th-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) * [Nehalem and Westmere](#nehalem-and-westmere) * [Sandy and Ivy Bridge-E](#sandy-and-ivy-bridge-e) * [Haswell and Broadwell-E](#haswell-and-broadwell-e) - * [Skylake and Cascade Lake-X/W](#skylake-and-cascade-lake-x-w) + * [Skylake and Cascade Lake-X/W](#skylake-and-cascade-lake-x-w) * [AMD SSDTs](#amd-ssdts) - * [Bulldozer/Jaguar](#amd-bulldozer-jaguar) + * [Bulldozer/Jaguar](#amd-bulldozer-jaguar) * [Zen](#amd-zen) ## Intel Desktop SSDTs @@ -363,7 +363,7 @@ SSDT-XOSI: ::: -### Laptop Coffee Lake(8th gen) +### Laptop Coffee Lake (8th gen) ::: tip SSDTs required @@ -405,7 +405,7 @@ SSDT-XOSI: ::: -### Laptop Coffee and Comet Lake(9th and 10th gen) +### Laptop Coffee and Comet Lake (9th and 10th gen) ::: tip SSDTs required