1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* SPDX-License-Identifier: GPL-2.0-only */ Device (LID) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID) { Local0 = CLID Return (Local0) } } Method (_Q0A) { Printf ("EC: LID STATUS") Notify (LID, 0x80) }