Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

5,081 posts in this topic

Recommended Posts

18 minutes ago, matgeo said:

Thank you my friend.

 

May I ask something that troubles me for a long time ? My laptop (Dell 5570) has an alc 256 codec. But only layout-id 11 works ok with headphones. If I use 11 or 56 (which should work according to guide) then the headphone audio is a mess (just noise) and cpu spikes at max freq. 

 

Your questions is third question about same issue in this week.
1. Install CodecCommander.kext to Library/Extensions NOT System/Library/Extensions
2. Use SSDT-ALC256.aml,, (i already upload it before in this thread, check prvious page)

Then reboot, rebuild kext / kernel cache (use kext utility.ap) and reboot

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
Advertisement

I have installed codeccommander at l/e with right permisssions.

I use ssdt-alc256.aml.

 

Problem is that only layout 11 works. Not 13 or 56. Not a big deal , just wondering if there is something wrong with my configuration.

Sending dump files for you to take a look (clover is without ssdt-alc256.aml , which i removed to see if that was the problem.)

debug_9132.zip

Share this post


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

I have installed codeccommander at l/e with right permisssions.

I use ssdt-alc256.aml.

 

Problem is that only layout 11 works. Not 13 or 56. Not a big deal , just wondering if there is something wrong with my configuration.

Sending dump files for you to take a look (clover is without ssdt-alc256.aml , which i removed to see if that was the problem.)

debug_9132.zip



Then use layout11,, why should use 13 or 56 instead 11??? Any advance with another layout??

Share this post


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

 

It will need fast response reply and a lot of works to test one by one Node ID and modify platform. I will help only for fast response.

 

Sure, Appreciate your help.
I am Ready now if you are !

Share this post


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



Then use layout11,, why should use 13 or 56 instead 11??? Any advance with another layout??

As I said it is not a big problem.

But if there is something wrong with my configuration I would like to know.

Share this post


Link to post
Share on other sites

Najeeb’s MacBook Pro.zip

 

I did that before when trying to get AppleALC to work. I have done that again.

 

I have also removed the 2 AppleHDA patches from Clover config.plist and removed HDAIDT.kext from EFI/CLOVER/kexts/Other.

Lilu.kext (1.2.8) and AppleALC.kext (1.3.3) are in EFI/CLOVER/kexts/Other.

Layout ID is set to 19 in config.plist.

 

After rebooting with these changes, attached is the resulting IOReg.

Najeeb’s MacBook Pro.zip

Codec-Info.plist

Codec-Info.txt

Edited by najeeb_anwer
Added additional info and attached IOReg & Added output of Codec-Info.command

Share this post


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

Najeeb’s MacBook Pro.zip

 

I did that before when trying to get AppleALC to work. I have done that again.

 

I have also removed the 2 AppleHDA patches from Clover config.plist and removed HDAIDT.kext from EFI/CLOVER/kexts/Other.

Lilu.kext (1.2.8) and AppleALC.kext (1.3.3) are in EFI/CLOVER/kexts/Other.

Layout ID is set to 19 in config.plist.

 

After rebooting with these changes, attached is the resulting IOReg.

Najeeb’s MacBook Pro.zip

Codec-Info.plist

Codec-Info.txt

 
You must use LayoutID = 19 according of Github Resource for IDT IDT92HD73C1X5 https://github.com/acidanthera/AppleALC/tree/master/Resources/IDT92HD73C1X5

After use LayoutID = 19, upload again your IOREG. Don't forget to use latest Lilu.kext and AppleALC.kext

6 hours ago, matgeo said:

As I said it is not a big problem.

But if there is something wrong with my configuration I would like to know.


If your audio is working with layoutID = 11, then it mean there is no wrong with your Audio Configuration.

Edited by Andres ZeroCross

Share this post


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

 
You must use LayoutID = 19 according of Github Resource for IDT IDT92HD73C1X5 https://github.com/acidanthera/AppleALC/tree/master/Resources/IDT92HD73C1X5

After use LayoutID = 19, upload again your IOREG. Don't forget to use latest Lilu.kext and AppleALC.kext 

 

Yes, I understand; I did set the layoutID = 19 in config.plist (Device/Audio/Inject). The resulting IOREG was the one I attached.

Share this post


Link to post
Share on other sites
3 hours ago, najeeb_anwer said:

Najeeb’s MacBook Pro.zip

 

I did that before when trying to get AppleALC to work. I have done that again.

 

I have also removed the 2 AppleHDA patches from Clover config.plist and removed HDAIDT.kext from EFI/CLOVER/kexts/Other.

Lilu.kext (1.2.8) and AppleALC.kext (1.3.3) are in EFI/CLOVER/kexts/Other.

Layout ID is set to 19 in config.plist.

 

After rebooting with these changes, attached is the resulting IOReg.

Najeeb’s MacBook Pro.zip

Codec-Info.plist

Codec-Info.txt


Your ioreg show alc-layout-id = 12,, what do you mean by 19???

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
5 minutes ago, yehia2amer said:

@Andres ZeroCross do you have time now ?


what do you mean by "Speaker (Analog) , Microphone (Pink Font) , Microphone/Line In (Blue Rear) Not Working".

What's your detail motherboard model??? 

Edited by Andres ZeroCross

Share this post


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


Your ioreg show alc-layout-id = 12,, what do you mean by 19???

