关于黑苹果耳机麦克风无法正常输入输出以及VoodooHDA启动慢 解决方法

很简单,参考了 这个人的做法

https://github.com/athlonreg/AppleALC-ALCPlugFix

去/System/Library/Extensions 里面把AppleHDA删除即可,同时在EFI的clover/kexts/里安装VoodooHDA即可,主要原因是苹果本身的声卡驱动AppleHDA和VoodooHDA万能声卡驱动的冲突问题。

If your headphone and microphone don't work normally in hackintosh, just install the universe audio driver named VoodooHDA.

and to solve the problem about the hackintosh longtime boot loading after installed VoodooHDA, Just to remove the AppleHDA.kexts in/System/Library/Extensions . because of the reason that these two have conflicts.

另外,由于我的主板有一个特点,就是电脑长期不用会进入休眠状态,必须重新按电源以唤醒,然而我的黑苹果在被唤醒以后,声音无法正常输出,因此考虑到是声音驱动的问题,尝试重新卸载驱动

sudo kextunload /System/Library/Extensions/VoodooHDA.kext

如果报错,多卸载几次就会成功,然而卸载之后装回去就需要用到命令

sudo kextload /System/Library/Extensions/VoodooHDA.kext

这步报错了,提示

/System/Library/Extensions/VoodooHDA.kext failed to load - (libkern/kext) authentication failure 
(file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).

 

意思是权限问题,于是我又加了权限

sudo chmod -R 777 /System/Library/Extensions/VoodooHDA.kext

但是依旧报错,依据报错内容,我试图查看system/kernel的log,但是找了一圈找不到内核日志在哪,于是就依据kextutil(8)的提示使用了如下命令

sudo kextutil /System/Library/Extensions/VoodooHDA.kext

提示如下信息 

Kext with invalid signatured (-67062) allowed:  { URL =
 "file:///Library/Extensions/VoodooHDA.kext/", ID = "org.voodoo.driver.VoodooHDA" }
Kext rejected due to improper filesystem permissions:  { URL = 
"file:///System/Library/Extensions/VoodooHDA.kext/", ID = "org.voodoo.driver.VoodooHDA" }
Code Signing Failure: not code signed
Authentication Failures: 
    File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other): 
        /System/Library/Extensions/VoodooHDA.kext
        Contents
        Info.plist
        MacOS
        VoodooHDA

Diagnostics for /System/Library/Extensions/VoodooHDA.kext:
Authentication Failures: 
    File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other): 
        /System/Library/Extensions/VoodooHDA.kext
        Contents
        Info.plist
        MacOS
        VoodooHDA

可见,权限设置必须为“must be root:wheel, nonwritable by group/other”,真是大开眼界,看来权限不是越大越好,这里会检测用户组的权限,如果有写权限就会报错。于是,我修改权限之后成功load恢复声音驱动。

sudo chmod -R 755 /System/Library/Extensions/VoodooHDA.kext

sudo chown -R root /System/Library/Extensions/VoodooHDA.kext

sudo chgrp -R wheel /System/Library/Extensions/VoodooHDA.kext

sudo kextload /System/Library/Extensions/VoodooHDA.kext

终于又有声音了!

你可能感兴趣的:(关于黑苹果耳机麦克风无法正常输入输出以及VoodooHDA启动慢 解决方法)