Created
January 31, 2022 11:53
-
-
Save nickw444/133503a3fa6ee43e02072c3443c04f2f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Intel ACPI Component Architecture | |
| * AML/ASL+ Disassembler version 20200925 (64-bit version) | |
| * Copyright (c) 2000 - 2020 Intel Corporation | |
| * | |
| * Disassembling to symbolic ASL+ operators | |
| * | |
| * Disassembly of iASLWRITfR.aml, Mon Jan 31 22:53:43 2022 | |
| * | |
| * Original Table Header: | |
| * Signature "SSDT" | |
| * Length 0x0000020A (522) | |
| * Revision 0x02 | |
| * Checksum 0xB8 | |
| * OEM ID "Sleep" | |
| * OEM Table ID "HACK" | |
| * OEM Revision 0x00000000 (0) | |
| * Compiler ID "INTL" | |
| * Compiler Version 0x20200110 (538968336) | |
| */ | |
| DefinitionBlock ("", "SSDT", 2, "Sleep", "HACK", 0x00000000) | |
| { | |
| External (_SB_.MPTS, MethodObj) // 1 Arguments | |
| External (_SB_.PC00, DeviceObj) | |
| External (_SB_.PC00.LPCB.SIO1.SIOS, MethodObj) // 1 Arguments | |
| External (_SB_.PC00.LPCB.SPTS, MethodObj) // 1 Arguments | |
| External (_SB_.PC00.NPTS, MethodObj) // 1 Arguments | |
| External (_SB_.TPM_.TPTS, MethodObj) // 1 Arguments | |
| External (OSYS, IntObj) | |
| External (RPTS, MethodObj) // 1 Arguments | |
| External (ZPTS, MethodObj) // 1 Arguments | |
| External (ZWAK, MethodObj) // 1 Arguments | |
| Scope (\_SB) | |
| { | |
| If (_OSI ("Darwin")) | |
| { | |
| Scope (PC00) | |
| { | |
| Device (PMCR) | |
| { | |
| Name (_HID, EisaId ("APP9876")) // _HID: Hardware ID | |
| Method (_STA, 0, NotSerialized) // _STA: Status | |
| { | |
| If (_OSI ("Darwin")) | |
| { | |
| Return (0x0B) | |
| } | |
| Else | |
| { | |
| Return (Zero) | |
| } | |
| } | |
| Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
| { | |
| Memory32Fixed (ReadWrite, | |
| 0xFE000000, // Address Base | |
| 0x00010000, // Address Length | |
| ) | |
| }) | |
| } | |
| } | |
| } | |
| } | |
| If (_OSI ("Darwin")) | |
| { | |
| Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep | |
| { | |
| If ((Arg0 != 0x05)) | |
| { | |
| \_SB.MPTS (Arg0) | |
| \_SB.TPM.TPTS (Arg0) | |
| \_SB.PC00.NPTS (Arg0) | |
| RPTS (Arg0) | |
| \_SB.PC00.LPCB.SIO1.SIOS (Arg0) | |
| \_SB.PC00.LPCB.SPTS (Arg0) | |
| } | |
| ZPTS (Arg0) | |
| } | |
| Method (_WAK, 1, NotSerialized) // _WAK: Wake | |
| { | |
| If (((Arg0 < One) || (Arg0 > 0x05))) | |
| { | |
| Arg0 = 0x03 | |
| } | |
| Local0 = ZWAK (Arg0) | |
| Return (Local0) | |
| } | |
| Method (_TTS, 1, NotSerialized) // _TTS: Transition To State | |
| { | |
| SLTP = Arg0 | |
| } | |
| Name (SLTP, Zero) | |
| Method (DTGP, 5, NotSerialized) | |
| { | |
| If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b") /* Unknown UUID */)) | |
| { | |
| If ((Arg1 == One)) | |
| { | |
| If ((Arg2 == Zero)) | |
| { | |
| Arg4 = Buffer (One) | |
| { | |
| 0x03 // . | |
| } | |
| Return (One) | |
| } | |
| If ((Arg2 == One)) | |
| { | |
| Return (One) | |
| } | |
| } | |
| } | |
| Arg4 = Buffer (One) | |
| { | |
| 0x00 // . | |
| } | |
| Return (Zero) | |
| } | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment