具体方法如下:
1) 打开终端,输入:
sudo -s 回车后会要求输入密码,输入密码后回车
2) 删除AppleHDA.kext:
在终端中输入:
rm -rf /System/Library/Extensions/AppleHDA.kext
rm -rf /System/Library/Extensions.mkext
rm -rf /System/Library/Extensions.kextcache
3) 编辑AppleAzaliaAudio.kext:
在终端中输入:
pico /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/info.plist
查找 (快捷键= ctrl + w):
<key>IOHDAudioCodecVendorID</key>
将其下方值修改为:
<string>0x10ec0880</string> //这一步我系统安装后就已经是880,没有修改。
保存退出pico
pico /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext/Contents/Info.plist
查找(快捷键= ctrl + w):
<key>IOPCIPrimaryMatch</key>
将其下方的值改为:
<string>0x27d88086</string> //这里缺省是0x266,而不是27d,
保存退出pico
4) 清理磁盘并修理磁盘权限:
退出编辑器后自动回到终端,依次键入以下命令
cd /System/Library/Extensions/AppleAC97Audio.kext/Contents/PlugIns/AppleAC97AudioIntelICH.kext/Contents
chown -R root:wheel /System/Library/Extensions
chmod -R 755 /System/Library/Extensions/AppleAC97Audio.kext
cd /System/Library/Extensions/AppleAC97Audio.kext/Contents/PlugIns/
kextload /System/Library/Extensions/AppleAC97Audio.kext/Contents/PlugIns/AppleAC97AudioIntelICH.kext (加载)
加载后,查看你的系统预置,如果你可以调整音量的话,你就将会有声音了。