From 98faee9f853da7d1afa1a4479873f49441ba1e78 Mon Sep 17 00:00:00 2001 From: Avery Black Date: Fri, 25 Dec 2020 17:55:16 -0800 Subject: [PATCH] Page edits, SSDT edits --- Laptops/trackpad.md | 4 ++-- extra-files/decompiled/SSDT-GPI0.dsl | 5 ----- extra-files/decompiled/SSDT-XOSI.dsl | 30 ++++++++-------------------- 3 files changed, 10 insertions(+), 29 deletions(-) diff --git a/Laptops/trackpad.md b/Laptops/trackpad.md index 768d828..c9da4d5 100644 --- a/Laptops/trackpad.md +++ b/Laptops/trackpad.md @@ -5,9 +5,9 @@ ## What this SSDT does -This SSDT is used to force enable our GPI0 for VoodooI2C to connect onto. +A big part of fixing I2C trackpads is enabling them within ACPI. For VoodooI2C to work, GPI0 needs to be enabled, as well as the Trackpad and I2C bus. The latter two devices are commonly disabled behind an OS check for Windows which need to be patched to work with macOS as well. -With most modern laptop DSDTs, there's a variable called `GPEN` or `GPHD` which are used for setting the status of the GPI0 device. For us, we want to enable the device. +Common variables which are set are `OSYS`, `WIN8`, and `GPEN`. Often times, GPI0 is already enabled and requires no modification. ## Methods to make this SSDT diff --git a/extra-files/decompiled/SSDT-GPI0.dsl b/extra-files/decompiled/SSDT-GPI0.dsl index 331541c..b314b94 100644 --- a/extra-files/decompiled/SSDT-GPI0.dsl +++ b/extra-files/decompiled/SSDT-GPI0.dsl @@ -9,11 +9,6 @@ DefinitionBlock("", "SSDT", 2, "DRTNIA", "GPI0", 0) If (_OSI ("Darwin")) { GPEN = One - SBRG = One - } - Else - { - } } } diff --git a/extra-files/decompiled/SSDT-XOSI.dsl b/extra-files/decompiled/SSDT-XOSI.dsl index e8a4a0b..0070436 100644 --- a/extra-files/decompiled/SSDT-XOSI.dsl +++ b/extra-files/decompiled/SSDT-XOSI.dsl @@ -1,28 +1,11 @@ -/* - * Intel ACPI Component Architecture - * AML/ASL+ Disassembler version 20190509 (64-bit version) - * Copyright (c) 2000 - 2019 Intel Corporation - * - * Disassembling to symbolic ASL+ operators - * - * Disassembly of iASLYWTc6v.aml, Thu May 28 19:06:11 2020 - * - * Original Table Header: - * Signature "SSDT" - * Length 0x00000143 (323) - * Revision 0x02 - * Checksum 0x6C - * OEM ID "DRTNIA" - * OEM Table ID "XOSI" - * OEM Revision 0x00001000 (4096) - * Compiler ID "INTL" - * Compiler Version 0x20190509 (538510601) - */ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "XOSI", 0x00001000) { Method (XOSI, 1, NotSerialized) { - Local0 = Package (0x11) + // Based off of https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-osi + // Add OSes from the above list as needed, most only check up to Windows 2015 + // but check what your DSDT looks for + Local0 = Package (0x13) { "Windows 2001", "Windows 2001.1", @@ -33,7 +16,10 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "XOSI", 0x00001000) "Windows 2006 SP1", "Windows 2009", "Windows 2012", - "Windows 2013", + "Windows 2013", + "Windows 2015", + "Windows 2016", + "Windows 2017", "Microsoft Windows NT", "Microsoft Windows", "Microsoft WindowsME: Millennium Edition"