2 * This file is part of the coreboot project.
4 * Copyright (c) 2011 Sven Schnelle <svens@stackframe.org>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
25 Name (_HID, EISAID("PNP0C09"))
31 OperationRegion(ERAM, EmbeddedControl, 0x00, 0x100)
32 Field (ERAM, ByteAcc, NoLock, Preserve)
37 LEDS, 8, /* LED state */
39 AMUT, 1, /* Audio Mute */
42 KBLT, 1, /* Keyboard Light */
46 TMP0, 8, /* Thermal Zone 0 temperature */
47 TMP1, 8, /* Thermal Zone 1 temperature */
49 PAGE, 8 /* Information Page Selector */
54 Name (ECMD, ResourceTemplate()
56 IO (Decode16, 0x62, 0x62, 1, 1)
57 IO (Decode16, 0x66, 0x66, 1, 1)
62 Method (LED, 1, NotSerialized)
67 Method (_INI, 0, NotSerialized)
71 Method (MUTE, 1, NotSerialized)
76 /* Sleep Button pressed */
77 Method(_Q13, 0, NotSerialized)
79 Notify(\_SB.PCI0.LPCB.EC.SLPB, 0x80)
82 /* Brightness up GPE */
83 Method(_Q14, 0, NotSerialized)
88 /* Brightness down GPE */
89 Method(_Q15, 0, NotSerialized)
94 /* AC status change: present */
95 Method(_Q26, 0, NotSerialized)
100 /* AC status change: not present */
101 Method(_Q27, 0, NotSerialized)
106 Method(_Q2A, 0, NotSerialized)
108 Notify(\_SB.PCI0.LPCB.EC.LID, 0x80)
111 Method(_Q2B, 0, NotSerialized)
113 Notify(\_SB.PCI0.LPCB.EC.LID, 0x80)
118 #include "battery.asl"
119 #include "sleepbutton.asl"
122 #include "thermal.asl"
123 #include "systemstatus.asl"