From 3c8a1c669c43a82c59c6ab7e7a19745d08cb8d62 Mon Sep 17 00:00:00 2001 From: Andrey1970AppleLife Date: Thu, 30 May 2019 16:58:36 +0300 Subject: [PATCH] Docs: updated ACPISamples --- Docs/AcpiSamples/SSDT-EC-USBX.dsl | 13 ++++++++++++- Docs/AcpiSamples/SSDT-EC.dsl | 21 ++++++++++++++++----- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/Docs/AcpiSamples/SSDT-EC-USBX.dsl b/Docs/AcpiSamples/SSDT-EC-USBX.dsl index 31095814..507c5846 100644 --- a/Docs/AcpiSamples/SSDT-EC-USBX.dsl +++ b/Docs/AcpiSamples/SSDT-EC-USBX.dsl @@ -54,10 +54,21 @@ DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000) Scope (\_SB.PCI0.LPCB) { Device (EC) + { + Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID + Method (_STA, 0, NotSerialized) // _STA: Status { - Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID + If (_OSI ("Darwin")) + { + Return (0x0F) + } + Else + { + Return (Zero) + } } } + } } } diff --git a/Docs/AcpiSamples/SSDT-EC.dsl b/Docs/AcpiSamples/SSDT-EC.dsl index 1122bd9d..2be10d4c 100644 --- a/Docs/AcpiSamples/SSDT-EC.dsl +++ b/Docs/AcpiSamples/SSDT-EC.dsl @@ -1,22 +1,22 @@ /* * Intel ACPI Component Architecture - * AML/ASL+ Disassembler version 20190215 (64-bit version) + * AML/ASL+ Disassembler version 20190405 (64-bit version) * Copyright (c) 2000 - 2019 Intel Corporation * * Disassembling to symbolic ASL+ operators * - * Disassembly of iASL1WfHko.aml, Thu May 9 02:08:52 2019 + * Disassembly of iASLSmLgeI.aml, Thu May 30 16:21:47 2019 * * Original Table Header: * Signature "SSDT" - * Length 0x0000005B (91) + * Length 0x00000077 (119) * Revision 0x02 - * Checksum 0x5A + * Checksum 0x2D * OEM ID "APPLE " * OEM Table ID "SsdtEC" * OEM Revision 0x00001000 (4096) * Compiler ID "INTL" - * Compiler Version 0x20190215 (538509845) + * Compiler Version 0x20190405 (538510341) */ DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000) { @@ -27,6 +27,17 @@ DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000) Device (EC) { Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID + Method (_STA, 0, NotSerialized) // _STA: Status + { + If (_OSI ("Darwin")) + { + Return (0x0F) + } + Else + { + Return (Zero) + } + } } } }