Contribute
Register

Patch AppleHDA kext on-the-fly with Clover bootloader

Status
Not open for further replies.
After removing DSDT.aml, installing new RAM, reapplying DSDT.aml and restarting, I find I have no audio again.

It appears as though appleHDAIDT.kext is not loaded, should it show as a loaded kext?

Ill try an EC reset before looking into it further, but welcome any suggestions to try in the mean time.

Thanks

(only other change I made to DSDT was enabling intelUSB3.0 which I never did before)

Check everything again and use the kext.
 

Attachments

  • AppleHDAIDT.kext.zip
    7.9 KB · Views: 208
Replacing the kext has worked.

I notice it is the same version as the previous, same size etc, so is anything different? Any idea what would cause it to fail like it did?

I change CFBundleIdentifier from com.apple.driver.AppleHDAHardwareConfigDriver to com.apple.driver.AppleHDA as piker's new suggestion. Not sure why it works for me but not for you....
 
strange...

Well, I appreciate the fix, Ill keep you posted if anything stops working suddenly.

Cheers

Merry christmas for tomorrow too!

Nice, make sure you updated to Clover 2304 and enjoy Merry Christmas!
 
I've been fighting with AppleHDA on 10.9.1 for weeks with no luck.

having tried the following 3 ways:
1. On-fly-patching as 1st post in this thread
2. On-fly-patching with xml->zml in Clover
3. A patched AppleHDA based on the one working on 10.9.0 (http://www.tonymacx86.com/hp-proboo...ns-probook-ivy-bridge-4540s-2.html#post693964)

With each above ways, I lost audio by chance after a reboot or shutdown.


How can that happen , especially when I use the 3rd way. which works OOB under 10.9.0 as 2nd way.


Note: For every way, I use the following to repair permission and rebuild cache.
1.Install kext using kextwizard
2.Repaire permission with Disk Utility
3.Reboot with Clover's "without cache" option
4.Reboot again
I've also tried to add step 2.5 like removing /S*/L*/Cache/com.apple.kext.caches/Startup/kernelcache followed by "kextcache -system-prelinked-kernel" and "kextcache -system-caches" or using kextwizard to rebuild cache.


 
I've been fighting with AppleHDA on 10.9.1 for weeks with no luck.

having tried the following 3 ways:
1. On-fly-patching as 1st post in this thread
2. On-fly-patching with xml->zml in Clover
3. A patched AppleHDA based on the one working on 10.9.0 (http://www.tonymacx86.com/hp-proboo...ns-probook-ivy-bridge-4540s-2.html#post693964)

With each above ways, I lost audio by chance after a reboot or shutdown.


How can that happen , especially when I use the 3rd way. which works OOB under 10.9.0 as 2nd way.


Note: For every way, I use the following to repair permission and rebuild cache.
1.Install kext using kextwizard
2.Repaire permission with Disk Utility
3.Reboot with Clover's "without cache" option
4.Reboot again
I've also tried to add step 2.5 like removing /S*/L*/Cache/com.apple.kext.caches/Startup/kernelcache followed by "kextcache -system-prelinked-kernel" and "kextcache -system-caches" or using kextwizard to rebuild cache.



You probably have an issue building a valid kernel cache. Use DPCIManager to rebuild cache (because it shows the log), or monitor system.log from Console.app while rebuilding. Correct any errors that result.
 
I confirm this works and it's the best method available now - ported for Dell XPS L322x
- I had issues with CodecID for HardwareConfig, fixed using Probe 2000
 
You probably have an issue building a valid kernel cache. Use DPCIManager to rebuild cache (because it shows the log), or monitor system.log from Console.app while rebuilding. Correct any errors that result.

Thanks.

I followed your suggestion and hadn't found any critical error when rebuilding cache

DPCIManager Output:
Code:
[FONT=Helvetica]1/3/14, 12:06:04 PM, com.apple.kextcache[285]: /: no supported helper partitions to update.[/FONT][FONT=Helvetica]1/3/14, 12:06:04 PM, com.apple.kextcache[285]: Lock acquired; proceeding.[/FONT]
[FONT=Helvetica]1/3/14, 12:06:04 PM, com.apple.kextcache[283]: /: no supported helper partitions to update.[/FONT]
[FONT=Helvetica]1/3/14, 12:06:04 PM, com.apple.kextcache[284]: Created prelinked kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.[/FONT]
[FONT=Helvetica]1/3/14, 12:04:46 PM, com.apple.kextcache[284]: kext com.Accusys.driver.Acxxx  300029000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:46 PM, com.apple.kextcache[284]: WARNING - Invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/System/Library/Extensions/AppleBacklight.kext"[/FONT]
[FONT=Helvetica]1/3/14, 12:04:45 PM, com.apple.kextcache[284]: WARNING - Invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext "/System/Library/Extensions/AppleHDA.kext"[/FONT]
[FONT=Helvetica]1/3/14, 12:04:45 PM, com.apple.kextcache[284]: WARNING - Invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext"[/FONT]
[FONT=Helvetica]1/3/14, 12:04:43 PM, com.apple.kextcache[284]: kext com.ATTO.driver.ATTOCelerityFC  304089000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:43 PM, com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressPCIUl4  404029000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:43 PM, com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressSASHBA  200009000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:43 PM, com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressSASHBA3  100059000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:43 PM, com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressSASRAID  307029000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:43 PM, com.apple.kextcache[284]: kext com.jmicron.driver.HSSDBlockStorage  105009000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:40 PM, com.apple.kextcache[284]: kext com.jmicron.driver.JMB38X  105009000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:04:40 PM, com.apple.kextcache[284]: kext com.jmicron.JMicronATA  101069000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14, 12:03:41 PM, com.apple.kextcache[285]: / locked; waiting for lock.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextd[12]: String/URL conversion failure.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextd[12]: Kext id org.hwsensors.driver.GPUSensors not found; removing personalities from kernel.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextd[12]: String/URL conversion failure.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextd[12]: Kext id org.rehabman.voodoo.driver.PS2Mouse not found; removing personalities from kernel.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextcache[283]: rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextd[12]: String/URL conversion failure.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:35 PM, com.apple.kextd[12]: Kext id org.hwsensors.driver.LPCSensors not found; removing personalities from kernel.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:34 PM, com.apple.kextd[12]: Cache file /System/Library/Caches/com.apple.kext.caches/Startup/IOKitPersonalities_x86_64.ioplist.gz is out of date; not using.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:32 PM, com.apple.kextd[12]: Cache file /System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:32 PM, com.apple.kextd[12]: Rescanning kernel extensions.[/FONT]
[FONT=Helvetica]1/3/14, 12:03:32 PM, com.apple.kextd[12]: Cache file /System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.[/FONT]


Console Output:
Code:
[FONT=Helvetica]1/3/14 12:03:32.974 PM com.apple.kextd[12]: Cache file /System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.[/FONT][FONT=Helvetica]1/3/14 12:03:32.974 PM com.apple.kextd[12]: Rescanning kernel extensions.[/FONT]
[FONT=Helvetica]1/3/14 12:03:32.974 PM com.apple.kextd[12]: Cache file /System/Library/Caches/com.apple.kext.caches/Directories/System/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.[/FONT]
[FONT=Helvetica]1/3/14 12:03:34.057 PM com.apple.kextd[12]: Cache file /System/Library/Caches/com.apple.kext.caches/Startup/IOKitPersonalities_x86_64.ioplist.gz is out of date; not using.[/FONT]
[FONT=Helvetica]1/3/14 12:03:34.000 PM kernel[0]: Resetting IOCatalogue.[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.091 PM com.apple.kextd[12]: Kext id org.hwsensors.driver.LPCSensors not found; removing personalities from kernel.[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.091 PM com.apple.kextd[12]: String/URL conversion failure.[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.092 PM com.apple.kextcache[283]: rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.093 PM com.apple.kextd[12]: Kext id org.rehabman.voodoo.driver.PS2Mouse not found; removing personalities from kernel.[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.093 PM com.apple.kextd[12]: String/URL conversion failure.[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.094 PM com.apple.kextd[12]: Kext id org.hwsensors.driver.GPUSensors not found; removing personalities from kernel.[/FONT]
[FONT=Helvetica]1/3/14 12:03:35.094 PM com.apple.kextd[12]: String/URL conversion failure.[/FONT]
[FONT=Helvetica]1/3/14 12:03:36.859 PM ocspd[142]: xpc __securityd_create_connection_block_invoke got event: Connection invalid[/FONT]
[FONT=Helvetica]1/3/14 12:03:36.861 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:03:40.999 PM com.apple.kextcache[285]: / locked; waiting for lock.[/FONT]
[FONT=Helvetica]1/3/14 12:03:43.349 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:03:50.447 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:03:58.275 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:05.238 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:11.879 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:19.160 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:26.612 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:33.640 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:40.710 PM com.apple.kextcache[284]: kext com.jmicron.JMicronATA  101069000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:40.764 PM com.apple.kextcache[284]: kext com.jmicron.driver.JMB38X  105009000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:43.253 PM com.apple.kextcache[284]: kext com.jmicron.driver.HSSDBlockStorage  105009000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:43.541 PM com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressSASRAID  307029000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:43.567 PM com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressSASHBA3  100059000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:43.585 PM com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressSASHBA  200009000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:43.606 PM com.apple.kextcache[284]: kext com.ATTO.driver.ATTOExpressPCIUl4  404029000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:43.638 PM com.apple.kextcache[284]: kext com.ATTO.driver.ATTOCelerityFC  304089000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:45.831 PM com.apple.kextcache[284]: WARNING - Invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext"[/FONT]
[FONT=Helvetica]1/3/14 12:04:45.945 PM com.apple.kextcache[284]: WARNING - Invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext "/System/Library/Extensions/AppleHDA.kext"[/FONT]
[FONT=Helvetica]1/3/14 12:04:46.181 PM com.apple.kextcache[284]: WARNING - Invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext "/System/Library/Extensions/AppleBacklight.kext"[/FONT]
[FONT=Helvetica]1/3/14 12:04:46.365 PM com.apple.kextcache[284]: kext com.Accusys.driver.Acxxx  300029000 is in exception list, allowing to load[/FONT]
[FONT=Helvetica]1/3/14 12:04:46.865 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:04:53.580 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:00.987 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:08.372 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:15.153 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:22.322 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:29.356 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:36.544 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:05:43.951 PM ocspd[142]:  SecOSStatusWith error:[-25291] The operation couldn’t be completed. (com.apple.security.xpc error 3 - <connection: 0x7fa4c3638920> { name = com.apple.securityd.xpc, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 }: Connection invalid)[/FONT]
[FONT=Helvetica]1/3/14 12:06:04.770 PM com.apple.kextcache[284]: Created prelinked kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.[/FONT]
[FONT=Helvetica]1/3/14 12:06:04.785 PM com.apple.kextcache[283]: /: no supported helper partitions to update.[/FONT]
[FONT=Helvetica]1/3/14 12:06:04.786 PM com.apple.kextcache[285]: Lock acquired; proceeding.[/FONT]
[FONT=Helvetica]1/3/14 12:06:04.788 PM com.apple.kextcache[285]: /: no supported helper partitions to update.[/FONT]

BTW, even if I got audio works, I find "kernel[0]: Sound assertion in AppleHDAEngine at line 581" in console log. and when lost audio by chance, the above error change to "kernel[0]: Sound assertion in AppleHDAController at line 486".
I also had tried the patched AppleHDA v2.5.2 which works great in 10.9.0, also the same problem!
 
Status
Not open for further replies.
Back
Top