/* * Goal of this SSDT is to check for all LPC edge cases, as laptops are known for naming variation */ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "PMCR", 0x00001000) { External (_SB_.PCI0.LPCB, DeviceObj) External (_SB_.PCI0.LPC0, DeviceObj) External (_SB_.PCI0.LPC, DeviceObj) If (CondRefOf (\_SB.PCI0.LPCB)) { Scope (_SB.PCI0.LPCB) { 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 (CondRefOf (\_SB.PCI0.LPC0)) { Scope (_SB.PCI0.LPC0) { 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 (CondRefOf (\_SB.PCI0.LPC)) { Scope (_SB.PCI0.LPC) { 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 ) }) } } } }