From 59d8e2bcc55a224575c327b7da5a1c9cafd3da6d Mon Sep 17 00:00:00 2001 From: Avery Black Date: Sun, 2 May 2021 13:03:19 -0700 Subject: [PATCH] Add OSID to XSID --- Laptops/trackpad-methods/manual.md | 14 +++++++++++++- extra-files/compiled/SSDT-XOSI.aml | Bin 365 -> 365 bytes extra-files/decompiled/SSDT-GPI0.dsl | 3 +-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Laptops/trackpad-methods/manual.md b/Laptops/trackpad-methods/manual.md index 8eb0cf4..a1148c0 100644 --- a/Laptops/trackpad-methods/manual.md +++ b/Laptops/trackpad-methods/manual.md @@ -152,6 +152,18 @@ Requires the below SSDT and patch | Find | Data | 5f4f5349 | | Replace | Data | 584f5349 | +::: details Dell Machines +You may need to add the below patch to allow the backlight keys to work. Credit to Rehabman for the below patch: + +| Comment | String | Change _OSID to XSID (to avoid match against _OSI patch) +| :------ | :----- | :-------- | +| Enabled | Boolean | YES | +| Count | Number | 0 | +| Limit | Number | 0 | +| Find | Data | 4F534944 | +| Replace | Data | 58534944 | +::: + ### Create OSYS Variable Under I2C Scope You will need to find the device path of your I2C device, and add to your SSDT. You will need to add this in whichever scope checks for OSYS, though won't work if you add this under \_SB.PCI0 since this is generally the same scope in which the _INI method will set depending on the running OS. @@ -165,7 +177,7 @@ If (_OSI("Darwin")) { ``` ### Note: -Windows will also return true for checks of earlier versions of the OS. For example, Windows 7 would return true for "Windows 2000" through "Windows 2009", but not any version after. This is important as some features are only enabled in earlier Windows checks. For example, `WNTF = 0x01` allows DYTC thermal management to work on newer Thinkpads, though this only gets set in the check for "Windows 2001". You will need to check your own DSDT and see what values it sets and where they are used. At this point, you should [compile your SSDT]([compiling the SSDT](/Manual/compile.md)) and see if the trackpad works. +Windows will also return true for checks of earlier versions of the OS. For example, Windows 7 would return true for "Windows 2000" through "Windows 2009", but not any version after. This is important as some features are only enabled in earlier Windows checks. For example, `WNTF = 0x01` allows DYTC thermal management to work on newer Thinkpads, though this only gets set in the check for "Windows 2001". You will need to check your own DSDT and see what values it sets and where they are used. At this point, you should [compiling the SSDT](/Manual/compile.md) and see if the trackpad works. ## Further Setup diff --git a/extra-files/compiled/SSDT-XOSI.aml b/extra-files/compiled/SSDT-XOSI.aml index a4d76cc4d072e948e9943e689ffc30793ca2f326..2f41a71626978f4bf6be953ab76dcc36a1933743 100644 GIT binary patch delta 44 xcmaFM^p;6EIM^j5myv;iX}U{Lh@YopgnzIn0|*E(FnIcf_;9jHZdCSS1ONbT3E2Pu delta 44 xcmaFM^p;6EIM^j5myv;isn8`T#Lv?)!avxP0R#jX7(D$#d^A`UHY$5D0s#Ey3E2Pu diff --git a/extra-files/decompiled/SSDT-GPI0.dsl b/extra-files/decompiled/SSDT-GPI0.dsl index 63d0189..bf6eb4b 100644 --- a/extra-files/decompiled/SSDT-GPI0.dsl +++ b/extra-files/decompiled/SSDT-GPI0.dsl @@ -2,10 +2,9 @@ DefinitionBlock("", "SSDT", 2, "DRTNIA", "GPI0", 0) { External(\GPEN, FieldUnitObj) - External(\OSYS, IntObj) If (_OSI("Darwin")) + { \GPEN = One - \OSYS = 0x07DF } }