Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,357 posts in this topic

Recommended Posts

Advertisement

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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

Share this post


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

 

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.

Try this,, and check your audio

AppleALC.kext.zip

Share this post


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

 

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.


This is my final solution,, please upload your CLOVER folder again,, and IOREG output

Share this post


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


This is my final solution,, please upload your CLOVER folder again,, and IOREG output

 

Attached are the CLOVER folder, IOREG output and a file containing the Linux files from /proc/asound that people usually provide as codec_dump.txt (I also provided this in my original post when I started this).

CLOVER.zip

Najeeb’s MacBook Pro.zip

asound.zip

Share this post


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

 

Attached are the CLOVER folder, IOREG output and a file containing the Linux files from /proc/asound that people usually provide as codec_dump.txt (I also provided this in my original post when I started this).

CLOVER.zip

Najeeb’s MacBook Pro.zip

asound.zip


Use this CLOVER folder, backup your CLOVER folder

CLOVER.zip

Share this post


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

 

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.

 

image.thumb.png.81e330af5ab53530375fc0d4f1ce12a2.png

Najeeb’s MacBook Pro.zip


Strange problem,, maybe should ask to @MacPeet @insanelyDeepak and others

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

×