/* Purpose of this SSDT is to: * * - Find references of devices named EC__ * - If none are found, only then create a new EC * * Reason for this is to avoid having multiple EC__ in devices * like Lenovo who already use the name EC__ */ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000) { External (_SB_.PCI0.LPC_.EC__, DeviceObj) External (_SB_.PCI0.LPCB.EC__, DeviceObj) If ((!CondRefOf (\_SB.PCI0.LPCB.EC) && !CondRefOf (\_SB.PCI0.LPC.EC))) { Scope (\_SB) { Device (EC) { Name (_HID, "ACID0001") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } } } }