forked from Dolnor/EAPD-Codec-Commander
-
Notifications
You must be signed in to change notification settings - Fork 22
/
SSDT-ALC256-insanelydeepak.dsl
46 lines (45 loc) · 1.54 KB
/
SSDT-ALC256-insanelydeepak.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
// CodecCommander configuration for ALC256 to fix various issue
// repo: https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC256i", 0)
{
External(_SB.PCI0.HDEF, DeviceObj)
Name(_SB.PCI0.HDEF.RMCF, Package()
{
"CodecCommander", Package()
{
"Custom Commands", Package()
{
Package(){}, // signifies Array instead of Dictionary
Package()
{
// 0x19 SET_PIN_WIDGET_CONTROL 0x24
"Command", Buffer() { 0x01, 0x97, 0x07, 0x24 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
Package()
{
// 0x1A SET_PIN_WIDGET_CONTROL 0x20
"Command", Buffer() { 0x01, 0xA7, 0x07, 0x20 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
Package()
{
// 0x21 SET_UNSOLICITED_ENABLE 0x83
"Command", Buffer() { 0x02, 0x17, 0x08, 0x83 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
}
},
"Perform Reset", ">n",
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
"Send Delay", 10,
"Sleep Nodes", ">n",
},
})
}
//EOF