I mean I set layout-id = 19 in config.plist; I have also tried setting alcid=19 as a boot argument.

In both cases, alc-layout-id does not show up in IOREG/HDEF.

The layout-id = 12 in IOREG/HDEF is NOT being set by me.

Share this post


Link to post
Share on other sites
9 minutes ago, najeeb_anwer said:

I mean I set layout-id = 19 in config.plist; I have also tried setting alcid=19 as a boot argument.

In both cases, alc-layout-id does not show up in IOREG/HDEF.

The layout-id = 12 in IOREG/HDEF is NOT being set by me.

Upload your CLOVER folder here

Share this post


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


what do you mean by "Speaker (Analog) , Microphone (Pink Font) , Microphone/Line In (Blue Rear) Not Working".

What's your detail motherboard model??? 


This is a Dell Precision T7610 Workstation and it do have built in Speaker which is not working and also it do have 2 mic ports, one in front and one in the back of the machine and both of them are not working
using layout ID 13

you can find all the motherboard details in the owner's manual here: https://downloads.dell.com/manuals/all-products/esuprt_desktop/esuprt_dell_precision_workstation/precision-t7610-workstation_owner's manual_en-us.pdf

Edited by yehia2amer

Share this post


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


This is a Dell Precision T7610 Workstation and it do have built in Speaker which is not working and also it do have 2 mic ports, one in front and one in the back of the machine and both of them are not working
using layout ID 13

you can find all the motherboard details in the owner's manual here: https://downloads.dell.com/manuals/all-products/esuprt_desktop/esuprt_dell_precision_workstation/precision-t7610-workstation_owner's manual_en-us.pdf



Use this,, use layoutID = 21.

After that reboot and upload your IOREG. Please fast response

AppleALC.kext.zip

24 minutes ago, najeeb_anwer said:

Attached CLOVER folder; I deleted the "Themes" folder to reduce size.

CLOVER.zip

 

Use this,, and reboot. Check your Audio,, if problem is still persist. Just upload IOREG output

CLOVER.zip

Share this post


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


Check detail for what's working or not of your audio port in/out

 

Working: 

Headphones (Green Front)

Microphone/Line In (Blue Rear)

 

Not Working:

Speaker (Analog)

Line-Out (Green Rear)

Microphone (Pink Front)

 

Share this post


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

 

Working: 

Headphones (Green Front)

Microphone/Line In (Blue Rear)

 

Not Working:

Speaker (Analog)

Line-Out (Green Rear)

Microphone (Pink Front)

 


Don't test Analog Speaker interface,, never heard someone try to use it. So no reference at all.

Use this new applealc.kext, layoutID = 21. And post the result for each port audio except Analog ones

AppleALC.kext.zip

Share this post


Link to post
Share on other sites
7 minutes ago, najeeb_anwer said:

 

Audio still not working. Attached is the new IOREG output.

Still no alc-layout-id in IOREG/HDEF but layout-id is now 19.

Najeeb’s MacBook Pro layout-id 19.zip


My bad,, sorry.

Remove your old DSDT.aml at ACPI/Patched and replace with this

DSDT.aml

Share this post


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


Don't test Analog Speaker interface,, never heard someone try to use it. So no reference at all.

Use this new applealc.kext, layoutID = 21. And post the result for each port audio except Analog ones

AppleALC.kext.zip

 

Still the Same: 

 

Working: 

Headphones (Green Front)

Microphone/Line In (Blue Rear)

 

Not Working:

Line-Out (Green Rear). ----> Strange it is not working as it used to work on Layout ID 13

Microphone (Pink Front)

btw: Regarding the Speaker, I am not sure it is analog or not. maybe I am wrong !

ALC3220 LayoutID 21 test 2.ioreg.zip

Share this post


Link to post
Share on other sites
6 minutes ago, yehia2amer said:

 

Still the Same: 

 

Working: 

Headphones (Green Front)

Microphone/Line In (Blue Rear)

 

Not Working:

Line-Out (Green Rear). ----> Strange it is not working as it used to work on Layout ID 13

Microphone (Pink Front)

btw: Regarding the Speaker, I am not sure it is analog or not. maybe I am wrong !

ALC3220 LayoutID 21 test 2.ioreg.zip


Don't think patch AppleHDA is easy, i need to try for each NODE ID of the OUPUT.
Below is your diagram of Codec Audio,, I try 0x17 and 0x18 before.
image.thumb.png.9b216e4cf53a67f1b13c3b7a54924eba.png

Now, i try to use Node 0x1B as your Green Jack rear as Output Speaker

Try to use this...

AppleALC.kext.zip

Share this post


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


My bad,, sorry.

Remove your old DSDT.aml at ACPI/Patched and replace with this

DSDT.aml

 

That works! Thanks. I have some questions:

 

1) What changes were made in the CLOVER folder. I know that you updated the DSDT.aml and changed the config.plist to remove Devices/Audio/Inject. Anything else?

 

2) If I understand correctly, you are injecting alc-layout-id in HDEF using DSDT.aml. Any reason why this was not working with the CLOVER injection or by using alcid=19 as a boot argument?

 

3) Is there a way to get the HDMI audio working? The HDMI audio does not show up as an output device.

 

Thanks for your help.

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   0 members

    No registered users viewing this page.

Announcements

×