Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

 

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

 

 

 

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

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

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

Link to comment
Share on other sites

Let me talk about the problem first. What is the situation? My counterfeit sound card will have 3 beeps when it is turned on (probably because there is a speaker), and there will be 1 beep when it is turned off, and when it is sleeping, when it wakes up, it will Ringing, I will ask you some questions about the details below. I have questions about APPLEALC.
Let me briefly talk about the basic situation here. My notebook is Lenovo's notebook model Y430P, and the CPU is I7 4710mq. The graphics card is HD4600.
The sound card model is ALC282. Trying to try out all the useful layoutids in APPlealc, it doesn't work very well, so I tried to extract the codec.
And use GetDumpXml to generate the platform.xml file, and imitate a layout file with other layouts. Now the sound card file can work.
I set the layoutid to 22 for him, but there are still some small flaws, hdmi external output, headphone output, built-in speaker, input: built-in microphone, headphone microphone, these can work, the sound is no problem,
The only problem is that here, when the machine is turned on, the machine will make 4 beeps, and there will be a shutdown. There will be a beep, and the wake will sound. Because of his limited ability, he has been looking for several months. Knowing exactly where the problem is, you still need to give pointers to you.
Below I will upload my relevant settings.

 

 

 

Jack   Color  Description                              Node     PinDefault           
Digital Unknown  Mic at Int N/A                 18 0x12   0x90a60940   Built-in microphone
    1/8   Black  Speaker at Ext Rear           20 0x14   0x411111f0   Built-in speaker B
    1/8   Black  Mic at Ext Right                  24 0x18   0x04a11830   External microphone
             Speaker at Int N/A                         27 0x1b   0x90170110   Built-in speaker A
    RCA   Black  SPDIF Out at Ext Right     30 0x1e   0x04441120   Digital audio interface
    1/8   Black  HP Out at Ext Right             33 0x21   0x04211050   Headphone jack

 

debug_23011.zip

layout22.xml

Platforms22.xml

ALC282_dump.txt

ALC282-Y430p-dump.txt

codec_dump.txt

codec1ALC282-Y430p.svg

Link to comment
Share on other sites

Let me talk about the problem first. What is the situation? My counterfeit sound card will have 3 beeps when it is turned on (probably because there is a speaker), and there will be 1 beep when it is turned off, and when it is sleeping, when it wakes up, it will Ringing, I will ask you some questions about the details below. I have questions about APPLEALC.
Let me briefly talk about the basic situation here. My notebook is Lenovo's notebook model Y430P, and the CPU is I7 4710mq. The graphics card is HD4600.
The sound card model is ALC282. Trying to try out all the useful layoutids in APPlealc, it doesn't work very well, so I tried to extract the codec.
And use GetDumpXml to generate the platform.xml file, and imitate a layout file with other layouts. Now the sound card file can work.
I set the layoutid to 22 for him, but there are still some small flaws, hdmi external output, headphone output, built-in speaker, input: built-in microphone, headphone microphone, these can work, the sound is no problem,
The only problem is that here, when the machine is turned on, the machine will make 4 beeps, and there will be a shutdown. There will be a beep, and the wake will sound. Because of his limited ability, he has been looking for several months. Knowing exactly where the problem is, you still need to give pointers to you.
Below I will upload my relevant settings.
 
 
 
Jack   Color  Description                              Node     PinDefault           Digital Unknown  Mic at Int N/A                 18 0x12   0x90a60940   Built-in microphone   1/8   Black  Speaker at Ext Rear           20 0x14   0x411111f0   Built-in speaker B   1/8   Black  Mic at Ext Right                  24 0x18   0x04a11830   External microphone            Speaker at Int N/A                         27 0x1b   0x90170110   Built-in speaker A   RCA   Black  SPDIF Out at Ext Right     30 0x1e   0x04441120   Digital audio interface   1/8   Black  HP Out at Ext Right             33 0x21   0x04211050   Headphone jack

 
debug_23011.zip
layout22.xml
Platforms22.xml
ALC282_dump.txt
ALC282-Y430p-dump.txt
codec_dump.txt
codec1ALC282-Y430p.svg

What's exactly your problem??? Small speaker in motherboard or laptop is not for audio itself. It's BIOS alarm, long ago we can know the problem of the bios with hearing of the beep.

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

4 minutes ago, Andres ZeroCross said:

What's exactly your problem??? Small speaker in motherboard or laptop is not for audio itself. It's BIOS alarm, long ago we can know the problem of the bios with hearing of the beep.

Sent from my Mi Note 2 using Tapatalk
 

Maybe it is the inaccuracy I described, it is the sound of blasting, but only when it is turned on, when it is turned off, when it is sleeping, when it wakes up, it will ring.

Link to comment
Share on other sites

Maybe it is the inaccuracy I described, it is the sound of blasting, but only when it is turned on, when it is turned off, when it is sleeping, when it wakes up, it will ring.
How about trying delete applealc.kext? Did you still have the issue without applealc.kext??

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

9 minutes ago, dragonflys said:

Maybe it is the inaccuracy I described, it is the sound of blasting, but only when it is turned on, when it is turned off, when it is sleeping, when it wakes up, it will ring.

I think it may be APPLEALC testing the speaker of my machine when loading the driver? But the strange problem is that if it is tested when appleleac starts, all the customized versions should have this problem, but now it seems only my If there is such a problem, is it possible that the power supply of the speaker is caused by the power supply being unsmooth, causing a blast or a audible sound when the driver is awake?

9 minutes ago, Andres ZeroCross said:

How about trying delete applealc.kext? Did you still have the issue without applealc.kext??

