Skip to content

Commit

Permalink
Fix Lint (#83)
Browse files Browse the repository at this point in the history
* Fix Lint

* Fix link

* Fix link names
  • Loading branch information
1Revenger1 authored Mar 1, 2023
1 parent f519b77 commit 97003ad
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 39 deletions.
14 changes: 4 additions & 10 deletions Desktops/desktop-disable.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
13 changes: 2 additions & 11 deletions Laptops/laptop-disable.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Laptops/trackpad-methods/manual.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
10 changes: 5 additions & 5 deletions Universal/ec-methods/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <!-- markdownlint-disable-line MD051 -->
* [Compiling the SSDT](#compiling-the-ssdt)
* [Wrapping up](#wrapping-up)

Expand All @@ -21,7 +21,7 @@ TO-DO:

To find the ACPI pathing, you have 2 methods:

* [DSDT](#DSDT)
* [DSDT](#dsdt)
* [DeviceManager](#devicemanager)

### DSDT
Expand All @@ -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) <!-- markdownlint-disable-line MD051 -->

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

Expand Down Expand Up @@ -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) <!-- markdownlint-disable-line MD051 -->

### No PNP0C09 show up

Expand All @@ -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.

Expand Down
1 change: 0 additions & 1 deletion Universal/imei-methods/manual.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
4 changes: 2 additions & 2 deletions Universal/plug-methods/manual.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -11,7 +11,7 @@

To find the ACPI pathing, you have 2 methods:

* [DSDT](#DSDT)
* [DSDT](#dsdt)
* [DeviceManager](#devicemanager)

### DSDT
Expand Down
4 changes: 1 addition & 3 deletions Universal/unc0-methods/manual.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions ssdt-methods/ssdt-prebuilt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <!-- markdownlint-disable-line MD051 -->
* [AMD SSDTs](#amd-ssdts)
* [Bulldozer/Jaguar](#amd-bulldozer-jaguar)
* [Bulldozer/Jaguar](#amd-bulldozer-jaguar) <!-- markdownlint-disable-line MD051 -->
* [Zen](#amd-zen)

## Intel Desktop SSDTs
Expand Down Expand Up @@ -363,7 +363,7 @@ SSDT-XOSI:

:::

### Laptop Coffee Lake(8th gen)
### Laptop Coffee Lake (8th gen)

::: tip SSDTs required

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 97003ad

Please sign in to comment.