Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,357 posts in this topic

Recommended Posts

Advertisement
2 minutes ago, najeeb_anwer said:

I uploaded DSDT.aml before,, try using it

 

This is IOREG Output of MacbookPro5,5,, there is no HDMI Audio Code attach to HDEF,, so if my prediction is right, it because AppleALC try to attach HDMI Controller to your HDEF, because your HDEF device id is nvidia. Just try DSDT.aml uploaded above, and check your HDEF in IOREG
image.thumb.png.92c27769f48263ec54c79b0e57e2a780.png

Share this post


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

I uploaded DSDT.aml before,, try using it

 

This is IOREG Output of MacbookPro5,5,, there is no HDMI Audio Code attach to HDEF,, so if my prediction is right, it because AppleALC try to attach HDMI Controller to your HDEF, because your HDEF device id is nvidia. Just try DSDT.aml uploaded above, and check your HDEF in IOREG
 

you must check you devID is supported or not ? 

 

 

Share this post


Link to post
Share on other sites
you must check you devID is supported or not ? 
 
 
He said it worked before with applealc and lilu.kext, after reboot it doesn't work again. So, his device id is supported by applehda

Sent from my Mi Note 2 using Tapatalk

Share this post


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

you must check you devID is supported or not ? 

 

 

 

 

And MacbookPro5,5 use same device-id of HDEF,,

image.thumb.png.4f7ea7d99d1daefc19ab56e540d83da0.png

Edited by Andres ZeroCross

Share this post


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

I uploaded DSDT.aml before,, try using it

 

This is IOREG Output of MacbookPro5,5,, there is no HDMI Audio Code attach to HDEF,, so if my prediction is right, it because AppleALC try to attach HDMI Controller to your HDEF, because your HDEF device id is nvidia. Just try DSDT.aml uploaded above, and check your HDEF in IOREG
image.thumb.png.92c27769f48263ec54c79b0e57e2a780.png

 

I have not used the most recent DSDT.aml you provided yet.

 

However, when I booted the system today, I did have audio. See the screenshot below. I have also attached the IOREG when the system is in this working condition; Unfortunately, I know that the audio will not be working if I reboot.

 

Note that there is a HDMI_DPDriver in HDEF, but no NULL Codec shown in DPCIManager.

 

image.thumb.png.214ce2a3172a9dafa712421ba6162354.png

image.thumb.png.92a7a322cd44e0b27a736b188633f176.png

Najeeb’s MacBook Pro.zip

Edited by najeeb_anwer

Share this post


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

Try to using this DSDT.aml

 

I tried this latest version of DSDT.aml that you posted. Same problem; no audio.

I think the problem is IOHDACodecDevice@8,1 which contains nothing and is causing the NULL Codec listed in DPCIManager.

 

image.png.610d4136bc10380a3bbfa78f9d86ed25.png

 

When audio is working (occasionally), the only devices listed are IOHDACodecDevice@8,0 and IOHDACodecDevice@8,3.

I don't know why IOHDACodecDevice@8,1 shows up, but it appears certain that it is causing the problem.

Attached is the IOReg for this non-working condition.

 

 

Najeeb’s MacBook Pro.zip

Share this post


Link to post
Share on other sites
 
I tried this latest version of DSDT.aml that you posted. Same problem; no audio.
I think the problem is IOHDACodecDevice@8,1 which contains nothing and is causing the NULL Codec listed in DPCIManager.
 
image.png.610d4136bc10380a3bbfa78f9d86ed25.png
 
When audio is working (occasionally), the only devices listed are IOHDACodecDevice@8,0 and IOHDACodecDevice@8,3.
I don't know why IOHDACodecDevice@8,1 shows up, but it appears certain that it is causing the problem.
Attached is the IOReg for this non-working condition.
 
 
Najeeb’s MacBook Pro.zip
Can you send the IOREG OUTPUT with working audio??

Sent from my Mi Note 2 using Tapatalk

Share this post


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

Can you send the IOREG OUTPUT with working audio??

Sent from my Mi Note 2 using Tapatalk
 

 

I did; see my post from 3 hours ago.

 

3 hours ago, najeeb_anwer said:

However, when I booted the system today, I did have audio. See the screenshot below. I have also attached the IOREG when the system is in this working condition; Unfortunately, I know that the audio will not be working if I reboot.

 

Share this post


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

 

I did; see my post from 3 hours ago.

 

 

 

Try to Shutdown then boot (Cold Boot) instead warm boot (restart),, check your audio again

Share this post


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

 

Try to Shutdown then boot (Cold Boot) instead warm boot (restart),, check your audio again

 

I have tried that. No luck.

 

In fact, the only two times it has worked has been on a reboot (warm boot) from Windows 10.

Share this post


Link to post
Share on other sites
On 11/28/2018 at 8:27 PM, najeeb_anwer said:

Hi all,

I have macOS High Sierra 10.13.6 (17G3025) running on a Dell Studio XPS M1340 laptop.

The specs are:

