AppleALC支持的「Codecs」列表及「AppleALC」的使用

AppleALC支持的「Codecs」列表及「AppleALC」的使用

如何使用AppleALC

如果您的编解码器支持,您需要完成的唯一任务是加载内核扩展,并查看它是否工作。您可以使用您的引导加载程序(比如:Clover),但请记住在AppleHDA之前加载AppleALC(有关更多详细信息,请参阅sudo kextstat输出)。

请注意Lilu 也必须出现在AppleALC上。

按照一个易于使用的指南来添加您的编解码器支持,如果它不在这里。请分享您的成功结果。

备注:AppleALC不处理layout-id值,它希望你提供正确的DSDT(SSDT)。

如何控制AppleALC

AppleALC接受不同的引导参数来控制其行为:

  • -alcoff - 禁用自身;
  • -alcdbg - 打印调试信息(如果扩展在调试模式下编译);
  • -alcbeta - 在不支持的系统(通常未发布或旧版)上启用AppleALC;
  • -x-s - 也将禁用AppleALC。
  • 所有Lilu启动参数都会影响AppleALC。

如何提取调试日志

在使用-alcdbg -liludbg引导后,在终端Terminal中运行以下命令并保存输出。

10.12及以后版本:

log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "AppleALC" OR eventMessage CONTAINS "Lilu")' --style syslog --source

10.11及以前版本

cat /var/log/system.log | egrep '(AppleALC|Lilu)'

附:AppleALC支持的编解码器列表 更新日期:8-1-2019

Currently supported codecs v1.3.9

