diff options
Diffstat (limited to 'src/ec/starlabs/it8987/acpi/lid.asl')
-rw-r--r-- | src/ec/starlabs/it8987/acpi/lid.asl | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/ec/starlabs/it8987/acpi/lid.asl b/src/ec/starlabs/it8987/acpi/lid.asl deleted file mode 100644 index 22e8eeb818..0000000000 --- a/src/ec/starlabs/it8987/acpi/lid.asl +++ /dev/null @@ -1,47 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -Device (LID0) -{ - Name (_HID, EisaId ("PNP0C0D")) - - Method (_STA, 0, NotSerialized) - { - DEBUG = "---> IT8987 LID: _STA" - Return (0x0F) - } - - Method (_PSW, 1, NotSerialized) - { - DEBUG = Concatenate ("---> IT8987 LID: _PSW", ToHexString(Arg0)) - } - - Method (_LID, 0, NotSerialized) - { - DEBUG = "---> IT8987 LID: _LID" - If (\_SB.PCI0.LPCB.H_EC.ECRD (RefOf (\_SB.PCI0.LPCB.H_EC.LSTE)) == 0x01) - { - Local0 = 1 - } - else - { - Local0 = 0 - } - Return (Local0) - } -} - -Method (_Q0C, 0, NotSerialized) // Lid close event -{ - DEBUG = "---> IT8987 LID: Q0C (close event)" - LIDS = 0 - \LIDS = LIDS - Notify (LID0, 0x80) -} - -Method (_Q0D, 0, NotSerialized) // Lid open event -{ - DEBUG = "---> IT8987 LID: Q0D (open event)" - LIDS = 1 - \LIDS = LIDS - Notify (LID0, 0x80) -} |