Upgraded to OC 0.5.6
This commit is contained in:
38
EFI/OC/Kexts/CodecCommander.kext/Contents/Resources/SSDT-ALC1220.dsl
Executable file
38
EFI/OC/Kexts/CodecCommander.kext/Contents/Resources/SSDT-ALC1220.dsl
Executable file
@ -0,0 +1,38 @@
|
||||
// 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
|
@ -0,0 +1,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", "ALC256", 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
|
@ -0,0 +1,54 @@
|
||||
// CodecCommander configuration for ALC256
|
||||
// From: https://github.com/vbourachot/XPS13-9350-OSX/blob/master/ssdt/SSDT-ALC256.dsl
|
||||
|
||||
DefinitionBlock ("", "SSDT", 1, "hack", "ALC256", 0x00003000)
|
||||
{
|
||||
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 0x25
|
||||
"Command", Buffer() { 0x01, 0x97, 0x07, 0x25 },
|
||||
"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",
|
||||
},
|
||||
Package()
|
||||
{
|
||||
// 0x20 SET_COEF_INDEX 0x36
|
||||
"Command", Buffer() { 0x02, 0x05, 0x00, 0x36 },
|
||||
"On Init", ">y",
|
||||
"On Sleep", ">n",
|
||||
"On Wake", ">y",
|
||||
},
|
||||
Package()
|
||||
{
|
||||
// 0x20 SET_PROC_COEF 0x1737
|
||||
"Command", Buffer() { 0x02, 0x04, 0x17, 0x37 },
|
||||
"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
|
23
EFI/OC/Kexts/CodecCommander.kext/Contents/Resources/SSDT-AppleALC.dsl
Executable file
23
EFI/OC/Kexts/CodecCommander.kext/Contents/Resources/SSDT-AppleALC.dsl
Executable file
@ -0,0 +1,23 @@
|
||||
// This SSDT demonstrates a custom configuration with certain features
|
||||
// disabled when using AppleALC.kext.
|
||||
// AppleALC.kext has some extra patches for AppleHDA that interfere with these
|
||||
// features breaking audio after wake from sleep.
|
||||
//
|
||||
// Customize to suit your needs.
|
||||
//
|
||||
// As of CodecCommander v2.7.1, CodecCommander detects AppleALC for setting the default
|
||||
// of these two options false.
|
||||
|
||||
DefinitionBlock ("", "SSDT", 1, "hack", "CC-ALC", 0)
|
||||
{
|
||||
External(_SB.PCI0.HDEF, DeviceObj)
|
||||
Name(_SB.PCI0.HDEF.RMCF, Package()
|
||||
{
|
||||
"CodecCommander", Package()
|
||||
{
|
||||
"Perform Reset", ">n",
|
||||
"Perform Reset on External Wake", ">n",
|
||||
},
|
||||
})
|
||||
}
|
||||
//EOF
|
43
EFI/OC/Kexts/CodecCommander.kext/Contents/Resources/SSDT-CX20752.dsl
Executable file
43
EFI/OC/Kexts/CodecCommander.kext/Contents/Resources/SSDT-CX20752.dsl
Executable file
@ -0,0 +1,43 @@
|
||||
// SSDT to correct some problems headphone/mic on CX20752.
|
||||
//
|
||||
// Note: For use with the Anti-pop patches (seee RehabMan NUC repo)
|
||||
//
|
||||
// created by nayeweiyang/XuWang
|
||||
|
||||
DefinitionBlock ("", "SSDT", 1, "hack", "CX20752", 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 0x24
|
||||
"Command", Buffer() { 0x01, 0xa7, 0x07, 0x24 },
|
||||
"On Init", ">y",
|
||||
"On Sleep", ">n",
|
||||
"On Wake", ">y",
|
||||
},
|
||||
|
||||
},
|
||||
"Perform Reset", ">n",
|
||||
"Perform Reset on External Wake", ">n",
|
||||
},
|
||||
})
|
||||
}
|
||||
//EOF
|
||||
|
||||
|
Reference in New Issue
Block a user