-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathgb_test_fans_ssdt.dsl
76 lines (75 loc) · 2.49 KB
/
gb_test_fans_ssdt.dsl
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
64
65
66
67
68
69
70
71
72
73
74
75
76
/* Dummy fan devices to test with multiple fans each with various functionality supported */
DefinitionBlock ("", "SSDT", 2, "GBTSTF", "GBKSSDTF", 0x00000001)
{
Scope(\_SB)
{
Device(GBF1) /* Galaxy Book Fan 1 - should be supported out-of-the-box by ACPI */
{
Name (_HID, EisaId ("PNP0C0B") /* Fan (Thermal Solution) */) // _HID: Hardware ID
Name (_UID, 1) // _UID: Unique ID
Name (_STR, Unicode ("GB Test Fan 1")) // _STR: Description String
Name (_FIF, Package (0x04) // _FIF: Fan Information
{
0,
5,
1,
0
})
Name (_FPS, Package (0x02) // _FPS: Fan Performance States
{
0,
Package (0x05)
{
1,
0,
1500,
0xFFFFFFFF,
0xFFFFFFFF
}
})
Method (_FSL, 1, NotSerialized) // _FSL: Fan Set Level
{
}
Name (_FST, Package (0x03) // _FST: Fan Status
{
0,
1,
1525
})
}
Device(GBF2) /* Galaxy Book Fan 2 - should use _FST and includes _STR */
{
Name (_HID, EisaId ("PNP0C0B") /* Fan (Thermal Solution) */) // _HID: Hardware ID
Name (_UID, 2) // _UID: Unique ID
Name (_STR, Unicode ("GB Test Fan 2")) // _STR: Description String
Name (_FST, Package (0x03) // _FST: Fan Status
{
0,
2,
2899
})
}
Device(GBF3) /* Galaxy Book Fan 3 - should use _FST and does not include _STR */
{
Name (_HID, EisaId ("PNP0C0B") /* Fan (Thermal Solution) */) // _HID: Hardware ID
Name (_UID, 3) // _UID: Unique ID
Name (_FST, Package (0x03) // _FST: Fan Status
{
0,
3,
3421
})
}
Device(GBF4) /* Galaxy Book Fan 4 - does not have _FST or FANT; should not be supported */
{
Name (_HID, EisaId ("PNP0C0B") /* Fan (Thermal Solution) */) // _HID: Hardware ID
Name (_UID, 4) // _UID: Unique ID
Name (FSTX, Package (0x03) // Non-standard Fan Status
{
0,
4,
1785
})
}
}
}