Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,360 posts in this topic

Recommended Posts

6 minutes ago, Ravenstein said:

 

 

Now I have dump the codecs using linux( thanks Andreas!)

It has 2 codec (#0 & #2) for onboard ALC285 & HDMI, I think.

please find the data in attachment. Also I attached my problem description again..

thanks in advance.

 

CODEC_DUMP.zip

 

Try to using this,, keep using Layout=11. Let me know for the result

AppleALC.kext.zip

Share this post


Link to post
Share on other sites
Advertisement
57 minutes ago, attend said:

Thank you so much! but still won't work. please see the IOREG attached. And I've also attached an IOREG file using voodoo, and I hope it could help? 

 

With voodoo, the sound card is ok, however HDMI sound won't work. please see attached screenshots.

1124644098_ScreenshotVoodoo.png.cc63e27931084e2e977fbac97112a599.png1008666683_ScreenshotAppleALC.png.5d12b918834a1d23544d6b973050ae6b.png

 

 

HP-iMac-voodoo.zip

 

HP-iMac-v2.zip

 

 

 

Don't forget to open DPCIManager.app and take a screenshot at Status TAB. I need to verify your AUDIO and IRQ Problem from there

Share this post


Link to post
Share on other sites
41 minutes ago, Andres ZeroCross said:

Did you use Vanillah AppleHDA.kext??

Open terminal,, and type "sudo kextcache -i/"

Then save the log and upload here

oh, I see. I have read somewhere said the Vanilla AppleHDA.kext is required, but I didn't see the same requirement in the AppleALC GitHub website. So I think it might be not required anymore.

Do I need to delete the original AppleHDA.kext in the /S/L/E folder and replace it with the the Vanilla AppleHDA.kext? 

Share this post


Link to post
Share on other sites
1 minute ago, attend said:

oh, I see. I have read somewhere said the Vanilla AppleHDA.kext is required, but I didn't see the same requirement in the AppleALC GitHub website. So I think it might be not required anymore.

Do I need to delete the original AppleHDA.kext in the /S/L/E folder and replace it with the the Vanilla AppleHDA.kext? 


Original AppleHDA = Vanilla AppleHDA, it's my understanding>

Just open terminal and type "sudo kextcache -i /" then paste the output. And open DPCIManager.app and take the screenshot. I am waiting

Share this post


Link to post
Share on other sites
1 hour ago, Andres ZeroCross said:

Did you use Vanillah AppleHDA.kext??

Open terminal,, and type "sudo kextcache -i/"

Then save the log and upload here

Sorry kept you waiting. Please see the kextcache and kextstat log attached. As I put the AppleALC.kext in Clover "Other" folder, it is not shown in kextcache.

 

Thank you very much.

 

kextcache.zip

kextstat.zip

Share this post


Link to post
Share on other sites
19 minutes ago, attend said:
Sorry kept you waiting. Please see the kextcache and kextstat log attached. As I put the AppleALC.kext in Clover "Other" folder, it is not shown in kextcache.
 
Thank you very much.
 
kextcache.zip
kextstat.zip

You forgot to open DPCIManager.app. open take the screenshot

Sent from my Mi Note 2 using Tapatalk
 

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
20 minutes ago, Andres ZeroCross said:

You forgot to open DPCIManager.app. open take the screenshot

Sent from my Mi Note 2 using Tapatalk

You forgot to open DPCIManager.app. open take the screenshot

Sent from my Mi Note 2 using Tapatalk
 

Please see the scree1417323605_Screenshot2018-12-27at11_35_25.png.29777e97eacbc3809e256635dd425f7c.pngnshot.

 

 

Share this post


Link to post
Share on other sites
1 minute ago, attend said:

Please see the scree1417323605_Screenshot2018-12-27at11_35_25.png.29777e97eacbc3809e256635dd425f7c.pngnshot.

 

 

Codec ID is shown, that's mean you have correctly IRQFlag Patch. I need to check more detail. Please wait

 

5 minutes ago, attend said:

Please see the scree1417323605_Screenshot2018-12-27at11_35_25.png.29777e97eacbc3809e256635dd425f7c.pngnshot.

 

 

 

Try to use this... still with LayoutID=21

AppleALC.kext.zip

Share this post


Link to post
Share on other sites
25 minutes ago, Andres ZeroCross said:

Can you ZIP your CLOVER folder and upload here?

 

yes, please see the attached file.CLOVER.zip

 

as i'm not allowed to upload file greater than 10M, I've deleted one or two folder which is think might not be important. 

Share this post


Link to post
Share on other sites
10 minutes ago, attend said:

yes, please see the attached file.CLOVER.zip

 

as i'm not allowed to upload file greater than 10M, I've deleted one or two folder which is think might not be important. 

Move all additional kext from S/L/E to EFI/CLOVER/Kexts/Other. I only see fakeSMC and AppleALC.kext in CLOVER. It's wrong. AppleALC.kext and Lilu.kext must be at same directory. You got it???

Share this post


Link to post
Share on other sites
1 hour ago, Andres ZeroCross said:

Move all additional kext from S/L/E to EFI/CLOVER/Kexts/Other. I only see fakeSMC and AppleALC.kext in CLOVER. It's wrong. AppleALC.kext and Lilu.kext must be at same directory. You got it???

Alright, , I have moved all 3rd-party kext files to EFI/CLOVER/kexts/Other. Deleted all kexts in /Library/Extensions. re-run sudo kextcache -i /

1013962950_Screenshot2018-12-27at14_18_33.png.380a65d74e841a1eab15cd0b090ac5cc.png

 

There is still no sound from the sound card. 

 

956421499_Screenshot2018-12-27at14_17_32.png.883dfc72bcdb0ced48774a79548d2ecb.png

 

And there is no Layout Id can be selected from FB-Patcher as well. 

1204658494_Screenshot2018-12-27at14_20_29.png.08b5f8d27f206d07c9ce62d79321af6b.png

 

 

Share this post


Link to post
Share on other sites
19 minutes ago, attend said:

Alright, , I have moved all 3rd-party kext files to EFI/CLOVER/kexts/Other. Deleted all kexts in /Library/Extensions. re-run sudo kextcache -i /

1013962950_Screenshot2018-12-27at14_18_33.png.380a65d74e841a1eab15cd0b090ac5cc.png

 

There is still no sound from the sound card. 

 

956421499_Screenshot2018-12-27at14_17_32.png.883dfc72bcdb0ced48774a79548d2ecb.png

 

And there is no Layout Id can be selected from FB-Patcher as well. 

1204658494_Screenshot2018-12-27at14_20_29.png.08b5f8d27f206d07c9ce62d79321af6b.png

 

 

 

Use this config.plist. Remove the old ones

 

config.plist

Share this post


Link to post
Share on other sites

Hi to everyone.

I have a Soundblaster Z (CA0132).
I have tried AppleALC and all ids without success.
Do you have any suggestions?
 

Motherboard: Z77 Pro4-M

Codec: CA0132 (Soundblaster Z)

3=? It works all execpt audio

Olarila 10.14.2

Codec-Info.command 10.zip on post #327 gives me  404 - File not found

 

I attach a screenshot where there is a comparison between audiocodecs.txt(runme.app) and DPCImanager(PCI List+Status)

Ps: ALC892 works fine with 1 ID (Now It's disabled).

Schermata 2018-12-23 alle 20.37.10.png

Schermata 2018-12-27 alle 16.46.35.png

Edited by keplero

Share this post


Link to post
Share on other sites
8 hours ago, Andres ZeroCross said:

 

Try to using this,, keep using Layout=11. Let me know for the result

AppleALC.kext.zip

Many thanks Andreas! It works now with the Fn-mute key to menu mute/symbol.

Would you mind telling me what was the tricky change? 

May I ask a perfectionist question, would that be possible to use internal speaker for sound effect and external(e.g. HDMI or USB3 docking station audio) as sound output? 

anyway, thanks and wish U a wonderful a Christmas time...

Share this post


Link to post
Share on other sites
12 minutes ago, Ravenstein said:

Many thanks Andreas! It works now with the Fn-mute key to menu mute/symbol.

Would you mind telling me what was the tricky change? 

May I ask a perfectionist question, would that be possible to use internal speaker for sound effect and external(e.g. HDMI or USB3 docking station audio) as sound output? 

anyway, thanks and wish U a wonderful a Christmas time...

 

 

In my system i can make sound effect from USB Audio Device or Internal Speaker,, and audio output from HDMI Monitor. And it work,,
 image.png.001184b812a9c239140c22cd84c979ed.png

Share this post


Link to post
Share on other sites
48 minutes ago, Ravenstein said:

Many thanks Andreas! It works now with the Fn-mute key to menu mute/symbol.

Would you mind telling me what was the tricky change? 

May I ask a perfectionist question, would that be possible to use internal speaker for sound effect and external(e.g. HDMI or USB3 docking station audio) as sound output? 

anyway, thanks and wish U a wonderful a Christmas time...

 

Can you use this kext,,, use layoutID = 21.

Then please check your Internal Speaker, Jack Headphon, Internal Mic, and External Mic from Headphone. Let me know

AppleALC.kext.zip

Share this post


Link to post
Share on other sites
4 hours ago, keplero said:

Hi to everyone.

I have a Soundblaster Z (CA0132).
I have tried AppleALC and all ids without success.
Do you have any suggestions?
 

Motherboard: Z77 Pro4-M

Codec: CA0132 (Soundblaster Z)

3=? It works all execpt audio

Olarila 10.14.2

Codec-Info.command 10.zip on post #327 gives me  404 - File not found

 

I attach a screenshot where there is a comparison between audiocodecs.txt(runme.app) and DPCImanager(PCI List+Status)

Ps: ALC892 works fine with 1 ID (Now It's disabled).

Schermata 2018-12-23 alle 20.37.10.png

Schermata 2018-12-27 alle 16.46.35.png



1. Open terminal then type "sudo kextcache -i /" after finish save the output.
2. Save the IORegistryExplorer.app output
3. ZIP your clover folder (you can remove theme folder)

ZIP all files, and upload here.

Share this post


Link to post
Share on other sites
6 hours ago, Andres ZeroCross said:

 

Use this config.plist. Remove the old ones

 

config.plist

I've tried this config.plist, but still no sound...

 

my pc details as below, hopefully there is some clue?

 

CPU: Intel Core I7-8700 @3.2GHz
Motherboard: HP 83F0
BIOS: HP Q03 Ver.02.04.00
Memory: 8GB
GPU: Intel UHD Graphics 630

Share this post


Link to post
Share on other sites
6 hours ago, Andres ZeroCross said:



1. Open terminal then type "sudo kextcache -i /" after finish save the output.
2. Save the IORegistryExplorer.app output
3. ZIP your clover folder (you can remove theme folder)

ZIP all files, and upload here.

All you need in attached.

report keplero.zip

Share this post


Link to post
Share on other sites
4 hours ago, keplero said:

All you need in attached.

report keplero.zip

 

I don't see HDEF device in your IOREG, or device with same address. It's probably because you disable High Definition Audio from bios.
And property for HDEF need to be modified,, i modified it for you. Do this to make your audio work
1. Remove your OLD DSDT and replace with mines. 
2. Must Install Codec_Commander.kext to Library/Extensions, never put Codec Commander.kext to CLOVER/Kexts/Other or System/Library/Extensions

3. Enter your BIOS Setting, and look for HDA (High Definition Audio Options) and enable it. It MUST be there,. because your IOREG show "There is no HDEF device"

 

Sorry for bad english

 

image.png.9cec350f12a00ca12e1d4dcec53cc1c8.png

DSDT.aml

Share this post


Link to post
Share on other sites
2 hours ago, Andres ZeroCross said:

 

I don't see HDEF device in your IOREG, or device with same address. It's probably because you disable High Definition Audio from bios.
And property for HDEF need to be modified,, i modified it for you. Do this to make your audio work
1. Remove your OLD DSDT and replace with mines. 
2. Must Install Codec_Commander.kext to Library/Extensions, never put Codec Commander.kext to CLOVER/Kexts/Other or System/Library/Extensions

3. Enter your BIOS Setting, and look for HDA (High Definition Audio Options) and enable it. It MUST be there,. because your IOREG show "There is no HDEF device"

 

Sorry for bad english

 

image.png.9cec350f12a00ca12e1d4dcec53cc1c8.png

DSDT.aml

Thanks for reply.

Anyway, I disabled high definition audio on purpose: ALC892 works well on MacOs but I want only ca0132(Soundblaster Z) cause It's much better.

Do I have to enable in any case HDA in bios and hdas to hdef on acpi/dsdt/list of patches(clover configurator)?

PS: What's EH02@1A?

Edited by keplero

Share this post


Link to post
Share on other sites
13 hours ago, Andres ZeroCross said:

 

Can you use this kext,,, use layoutID = 21.

Then please check your Internal Speaker, Jack Headphon, Internal Mic, and External Mic from Headphone. Let me know

AppleALC.kext.zip

 

Thanks Andres! the sound card still works and Fn/mute also triggers mute. But differ audio to separate device still not.

More interesting is, it seems only matters the volume +/- effect sound. i.e.  setting "effect sound" to internal speaker works within the panel switching different sounds and also e.g. emptying trash can, but if use  Fn=>volume+/-, the effect sound goes to external speaker!

 

really strange.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

×