This commit is contained in:
辩识、
2020-08-03 06:22:01 +08:00
parent 078bc22953
commit c780c73a1e
18 changed files with 1245 additions and 13 deletions
Vendored
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+472
View File
@@ -0,0 +1,472 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19C57</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>CodecCommander</string>
<key>CFBundleGetInfoString</key>
<string>2.7.1, Copyright © 2013-2014 TimeWalker. All rights reserved.</string>
<key>CFBundleIdentifier</key>
<string>org.tw.CodecCommander</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>CodecCommander</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>2.7.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>2.7.2</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>11C29</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>19B90</string>
<key>DTSDKName</key>
<string>macosx10.15</string>
<key>DTXcode</key>
<string>1130</string>
<key>DTXcodeBuild</key>
<string>11C29</string>
<key>IOKitPersonalities</key>
<dict>
<key>CodecCommander</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.tw.CodecCommander</string>
<key>Codec Profile</key>
<dict>
<key>1002</key>
<string>Disabled HDMI</string>
<key>10de</key>
<string>Disabled HDMI</string>
<key>10ec_0233</key>
<string>Realtek ALC283,etc</string>
<key>10ec_0235</key>
<string>Realtek ALC283,etc</string>
<key>10ec_0236</key>
<string>Realtek ALC283,etc</string>
<key>10ec_0255</key>
<string>Realtek ALC283,etc</string>
<key>10ec_0269</key>
<string>Realtek ALC269</string>
<key>10ec_0269_HDA_1028_04d9</key>
<string>Realtek ALC269VB</string>
<key>10ec_0269_HDA_1458_fa50</key>
<string>Realtek ALC269 BRIX</string>
<key>10ec_0282</key>
<string>Realtek ALC283,etc</string>
<key>10ec_0283</key>
<string>Realtek ALC283,etc</string>
<key>10ec_0292</key>
<string>Realtek ALC292</string>
<key>10ec_0668</key>
<string>Realtek ALC668</string>
<key>10ec_0892_HDA_1458</key>
<string>Realtek ALC892 desktop</string>
<key>10ec_0892_HDA_8086</key>
<string>Realtek ALC892 desktop</string>
<key>10ec_0900</key>
<string>Realtek ALC1150</string>
<key>8086</key>
<string>Disabled HDMI</string>
<key>Default</key>
<dict>
<key>Check Infinitely</key>
<false/>
<key>Check Interval</key>
<integer>3000</integer>
<key>Custom Commands</key>
<array/>
<key>Perform Reset on EAPD Fail</key>
<false/>
<key>Send Delay</key>
<integer>300</integer>
<key>Sleep Nodes</key>
<true/>
<key>Update Nodes</key>
<true/>
</dict>
<key>Disabled HDMI</key>
<dict>
<key>Check Infinitely</key>
<false/>
<key>Disable</key>
<true/>
<key>Sleep Nodes</key>
<false/>
<key>Update Nodes</key>
<false/>
</dict>
<key>Realtek ALC1150</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>
AgUABw==
</data>
<key>Comment</key>
<string>0x20 SET_COEF_INDEX 0x07</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<true/>
<key>On Wake</key>
<true/>
</dict>
<dict>
<key>Command</key>
<data>
AgR8sA==
</data>
<key>Comment</key>
<string>0x20 SET_PROC_COEF 0x7CB0</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
<key>Send Delay</key>
<integer>100</integer>
<key>Sleep Nodes</key>
<false/>
<key>Update Nodes</key>
<false/>
</dict>
<key>Realtek ALC269</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>
AVcIgw==
</data>
<key>Comment</key>
<string>0x15 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
</dict>
<key>Realtek ALC269 BRIX</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>
AVcIgw==
</data>
<key>Comment</key>
<string>0x15 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<false/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<false/>
</dict>
</array>
</dict>
<key>Realtek ALC269VB</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>
AhcIgw==
</data>
<key>Comment</key>
<string>0x21 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
<key>Send Delay</key>
<integer>20</integer>
<key>Sleep Nodes</key>
<false/>
</dict>
<key>Realtek ALC283,etc</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>
AZcHJQ==
</data>
<key>Comment</key>
<string>0x19 SET_PIN_WIDGET_CONTROL 0x25</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
<dict>
<key>Command</key>
<data>
AhcIgw==
</data>
<key>Comment</key>
<string>0x21 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
<key>Perform Reset</key>
<false/>
<key>Send Delay</key>
<integer>10</integer>
<key>Sleep Nodes</key>
<false/>
</dict>
<key>Realtek ALC292</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<string>0x01a70724</string>
<key>Comment</key>
<string>Node 0x1a - Pin Control (In Enable / VRefEn)</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
<dict>
<key>Command</key>
<data>
AVcIgw==
</data>
<key>Comment</key>
<string>0x15 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
<key>Perform Reset</key>
<false/>
</dict>
<key>Realtek ALC668</key>
<dict>
<key>Custom Commands</key>
<array>
<dict>
<key>Command</key>
<data>
AVcIgw==
</data>
<key>Comment</key>
<string>0x15 SET_UNSOLICITED_ENABLE 0x83</string>
<key>On Init</key>
<true/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
<dict>
<key>Command</key>
<data>
AbcHIA==
</data>
<key>Comment</key>
<string>Node 0x1b - Pin Control (In Enable)</string>
<key>On Init</key>
<false/>
<key>On Sleep</key>
<false/>
<key>On Wake</key>
<true/>
</dict>
</array>
<key>Perform Reset</key>
<false/>
</dict>
<key>Realtek ALC892 desktop</key>
<dict>
<key>Sleep Nodes</key>
<false/>
<key>Update Nodes</key>
<false/>
</dict>
</dict>
<key>IOClass</key>
<string>CodecCommander</string>
<key>IOMatchCategory</key>
<string>CodecCommander</string>
<key>IOProviderClass</key>
<string>IOHDACodecFunction</string>
<key>IOUserClientClass</key>
<string>CodecCommanderClient</string>
</dict>
<key>CodecCommanderPowerHook</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.tw.CodecCommander</string>
<key>Codec Profile</key>
<dict>
<key>1002</key>
<string>Disabled HDMI</string>
<key>10de</key>
<string>Disabled HDMI</string>
<key>8086</key>
<string>Disabled HDMI</string>
<key>Disabled HDMI</key>
<dict>
<key>Disable</key>
<true/>
</dict>
</dict>
<key>IOClass</key>
<string>CodecCommanderPowerHook</string>
<key>IOMatchCategory</key>
<string>CodecCommanderPowerHook</string>
<key>IOProviderClass</key>
<string>AppleHDADriver</string>
</dict>
<key>CodecCommanderProbeInit</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.tw.CodecCommander</string>
<key>Codec Profile</key>
<dict>
<key>Default</key>
<dict>
<key>Custom Commands</key>
<array/>
</dict>
</dict>
<key>IOClass</key>
<string>CodecCommanderProbeInit</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>IOHDACodecDevice</string>
</dict>
<key>CodecCommanderResidency</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.tw.CodecCommander</string>
<key>IOClass</key>
<string>CodecCommanderResidency</string>
<key>IOMatchCategory</key>
<string>CodecCommanderResidency</string>
<key>IOProviderClass</key>
<string>IOResources</string>
</dict>
<key>CodecCommanderVoodooHDA</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.tw.CodecCommander</string>
<key>Codec Profile</key>
<dict>
<key>1002</key>
<string>Disabled HDMI</string>
<key>10de</key>
<string>Disabled HDMI</string>
<key>8086</key>
<string>Disabled HDMI</string>
<key>Default</key>
<dict>
<key>Check Infinitely</key>
<false/>
<key>Perform Reset</key>
<false/>
<key>Perform Reset on EAPD Fail</key>
<false/>
<key>Perform Reset on External Wake</key>
<false/>
<key>Sleep Nodes</key>
<false/>
<key>Update Nodes</key>
<false/>
</dict>
<key>Disabled HDMI</key>
<dict>
<key>Check Infinitely</key>
<false/>
<key>Disable</key>
<true/>
<key>Sleep Nodes</key>
<false/>
<key>Update Nodes</key>
<false/>
</dict>
</dict>
<key>IOClass</key>
<string>CodecCommander</string>
<key>IOMatchCategory</key>
<string>CodecCommander</string>
<key>IOProviderClass</key>
<string>VoodooHDADevice</string>
<key>IOUserClientClass</key>
<string>CodecCommanderClient</string>
</dict>
</dict>
<key>LSMinimumSystemVersion</key>
<string>10.6</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2013-2014 TimeWalker/RehabMan. All rights reserved.</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOACPIFamily</key>
<string>1.0d1</string>
<key>com.apple.iokit.IOAudioFamily</key>
<string>1.1</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.bsd</key>
<string>9.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>9.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>9.0.0</string>
</dict>
<key>Source Code</key>
<string>https://github.com/RehabMan/EAPD-Codec-Commander</string>
</dict>
</plist>
Binary file not shown.
@@ -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", "_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
@@ -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", "_ALC256v", 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
@@ -0,0 +1,45 @@
// This SSDT demonstrates a custom configuration for ALC280.
// If you had a codec that needed the same configuration, you could
// load this SSDT in order to implement it without modifying the kext.
// It will override the defaults specfied by the CodecCommander Info.plist
// Customize to suit your needs.
// This data provided by @zirkaiva.
// See here: http://www.tonymacx86.com/el-capitan-laptop-guides/175935-guide-lenovo-t430-el-capitan-34.html#post1239765
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC280", 0)
{
External(_SB.PCI0.HDEF, DeviceObj)
Name(_SB.PCI0.HDEF.RMCF, Package()
{
"CodecCommander", Package()
{
"Custom Commands", Package()
{
Package(){}, // signifies Array instead of Dictionary
Package()
{
// 0x15 SET_UNSOLICITED_ENABLE 0x83
"Command", Buffer() { 0x01, 0x57, 0x08, 0x83 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
Package()
{
// 0x1a SET_PIN_WIDGET_CONTROL 0x24
// Node 0x1a - Pin Control (In Enable / VRefEn)
"Command", Buffer() { 0x01, 0xa7, 0x07, 0x24 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
},
//"Perform Reset", ">n", // enable if using AppleALC
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
},
})
}
//EOF
@@ -0,0 +1,44 @@
// This SSDT demonstrates a custom configuration for ALC283.
// It is the same data that is currently in the Info.plist
// If you had a codec that needed the same configuration, you could
// load this SSDT in order to implement it without modifying the kext.
// It will override the defaults specfied by the CodecCommander Info.plist
// Customize to suit your needs.
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC283", 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 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",
},
},
"Perform Reset", ">n",
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
"Send Delay", 10,
"Sleep Nodes", ">n",
},
})
}
//EOF
@@ -0,0 +1,52 @@
// This SSDT demonstrates a custom configuration for ALC298.
// It is the same data that is currently in the Info.plist
// If you had a codec that needed the same configuration, you could
// load this SSDT in order to implement it without modifying the kext.
// It will override the defaults specfied by the CodecCommander Info.plist
// Customize to suit your needs.
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC298", 0)
{
External(_SB.PCI0.HDEF, DeviceObj)
Name(_SB.PCI0.HDEF.RMCF, Package()
{
"CodecCommander", Package()
{
"Custom Commands", Package()
{
Package(){}, // signifies Array instead of Dictionary
Package()
{
// 0x18 SET_PIN_WIDGET_CONTROL 0x22
"Command", Buffer() { 0x01, 0x87, 0x07, 0x22 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
Package()
{
// 0x1a SET_PIN_WIDGET_CONTROL 0x23
"Command", Buffer() { 0x01, 0xa7, 0x07, 0x23 },
"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,61 @@
// This SSDT demonstrates a custom configuration for ALC298.
//
// It is reportedly needed to solve problems of jack sense and
// distorted sound with headphone.
//
// See here for details:
// http://www.tonymacx86.com/threads/alc3266-10ec0298-files-for-applehdapatcher.191231/page-5#post-1323829
//
// Customize to suit your needs.
// Compile to SSDT-ALC298.aml, place in ACPI/patched. Make sure SortedOrder includes it.
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC298a", 0)
{
External(_SB.PCI0.HDEF, DeviceObj)
Name(_SB.PCI0.HDEF.RMCF, Package()
{
"CodecCommander", Package()
{
"Custom Commands", Package()
{
Package(){}, // signifies Array instead of Dictionary
Package()
{
// 0x01 SET_CODEC_RESET 0x00
"Command", Buffer() { 0x00, 0x17, 0xff, 0x00 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">n",
},
Package()
{
// 0x01 SET_CODEC_RESET 0x00
"Command", Buffer() { 0x00, 0x17, 0xff, 0x00 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">n",
},
Package()
{
// 0x1 SET_POWER_STATE 0x03
"Command", Buffer() { 0x00, 0x17, 0x05, 0x03 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">n",
},
Package()
{
// 0x21 SET_UNSOLICITED_ENABLE 0x83
"Command", Buffer() { 0x02, 0x17, 0x08, 0x83 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
},
//"Perform Reset", ">n", // enable if using AppleALC
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
},
})
}
//EOF
@@ -0,0 +1,63 @@
// This SSDT demonstrates a custom configuration for ALC668.
//
// It is reportedly needed to solve a problem with booting
// OS X after Windows.
//
// See here for details:
// http://www.tonymacx86.com/el-capitan-laptop-support/185808-alc668-no-sound-after-reboot-windows-10-a.html#post1201248
//
// Customize to suit your needs.
// Compile to SSDT-ALC668.aml, place in ACPI/patched. Make sure SortedOrder includes it.
DefinitionBlock ("", "SSDT", 1, "hack", "_ALC668", 0)
{
External(_SB.PCI0.HDEF, DeviceObj)
Name(_SB.PCI0.HDEF.RMCF, Package()
{
"CodecCommander", Package()
{
"Custom Commands", Package()
{
Package(){}, // signifies Array instead of Dictionary
// correcting headphones (this is in the Info.plist too)
Package()
{
// 0x15 SET_UNSOLICITED_ENABLE 0x83
"Command", Buffer() { 0x01, 0x57, 0x08, 0x83 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">y",
},
Package()
{
// Node 0x1b - Pin Control (In Enable)
"Command", Buffer() { 0x01, 0xb7, 0x07, 0x20 },
"On Init", ">n",
"On Sleep", ">n",
"On Wake", ">y",
},
// correcting audio after Windows (not in current Info.plist)
Package()
{
// 0x20 SET_COEF_INDEX 0x07
"Command", Buffer() { 0x02, 0x05, 0x00, 0x07 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">n",
},
Package()
{
// 0x20 SET_PROC_COEF 0x0F80
"Command", Buffer() { 0x02, 0x04, 0x0f, 0x80 },
"On Init", ">y",
"On Sleep", ">n",
"On Wake", ">n",
},
},
//"Perform Reset", ">n", // enable if using AppleALC
//"Perform Reset on External Wake", ">n", // enable if using AppleALC
},
})
}
//EOF
@@ -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", "_CCALC", 0)
{
External(_SB.PCI0.HDEF, DeviceObj)
Name(_SB.PCI0.HDEF.RMCF, Package()
{
"CodecCommander", Package()
{
"Perform Reset", ">n",
"Perform Reset on External Wake", ">n",
},
})
}
//EOF
@@ -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
@@ -0,0 +1,267 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Resources/Samples/SSDT-ALC1220.dsl</key>
<data>
EIES+l9rMGoeBieSkUNddrD5bWo=
</data>
<key>Resources/Samples/SSDT-ALC256-insanelydeepak.dsl</key>
<data>
VZkOsssBJ6T1/BsvNJsxIgN6sZY=
</data>
<key>Resources/Samples/SSDT-ALC256-vbourachot.dsl</key>
<data>
4Kgmc2FJT1dIg9N7ykidCcuhPVI=
</data>
<key>Resources/Samples/SSDT-ALC280.dsl</key>
<data>
I0LQ4c40vPqO7KQyWKJ2MnsfiIU=
</data>
<key>Resources/Samples/SSDT-ALC283.dsl</key>
<data>
3C5d98Yawh/48mwCelHDHJ4GINQ=
</data>
<key>Resources/Samples/SSDT-ALC298.dsl</key>
<data>
VKDMTH2YOrg+Y+z3VS9OHrPS0Fk=
</data>
<key>Resources/Samples/SSDT-ALC298a.dsl</key>
<data>
uZMK4TFxYyvCnF64GKMCkmIj+D0=
</data>
<key>Resources/Samples/SSDT-ALC668.dsl</key>
<data>
pxe3Mfkqdxto0CYYP1QQNnR/yYw=
</data>
<key>Resources/Samples/SSDT-AppleALC.dsl</key>
<data>
VPP+WvDCKf8Tw2HAbI6mGSApZec=
</data>
<key>Resources/Samples/SSDT-CX20752.dsl</key>
<data>
2Dc4I1jWG0/CmJeTVaO3ci4K3B0=
</data>
</dict>
<key>files2</key>
<dict>
<key>Resources/Samples/SSDT-ALC1220.dsl</key>
<dict>
<key>hash</key>
<data>
EIES+l9rMGoeBieSkUNddrD5bWo=
</data>
<key>hash2</key>
<data>
jqBgCuISRIgDEohB6eJL6S35hXiT4avRWCIQkoG/7jE=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC256-insanelydeepak.dsl</key>
<dict>
<key>hash</key>
<data>
VZkOsssBJ6T1/BsvNJsxIgN6sZY=
</data>
<key>hash2</key>
<data>
sfT2TRn4QDdpacpab2BQO0EUosUxxjYP+H67YVrFxSM=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC256-vbourachot.dsl</key>
<dict>
<key>hash</key>
<data>
4Kgmc2FJT1dIg9N7ykidCcuhPVI=
</data>
<key>hash2</key>
<data>
OJ1gIMJ54LeFpxyxQ4BNebpxAspZWngZsLotyXRav1E=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC280.dsl</key>
<dict>
<key>hash</key>
<data>
I0LQ4c40vPqO7KQyWKJ2MnsfiIU=
</data>
<key>hash2</key>
<data>
VXWVuyccAWvOYtVBGFby4wtGs8w3rgemCSrDsfU9Y4w=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC283.dsl</key>
<dict>
<key>hash</key>
<data>
3C5d98Yawh/48mwCelHDHJ4GINQ=
</data>
<key>hash2</key>
<data>
wrBGgW4l9PJROiSBO70+4LDlxtKuTClEHurWIKbAqWw=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC298.dsl</key>
<dict>
<key>hash</key>
<data>
VKDMTH2YOrg+Y+z3VS9OHrPS0Fk=
</data>
<key>hash2</key>
<data>
4wJ+O/VDersVdLXH6wdYyd8Giyj5sp39FYFacOMgWMo=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC298a.dsl</key>
<dict>
<key>hash</key>
<data>
uZMK4TFxYyvCnF64GKMCkmIj+D0=
</data>
<key>hash2</key>
<data>
35qUmgVJmTFC09kAKboui1WfOeWpx8EZiuw0Ak11KqM=
</data>
</dict>
<key>Resources/Samples/SSDT-ALC668.dsl</key>
<dict>
<key>hash</key>
<data>
pxe3Mfkqdxto0CYYP1QQNnR/yYw=
</data>
<key>hash2</key>
<data>
LyyMqlOlDDUkN/V9UfdYEo4NdzbruFwX9AtjqfzikHw=
</data>
</dict>
<key>Resources/Samples/SSDT-AppleALC.dsl</key>
<dict>
<key>hash</key>
<data>
VPP+WvDCKf8Tw2HAbI6mGSApZec=
</data>
<key>hash2</key>
<data>
Sqi40XOwc8QaXlqUngUwxY66utwbKX2zXrdXprwkCoA=
</data>
</dict>
<key>Resources/Samples/SSDT-CX20752.dsl</key>
<dict>
<key>hash</key>
<data>
2Dc4I1jWG0/CmJeTVaO3ci4K3B0=
</data>
<key>hash2</key>
<data>
sDRLVLSx27tOfnytpsAD7S23OOmox6NE4EeMafkvxzk=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
+37 -13
View File
@@ -16,11 +16,11 @@
</dict>
<dict>
<key>Comment</key>
<string>The missing parts</string>
<string>Sound card IRQ patch</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-TEMP.aml</string>
<string>SSDT-HPET-IPIC.aml</string>
</dict>
<dict>
<key>Comment</key>
@@ -30,14 +30,6 @@
<key>Path</key>
<string>SSDT-VPS2.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>Sensor</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-ALS0.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>Graphics</string>
@@ -48,11 +40,11 @@
</dict>
<dict>
<key>Comment</key>
<string>Sound card IRQ patch</string>
<string>Sensor</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-HPET-IPIC.aml</string>
<string>SSDT-ALS0.aml</string>
</dict>
<dict>
<key>Comment</key>
@@ -70,6 +62,22 @@
<key>Path</key>
<string>SSDT-SMBU.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>The missing parts</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-TEMP.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>USB</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-USBX.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>delete EH01</string>
@@ -84,7 +92,7 @@
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-USBX.aml</string>
<string>SSDT-ALC3.aml</string>
</dict>
</array>
<key>Delete</key>
@@ -1491,6 +1499,22 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>BundlePath</key>
<string>CodecCommander.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/CodecCommander</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>BundlePath</key>
<string>CPUFriend.kext</string>