1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/* SPDX-License-Identifier: GPL-2.0-only */
Method(_Q80) // Volume up
{
Store ("-----> _Q80", Debug)
Notify (\_SB.HIDD, 0xC4)
Notify (\_SB.HIDD, 0xC5)
Store ("<----- _Q80", Debug)
}
Method(_Q81) // Volume down
{
Store ("-----> _Q81", Debug)
Notify (\_SB.HIDD, 0xC6)
Notify (\_SB.HIDD, 0xC7)
Store ("<----- _Q81", Debug)
}
Method(_Q99) // Wireless mode
{
Store ("-----> _Q99", Debug)
\_SB.HIDD.HPEM(8)
Store ("<----- _Q80", Debug)
}
Method(_Q06) // Brightness decrease
{
\_SB.PCI0.GFX0.DECB()
}
Method(_Q07) // Brightness increase
{
\_SB.PCI0.GFX0.INCB()
}
Method(_Q08) // FN lock QEvent
{
FNLC = FNST
}
Method(_Q54) // Power Button Event
{
Store ("-----> _Q54", Debug)
If (CondRefOf (\_SB.PWRB))
{
Notify(\_SB.PWRB, 0x80)
}
Store ("<----- _Q54", Debug)
}
Method(_QD5) // 10 second power button press
{
Store ("-----> _QD5", Debug)
\_SB.PWPR()
Store ("<----- _QD5", Debug)
}
Method(_QD6) // 10 second power button de-press
{
Store ("-----> _QD6", Debug)
\_SB.PWRR()
Store ("<----- _QD6", Debug)
}
|