forked from RehabMan/HP-ProBook-4x30s-DSDT-Patch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
12c_generic_BCL.txt
41 lines (39 loc) · 1.33 KB
/
12c_generic_BCL.txt
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
into device label PNLF code_regex Name\s\(_BCL,\sPackage[^\}]*\}\) remove_matched;
into device label PNLF code_regex Name\s\(XOPT,.*\)\n removeall_matched;
into device label PNLF code_regex Name\s\(XRGL,.*\)\n removeall_matched;
into device label PNLF code_regex Name\s\(XRGH,.*\)\n removeall_matched;
into device label PNLF code_regex Name\s\(KLVX,.*\)\n removeall_matched;
into device label PNLF code_regex . insert
begin
// Use XOPT=1 to disable smooth transitions\n
Name (XOPT, Zero)\n
// XRGL/XRGH: defines the valid range\n
Name (XRGL, 40)\n
Name (XRGH, 1808)\n
// KLVX is initialization value for LEVX\n
Name (KLVX, 0x7100000)\n
// _BCL: returns list of valid brightness levels\n
// first two entries describe ac/battery power levels\n
Name (_BCL, Package()\n
{\n
1808,\n
479,\n
0,\n
53, 55, 57, 59,\n
62, 66, 71, 77,\n
83, 91, 99, 108,\n
119, 130, 142, 154,\n
168, 183, 198, 214,\n
232, 250, 269, 289,\n
309, 331, 354, 377,\n
401, 426, 453, 479,\n
507, 536, 566, 596,\n
627, 660, 693, 727,\n
762, 797, 834, 872,\n
910, 949, 990, 1031,\n
1073, 1115, 1159, 1204,\n
1249, 1296, 1343, 1391,\n
1440, 1490, 1541, 1592,\n
1645, 1698, 1753, 1808,\n
})\n
end;