Update ACPI GPE config

This commit is contained in:
Jeremy Soller
2019-05-10 11:07:09 -06:00
parent 764d87a6d4
commit 6512180461
4 changed files with 7 additions and 7 deletions

View File

@@ -16,11 +16,11 @@
Device (PWRB) Device (PWRB)
{ {
Name (_HID, EisaId ("PNP0C0C")) Name (_HID, EisaId ("PNP0C0C"))
Name (_PRW, Package () { 0x29 /* GPP_D9 */, 3 }) Name (_PRW, Package () { 6 /* GPP_K6 */, 3 })
} }
Device (SLPB) Device (SLPB)
{ {
Name (_HID, EisaId ("PNP0C0E")) Name (_HID, EisaId ("PNP0C0E"))
Name (_PRW, Package () { 0x29 /* GPP_D9 */, 3 }) Name (_PRW, Package () { 6 /* GPP_K6 */, 3 })
} }

View File

@@ -16,7 +16,7 @@
Device (EC0) Device (EC0)
{ {
Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
Name (_GPE, 0x50 /* GPP_E16 */) // _GPE: General Purpose Events Name (_GPE, 3 /* GPP_K3 */) // _GPE: General Purpose Events
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
{ {
IO (Decode16, IO (Decode16,

View File

@@ -13,9 +13,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
// GPP_D9 SCI // GPP_K6 SWI
Method (_L29, 0, Serialized) { Method (_L06, 0, Serialized) {
Debug = Concatenate("GPE _L29: ", ToHexString(\_SB.PCI0.LPCB.EC0.WFNO)) Debug = Concatenate("GPE _L06: ", ToHexString(\_SB.PCI0.LPCB.EC0.WFNO))
If (\_SB.PCI0.LPCB.EC0.ECOK) { If (\_SB.PCI0.LPCB.EC0.ECOK) {
If (\_SB.PCI0.LPCB.EC0.WFNO == One) { If (\_SB.PCI0.LPCB.EC0.WFNO == One) {
Notify(\_SB.LID0, 0x80) Notify(\_SB.LID0, 0x80)

View File

@@ -16,7 +16,7 @@
Device (LID0) Device (LID0)
{ {
Name (_HID, EisaId ("PNP0C0D")) Name (_HID, EisaId ("PNP0C0D"))
Name (_PRW, Package () { 0x29 /* GPP_D9 */, 3 }) Name (_PRW, Package () { 6 /* GPP_K6 */, 3 })
Method (_LID, 0, NotSerialized) { Method (_LID, 0, NotSerialized) {
DEBUG = "LID: _LID" DEBUG = "LID: _LID"