summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/acpi/lid.asl
blob: 8b0edb55ebc9d9f2525bc1bc82f2db83fb80dc1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */

Device (LID0)
{
	Name (_HID, EisaId ("PNP0C0D"))
	Method (_STA)
	{
		Return (0x0F)
	}
	Method (_LID,0)
	{
		// 0x00 == Closed
		// 0x01 == Open
		Return (^^LSTE)
	}
}