Files
MateBook14-Hackintosh-OC/13/OC/Kexts/CodecCommander.kext/Contents/Resources/Samples/SSDT-ALC1220.dsl
2025-05-23 11:12:57 +08:00

39 lines
1.2 KiB
Plaintext

// CodecCommander configuration for ALC1220
// provided by daliansky @github
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC1220", 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()
{
// 0x1B SET_UNSOLICITED_ENABLE 0x83
"Command", Buffer() { 0x01, 0xB7, 0x08, 0x83 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
},
"Perform Reset", ">y",
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
"Send Delay", 10,
"Sleep Nodes", ">n",
},
})
}
//EOF