44 lines
1.2 KiB
Plaintext
Executable File
44 lines
1.2 KiB
Plaintext
Executable File
// 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
|
|
|
|
|