VendorCodecRevisions and layoutsMinKernelMaxKernel
AnalogDevicesAD19840x100400, layout 1113 (10.9)
AnalogDevicesAD1984A0x100400, layout 11, 13, 4413 (10.9)
AnalogDevicesAD1988Alayout 1213 (10.9)
AnalogDevicesAD1988Blayout 5, 7, 1213 (10.9)
AnalogDevicesAD2000Blayout 5, 713 (10.9)
CreativeCA01320x100918 layout 0, 1, 2, 3, 4, 5, 6, 9, 10, 11, 1213 (10.9)
CirrusLogicCS42100x100101 layout 1313 (10.9)
CirrusLogicCS42130x100100 layout 2813 (10.9)
ConexantCX8050layout 316 (10.12)
ConexantCX8070/CX11880layout 1513 (10.9)
ConexantCX8150layout 2113 (10.9)
ConexantCX8200layout 3, 15, 2116 (10.12)
ConexantCX8400layout 1213 (10.9)
ConexantCX205610x100000, layout 1113 (10.9)
ConexantCX20583layout 313 (10.9)
ConexantCX20585layout 3, 1313 (10.9)
ConexantCX20588layout 313 (10.9)
ConexantCX205900x100000, 0x100002, 0x100003, layout 3, 12, 13, 14, 2813 (10.9)
ConexantCX20641layout 11, 1313 (10.9)
ConexantCX20642layout 11, 1313 (10.9)
ConexantCX20722layout 316 (10.12)
ConexantCX20724layout 3, 1313 (10.9)
ConexantCX20751/CX20752layout 3, 21, 2813 (10.9)
ConexantCX20753/CX20754layout 3, 14, 15, 2116 (10.12)
ConexantCX20755layout 313 (10.9)
ConexantCX20756layout 3, 1313 (10.9)
ConexantCX20757layout 3, 2813 (10.9)
IDTIDT92HD66C3/65layout 313 (10.9)
IDTIDT92HD71B7Xlayout 313 (10.9)
IDTIDT92HD73C1X5layout 19, 2113 (10.9)
IDTIDT92HD75B2X5layout 313 (10.9)
IDTIDT92HD75B3X5layout 3, 1113 (10.9)
IDTIDT92HD99BXXlayout 313 (10.9)
IDTIDT92HD87B1layout 313 (10.9)
IDTIDT92HD81B1C5layout 3, 1113 (10.9)
IDTIDT92HD81B1X5layout 3, 11, 12, 20, 21, 2813 (10.9)
IDTIDT92HD87B1/3layout 12, 1313 (10.9)
IDTIDT92HD87B2/4layout 1213 (10.9)
IDTIDT92HD90BXXlayout 3, 1213 (10.9)
IDTIDT92HD91BXX0x100102, 0x100303 layout 3, 12, 13, 33, 8413 (10.9)
IDTIDT92HD93BXX0x100203, layout 1213 (10.9)
IDTIDT92HD95layout 1213 (10.9)
RealtekALC221layout 11, 1512 (10.8)
RealtekALC225/ALC3253layout 28, 30, 3313 (10.9)
RealtekALC230layout 13, 2013 (10.9)
RealtekALC233/ALC3236layout 3, 4, 5, 13, 21, 27, 28, 29, 32, 3313 (10.9)
RealtekALC235layout 3, 11, 12, 14, 15, 16, 21, 2813 (10.9)
RealtekALC2360x100001, 0x100002 layout 3, 11, 13, 15, 16, 54, 9913 (10.9)
RealtekALC255/ALC3234layout 3, 11, 13, 15, 17, 18, 21, 27, 28, 30, 31, 9913 (10.9)
RealtekALC256/ALC3246layout 5, 11, 13, 14, 21, 22, 28, 56, 5713 (10.9)
RealtekALC257layout 11, 1813 (10.9)
RealtekALC260layout 11, 1213 (10.9)
RealtekALC2620x100202 layout 7, 11, 12, 13, 2813 (10.9)
RealtekALC268layout 313 (10.9)
RealtekALC269/ALC271X0x100004, 0x100100, 0x100202, 0x100203 layout 1-11, 13-21, 27-33, 35, 40, 45, 55, 58, 66, 76, 88, 93, 99, 127, 18812 (10.8)
RealtekALC2700x100100, layout 3, 4, 21, 27, 2813 (10.9)
RealtekALC2720x100001, layout 3, 11, 1813 (10.9)
RealtekALC2740x100004, layout 2113 (10.9)
RealtekALC2750x100005, 0x100008, layout 3, 13, 2813 (10.9)
RealtekALC280layout 3, 4, 11, 13, 15, 16, 2113 (10.9)
RealtekALC2820x100003, layout 3, 4, 13, 22, 27, 28, 29, 41, 43, 51, 76, 86, 12712 (10.8)
RealtekALC283layout 1, 3, 11, 15, 44, 6613 (10.9)
RealtekALC284layout 313 (10.9)
RealtekALC285layout 11, 2113 (10.9)
RealtekALC2860x100002, 0x100003 layout 3, 1113 (10.9)
RealtekALC288layout 3, 13, 2313 (10.9)
RealtekALC289layout 2313 (10.9)
RealtekALC290/ALC3241layout 3, 4, 2813 (10.9)
RealtekALC292layout 12, 18, 2813 (10.9)
RealtekALC293layout 11, 28, 2913 (10.9)
RealtekALC294layout 11, 12, 13, 2113 (10.9)
RealtekALC295layout 1, 3, 13, 14, 15, 21, 28, 7713 (10.9)
RealtekALC2980x100101, 0x100103 layout 3, 11, 13, 21, 22, 28, 29, 30, 47, 66, 72, 9913 (10.9)
RealtekALC2990x100002 layout 21, 2213 (10.9)
RealtekALC6620x100101, 0x100300 layout 5, 7, 11, 12, 13, 15, 16, 1713 (10.9)
RealtekALC6630x100001, 0x100002, layout 3, 4, 15, 28, 9913 (10.9)
RealtekALC665layout 12, 1313 (10.9)
RealtekALC6680x100003, layout 3, 20, 27, 28, 2913 (10.9)
RealtekALC6700x100002, layout 1213 (10.9)
RealtekALC671layout 12, 1513 (10.9)
RealtekALC700layout 1113 (10.9)
RealtekALC8820x100101, layout 5, 713 (10.9)
RealtekALC8830x100002, layout 713 (10.9)
RealtekALC8850x100101, 0x100103 layout 1, 12, 1513 (10.9)
RealtekALC8870x100202, 0x100302, layout 1, 2, 3, 5, 7, 11, 13, 17, 18, 20, 33, 40, 50, 52, 53, 87, 9913 (10.9)
RealtekALC888/ALC12000x100101, 0x100001, 0x100202, 0x100302 layout 1, 2, 3, 4, 5, 7, 11, 27, 28, 2913 (10.9)
RealtekALC8890x100004, layout 1, 2, 3, 11, 1213 (10.9)
RealtekALC891/ALC8670x100002, layout 11, 1313 (10.9)
RealtekALC8920x100302, layout 1, 2, 3, 4, 5, 7, 12, 15, 16, 17, 18, 28, 31, 92, 97, 9913 (10.9)
RealtekALC898/ALC8990x100003, layout 1, 2, 3, 5, 7, 11, 13, 28, 65, 66, 98, 99, 10113 (10.9)
RealtekALC11500x100001, layout 1, 2, 3, 5, 7, 1112 (10.8)
RealtekALC12200x100003, layout 1, 2, 3, 5, 7, 11, 13, 15, 16, 27, 28, 29, 3415 (10.11)
RealtekALCS1200Alayout 1, 2, 312 (10.8)
RealtekALCS1220Alayout 1, 2, 3, 5, 7, 11, 20, 2115 (10.11)
SigmaTelSTAC92000x102201, layout 1112 (10.8)
VIAVT17050x100000, layout 2113 (10.9)
VIAVT18020x100000, layout 3, 33, 6513 (10.9)
VIAVT2020/VT20210x100100, layout 5, 7, 913 (10.9)
AMDRadeon 290/290X15 (10.11)
IntelHD460013 (10.9)
NvidiaGK20817 (10.13.4)
NvidiaGM20017 (10.13.4)
NvidiaGM20417 (10.13.4)
NvidiaGM20617 (10.13.4)
NvidiaGP10217 (10.13.4)
NvidiaGP10417 (10.13.4)
NvidiaGP10617 (10.13.4)
NvidiaGP10717 (10.13.4)
NvidiaGP10817 (10.13.4)

附表:已知的编解码器型号及厂商列表

声卡型号厂商
ADXXXXAnalog Devices
AGEREXXXXLSI
ALCXXXXRealtek
ATIXXXXATI
CAXXXXCreative
CMIXXXXCMedia
CMIXXXX2CMedia
CSXXXXCirrus Logic
CXXXXXConexant
CHXXXXChrontel
LGXXXXLG
WMXXXXWolfson Microelectronics
QEMUXXXXQEMU
IDTXXXXIDT
INTELXXXXIntel
MOTOXXXXMotorola
NVIDIAXXXXNVIDIA
SIIXXXXSilicon Image
STACXXXXSigmatel
VTXXXXVIA

本文来源:daliansky

# 更多黑苹果macOS技巧教程,请关注「macOS黑苹果专题