Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

6 minutes ago, najeeb_anwer said:

 

I'm confused about what you want me to do.

Like I said, the DSDT.aml that you provided previously works just fine to boot the system, but no audio.

You provided another DSDT.aml today which does not work; system wont boot with it.

Do me a favor and download the DSDT that you posted 2 hours ago and see if you can open it with MaciASL; I think it is corrupted.


1. I am confuse here :hysterical:

in this post below you upload your current DSDT.aml,, 

 Then now you said you said you can't boot again with same DSDT.aml. I only change Properties in HDEf,, it won't prevent your system from boot except you make change to your system after upload file.

So, let clear this mess, do this

1. Open terminal and type "sudo kextcache -i /", save the output
2. Open IORegistryExplorer.app and save the output
3. Upload your CLOVER folder
4. Open DPCImanager.app and take the screenshot

ZIP All file into 1 file ZIPPED, and upload here

Edited by Andres ZeroCross
Link to comment
Share on other sites

12 minutes ago, Andres ZeroCross said:


1. I am confuse here :hysterical:

in this post below you upload your current DSDT.aml,, 

 Then now you said you said you can't boot again with same DSDT.aml. I only change Properties in HDEf,, it won't prevent your system from boot except you make change to your system after upload file.

So, let clear this mess, do this

1. Open terminal and type "sudo kextcache -i /", save the output
2. Open IORegistryExplorer.app and save the output
3. Upload your CLOVER folder
4. Open DPCImanager.app and take the screenshot

ZIP All file into 1 file ZIPPED, and upload here

 

Archive.zip

Link to comment
Share on other sites

19 minutes ago, Andres ZeroCross said:

use this DSDT.aml

 

Still no audio. I believe it is because of the "NULL Codec", which is causing problems for AppleHDA and causing it to exit.

image.thumb.png.4a78df7b255159ea21e036742c742f37.png

image.thumb.png.ea13a542f9023c125b939272fec9db41.png

 

Anyway, it's almost 4am here and I'm going to sleep. I'll get back to this later. Thanks for your continued help on this.

 

Link to comment
Share on other sites

 
Still no audio. I believe it is because of the "NULL Codec", which is causing problems for AppleHDA and causing it to exit.
image.thumb.png.4a78df7b255159ea21e036742c742f37.png
image.thumb.png.ea13a542f9023c125b939272fec9db41.png
 
Anyway, it's almost 4am here and I'm going to sleep. I'll get back to this later. Thanks for your continued help on this.
 
What's your notebook model, i saw IOName 10de, this is vendor id of nvidia

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

4 minutes ago, Andres ZeroCross said:

What's your notebook model, i saw IOName 10de, this is vendor id of nvidia

Sent from my Mi Note 2 using Tapatalk
 

 

It's a Dell XPS M1340 with a NVidia motherboard chipset MCP79. It is almost identical in specs to Apple MacBookPro5,5 (2009).

Link to comment
Share on other sites

 
It's a Dell XPS M1340 with a NVidia motherboard chipset MCP79. It is almost identical in specs to Apple MacBookPro5,5 (2009).
Attach ioreg before going to sleep

Sent from my Mi Note 2 using Tapatalk

28 minutes ago, najeeb_anwer said:

 

Still no audio. I believe it is because of the "NULL Codec", which is causing problems for AppleHDA and causing it to exit.

 

 

 

Anyway, it's almost 4am here and I'm going to sleep. I'll get back to this later. Thanks for your continued help on this.

 

I think applealc try to attach HDMI audio in HDEF,,, it's look i need to set no-controller-inject to HDEF

image.thumb.png.ebe0b072ed5a2f8534589a75309f91f1.png

Link to comment
Share on other sites

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

Link to comment
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 ? 

 

 

Link to comment
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
Link to comment
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

Link to comment
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

Link to comment
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.

 

Link to comment
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.

 

Link to comment
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

Link to comment
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

Link to comment
Share on other sites

×
×
  • Create New...