Sent from my Mi Note 2 using Tapatalk
 

Thank you very much for answering my question, but without appleleac.kext, there is no sound. This place definitely needs applealc.kext. I want to solve this problem.

Link to comment
Share on other sites

On 11/27/2018 at 2:32 PM, darknight11c said:

Hi all! I have the ALC283 and none of the layout ids work for me. I've included an imgur album of what the different IDs show: https://imgur.com/a/yEz6YXH

 

I think this means I have to create a new layout id, but I don't know how. Any help?

 

I have an Acer E5-571-54FL. i5-5200U, HM97 mobo platform (H97 mobile)

 

I've uploaded the codec dumps! codec_dump1.txt is ALC283, the codec of interest.

 

 

codec_dump1.txt

codec_dump0.txt

Link to comment
Share on other sites

1 hour ago, darknight11c said:

 

I've uploaded the codec dumps! codec_dump1.txt is ALC283, the codec of interest.

 

 

codec_dump1.txt

codec_dump0.txt


I have checked your codec_dump1.txt, LayoutI=3 should work for you. Please reCheck again,,

I can't rebuild or make new ones layout and platform,, because i think it will be similar like other layout.

Just try LayoutID = 3
image.thumb.png.3954a6f21ab665a733914f8a5fa6b1ea.png

Link to comment
Share on other sites

6 hours ago, najeeb_anwer said:

 

Still no audio. However, there is some good news, there is no "NULL Codec" listed in DPCIManager and AppleHDA.kext stays running. I have attached the IOReg.

 

image.thumb.png.cdbc3cdb1355ed49bd7368a5b8c84366.png

 

 

 

Najeeb’s MacBook Pro.zip

 

Try this AppleALC.kext.zip ,, reboot and upload the IOREG Output

Link to comment
Share on other sites

22 minutes ago, Andres ZeroCross said:

Try this AppleALC.kext.zip ,, reboot and upload the IOREG Output

 

Okay, the audio works. However, I need to reboot a couple of times and see if it still works after reboot. I have attached the IOREG for this boot while it is working. There is a new kext listed "AppleHDAHardwareConfigDriver" (see Terminal output). It goes away after a while. Is this normal?

 

image.thumb.png.4cc21ed26cb166908640248163739e0a.png

 

Najeeb’s MacBook Pro.zip

Link to comment
Share on other sites

2 minutes ago, najeeb_anwer said:

 

Okay, the audio works. However, I need to reboot a couple of times and see if it still works after reboot. I have attached the IOREG for this boot while it is working. There is a new kext listed "AppleHDAHardwareConfigDriver" (see Terminal output). It goes away after a while. Is this normal?

 

image.thumb.png.4cc21ed26cb166908640248163739e0a.png

 

Najeeb’s MacBook Pro.zip


So,, I must know. Did it work or not?? still work after reboot??? No, problem again?? :D

About AppleHDAHardwareConfigDriver,, i don't exactly,, but i have same conditions for long ago before AppleALC

Link to comment
Share on other sites

16 minutes ago, Andres ZeroCross said:

So,, I must know. Did it work or not?? still work after reboot??? No, problem again?? :D

About AppleHDAHardwareConfigDriver,, i don't exactly,, but i have same conditions for long ago before AppleALC

 

No, I'm sorry to say it did not work after reboot :(.

 

No changes; all I did was shut down and start the computer again. The dreaded "NULL Codec" is back and HDEF shows the empty "IOHDACodecDevice@8,1" again. Also, I don't know if it matters, but AppleHDAHardwareConfigDriver did not show up this time.

 

As before, AppleHDA.kext stops running after a while.

 

The IOREG for this boot is attached.

 

image.thumb.png.ee8d674c2f99750818af75fb6568b80e.png

Najeeb’s MacBook Pro.zip

Edited by najeeb_anwer
Link to comment
Share on other sites

9 minutes ago, najeeb_anwer said:

 

No, I'm sorry to say it did not work after reboot :(.

 

No changes; all I did was shut down and start the computer again. The dreaded "NULL Codec" is back and HDEF shows the empty "IOHDACodecDevice@8,1" again. Also, I don't know if it matters, but AppleHDAHardwareConfigDriver did not show up this time.

 

The IOREG is attached for this boot is attached.

 

image.thumb.png.ee8d674c2f99750818af75fb6568b80e.png

Najeeb’s MacBook Pro.zip


Did you boot from windows first when you get audio working with recently appleALC.kext???

Remember to delete this entry from your config.plistimage.png.c59ee1498239d867880f8d5a299827f5.png
 

Edited by Andres ZeroCross
Link to comment
Share on other sites

4 minutes ago, Andres ZeroCross said:


Did you boot from windows first when you get audio working with recently appleALC.kext???

Remember to delete this entry from your config.plistimage.png.c59ee1498239d867880f8d5a299827f5.png
 

 

Actually, I don't remember if I rebooted from Windows when it worked last time. I can try that now and let you know if that makes it work again.

 

And, yes, the AppleHDA patches are not present in config.plist.

Link to comment
Share on other sites

10 minutes ago, najeeb_anwer said:

 

Actually, I don't remember if I rebooted from Windows when it worked last time. I can try that now and let you know if that makes it work again.

 

And, yes, the AppleHDA patches are not present in config.plist.

 

I booted Windows and then rebooted to macOS; no change.

 

Still no audio and the NULL Codec is still listed in DPCIManager, HDEF has a blank CodecDevice and AppleHDA.kext stops after a while.

Link to comment
Share on other sites

×
×
  • Create New...