Processor: 2.67 GHz Intel Core 2 Duo
Memory: 8 GB 1333 MHz DDR3
Graphics: NVidia GeForce 9400M G 256 MB
Motherboard Chipset: Nvidia MCP79
SMBIOS Product Name: MacBookPro7,1

 

Everthing works correctly except that:

1) I am using a modified AppleHDA.kext (for layout-id 12) with patches in config.plist and an audio kext called HDAIDT.kext, all of which are attached to this post.

2) I want to use Lilu.kext & AppleALC.kext and the codec (IDT 92HD73C1) appears to be supported with layout-id 19, but I cannot get it to work. I have tried injecting the layout id in Clover and also using Devices/Properties and by using alcid=19 at boot. None of these appear to work.

3) HDMI audio does not work. The HDMI audio device stops showing up in IOREG/HDEF if I use the HDAIDT.kext.

 

Can someone please help me to get AppleALC.kext working instead of modifying resources in AppleHDA.kext and using HDAIDT.kext? If the currently supported layout (19) will not work, can you please add support for my layout (12) in the next release?

 

Dell Studio XPS M1340.zip

asound.zip

 

In my original post, I included a zip file containing, among other things, the HDAIDT.kext that was working for me before I tried converting to to using Lilu/AppleALC. Maybe you could look at the Info.plist for HDAIDT.kext and see if it will give some clues about how to make this work.

 

Share this post


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

 

In my original post, I included a zip file containing, among other things, the HDAIDT.kext that was working for me before I tried converting to to using Lilu/AppleALC. Maybe you could look at the Info.plist for HDAIDT.kext and see if it will give some clues about how to make this work.

 


Wait,, i rebuild AppleALC with your old data of HDAIDT, 5 minutes

Share this post


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

 

In my original post, I included a zip file containing, among other things, the HDAIDT.kext that was working for me before I tried converting to to using Lilu/AppleALC. Maybe you could look at the Info.plist for HDAIDT.kext and see if it will give some clues about how to make this work.

 

Use this DSDT.aml and this AppleALC.kext.zip

Remove the old ones, reboot and upload the IOREG

Share this post


Link to post
Share on other sites

@Andres ZeroCross hi,

 

My audio works fine, but I see that only Internal Speakers are in the sound.
If I do not know that?

 

 

 

 

Internal Speakers.png

Share this post


Link to post
Share on other sites
 

Still no audio. IOREG is attached.

image.thumb.png.57c3b25543e35ec03cc6a381888f5747.png

Najeeb’s MacBook Pro.zip

Try to boot from Windows first,, then reboot

@Andres ZeroCross hi,

 

My audio works fine, but I see that only Internal Speakers are in the sound.

If I do not know that?

 

 

 

 

442913050_InternalSpeakers.png.4ef565627a8f6801ae1cc5786b145f5d.png

What do you want to suppose to be showed??

 

Sent from my Mi Note 2 using Tapatalk

 

 

 

Share this post


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

Try to boot from Windows first,, then reboot

 

What do you want to suppose to be showed??

 

Sent from my Mi Note 2 using Tapatalk

 

 

 

I'm just asking if this is OK

Share this post


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

I'm just asking if this is OK


It's ok,,, execpt you realize you have another output audio device and it doesn't appear

Edited by Andres ZeroCross

Share this post


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


It's ok,,, execpt you realize you have another output audio device and it doesn't appear

Thanks,

Share this post


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

Try to boot from Windows first,, then reboot

 

Didn't work. Still no audio.

It's okay. Thanks for all your efforts to make this work, I really appreciate it.

But I am going to go back to my original configuration that worked (old DSDT.aml, modified AppleHDA.kext, AppleHDA patches in config.plist and HDAIDT.kext)

:cry:

Share this post


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

 

Still no audio. IOREG is attached.

 

Najeeb’s MacBook Pro.zip


It's interesting,, your old config.plist patch "8419D411" to "75761D11" but in AppleALC resource chunnan use "8B19D411" to "75761D11" and "8419D411" to "00000000".

Maybe i should try it,, how about audio after restart??

1 minute ago, najeeb_anwer said:

 

Didn't work. Still no audio.

It's okay. Thanks for all your efforts to make this work, I really appreciate it.

But I am going to go back to my original configuration that worked (old DSDT.aml, modified AppleHDA.kext, AppleHDA patches in config.plist and HDAIDT.kext)

:cry:


Don't taking up your "white Flag". Keep trying,, i will send new AppleALC.kext in few minutes.

Share this post


Link to post
Share on other sites
Just now, Andres ZeroCross said:


It's interesting,, your old config.plist patch "8419D411" to "75761D11" but in AppleALC resource chunnan use "8B19D411" to "75761D11" and "8419D411" to "00000000".

Maybe i should try it,, how about audio after restart??

 

No audio after restart.

Like I said in my previous post, I give up. I appreciate your efforts. :)

Share this post


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


Don't taking up your "white Flag". Keep trying,, i will send new AppleALC.kext in few minutes.

 

Okay :yes:. But I won’t be able to test until tomorrow my time. Thanks.

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.

×