mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
I2C Trackpad improvements (#42)
This commit is contained in:
Binary file not shown.
@@ -1,19 +1,10 @@
|
||||
// Source: https://github.com/daliansky/OC-little
|
||||
DefinitionBlock("", "SSDT", 2, "DRTNIA", "GPI0", 0)
|
||||
{
|
||||
External(GPEN, FieldUnitObj)
|
||||
External(SBRG, FieldUnitObj)
|
||||
External(\GPEN, FieldUnitObj)
|
||||
|
||||
Scope (\)
|
||||
If (_OSI("Darwin"))
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
GPEN = One
|
||||
SBRG = One
|
||||
}
|
||||
Else
|
||||
{
|
||||
|
||||
}
|
||||
\GPEN = One
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,28 +1,12 @@
|
||||
/*
|
||||
* 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#_osi-strings-for-windows-operating-systems
|
||||
// Add OSes from the above list as needed, most only check up to Windows 2015
|
||||
// but check what your DSDT looks for
|
||||
Local0 = Package ()
|
||||
{
|
||||
"Windows 2001",
|
||||
"Windows 2001.1",
|
||||
@@ -33,7 +17,14 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "XOSI", 0x00001000)
|
||||
"Windows 2006 SP1",
|
||||
"Windows 2009",
|
||||
"Windows 2012",
|
||||
"Windows 2013",
|
||||
"Windows 2013",
|
||||
"Windows 2015",
|
||||
"Windows 2016",
|
||||
"Windows 2017",
|
||||
"Windows 2018",
|
||||
"Windows 2019",
|
||||
"Windows 2020",
|
||||
"Windows 2021",
|
||||
"Microsoft Windows NT",
|
||||
"Microsoft Windows",
|
||||
"Microsoft WindowsME: Millennium Edition"
|
||||
|
||||
Reference in New Issue
Block a user