Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

On 11/11/2017 at 8:00 PM, manueljben said:

Hi vusun123,

 

I've installed latest version of lilu+appleALC that includes your layout-id 28 for Lenovo Legion Y520, which is the model I own.

 

Until today I had layout 11 configured that at least it worked well with speakers (not with headphones).  Now I'm trying layout 28, i've changed all 11's in CLOVER config.plist
and tried to force kext cache reload (touch /System/Library/Extensions).
 
Audio icon appears on menubar, and devices are detected, mic seems to be working but no audio from speakers.  If I try to play a video from youtube the video does not start (0:00 issue...).
 
I need to change or check something else more? Thanks in advance!

Hi all, again. I've posted this message many months ago and seems nobody read it/knows/want to help me...  ELAN trackpad seems to work strange too, and without sound my h-tosh is pretty useless.

 

Any guy can give me a clue about the reason I can't get it the sound working? I've been updating Lilu an AppleALC since the beginning and the sound is not working since Lilu 1.1.7 + AppleALC 1.1.4 if I recall correctly (and in these days is not working 100% perfectly, only in speakers etc...).

Lilu and AppleALC are both in clover kext in theory L/E and S/L/E are not touched. The OSX version is still latest Sierra patch.

 

Tell me whatever info you need and sure I will give you or you can give me some tips or places to look, values to check etc.

Thanks in advance!!

Edited by manueljben
Link to comment
Share on other sites

Hello everyone, can anybody help me with my audio problem? I installed AppleALC + Lilu and CodecCommander and SSDT-ALC256-vbourachot from RehabMan CodecCommander Repos to fix my audio, AppleALC and Lilu are in Clover kexts folder and CodecCommander is installed on L/E, but sadly the internal microphone and headset mic did not work for me also after rebooting from windows the sound will not work but still detected in preferences, tried using all the layout-id's, using 11 i get slower sound than 13, using 13 the sound are perfect but mic is not working, using 28 lost the jack sense, the sound is slower and mic is inputting noisy distort sound and not recording any sound, using 56 i lost jack sense and no audio input detected, would anyone kindly help me with my issues?, would be highly appreciated, thanks in advance :) 

Attached my RunMe output and codec dump below :)

dekialcdump.txt

Dekis-MBP.zip

Edited by Deki
Link to comment
Share on other sites

41 minutes ago, Deki said:

Hello everyone, can anybody help me with my audio problem? I installed AppleALC + Lilu and CodecCommander and SSDT-ALC256-vbourachot from RehabMan CodecCommander Repos to fix my audio, AppleALC and Lilu are in Clover kexts folder and CodecCommander is installed on L/E, but sadly the internal microphone and headset mic did not work for me also after rebooting from windows the sound will not work but still detected in preferences, tried using all the layout-id's, using 11 i get slower sound than 13, using 13 the sound are perfect but mic is not working, using 28 lost the jack sense, the sound is slower and mic is inputting noisy distort sound and not recording any sound, using 56 i lost jack sense and no audio input detected, would anyone kindly help me with my issues?, would be highly appreciated, thanks in advance :) 

Attached my RunMe output and codec dump below :)

dekialcdump.txt

Dekis-MBP.zip

use layouti=13 and use this SSDT-ALC256.aml . Post the result

Edited by Andres ZeroCross
Link to comment
Share on other sites

5 hours ago, Deki said:

Hello everyone, can anybody help me with my audio problem? I installed AppleALC + Lilu and CodecCommander and SSDT-ALC256-vbourachot from RehabMan CodecCommander Repos to fix my audio, AppleALC and Lilu are in Clover kexts folder and CodecCommander is installed on L/E, but sadly the internal microphone and headset mic did not work for me also after rebooting from windows the sound will not work but still detected in preferences, tried using all the layout-id's, using 11 i get slower sound than 13, using 13 the sound are perfect but mic is not working, using 28 lost the jack sense, the sound is slower and mic is inputting noisy distort sound and not recording any sound, using 56 i lost jack sense and no audio input detected, would anyone kindly help me with my issues?, would be highly appreciated, thanks in advance :) 

Attached my RunMe output and codec dump below :)

dekialcdump.txt

Dekis-MBP.zip

check it out. Layout 13. 

256.zip

Link to comment
Share on other sites

4 hours ago, tyufhl said:

check out. Layout 5.

256.zip

Thank you very much sir, The microphone now works with 256-2 version of your kext :D, but audio still not working after rebooting from windows, any solution for that? i have read that it has something to do with codeccommander ssdt but i dont know how, i used insanelydeepak and vbourachot ssdt from Rehabman repos but doesn't work, also tried using the ssdt Mr. Andres ZeroCross gave me above but still doesn't work :(

Link to comment
Share on other sites

4 hours ago, Deki said:

Thank you very much sir, The microphone now works with 256-2 version of your kext :D, but audio still not working after rebooting from windows, any solution for that? i have read that it has something to do with codeccommander ssdt but i dont know how, i used insanelydeepak and vbourachot ssdt from Rehabman repos but doesn't work, also tried using the ssdt Mr. Andres ZeroCross gave me above but still doesn't work :(

https://applelife.ru/threads/asus-noutbuki-k56cb-i-podobnye.96647/page-41#post-643258

Vandroiy2012 added your resources to the base AppleALC. Layout 5.

Edited by tyufhl
Link to comment
Share on other sites

hello @vandroiy2012

 

I have a new codec, everything works. (HS with layout-id = 15, Mojave with layout-id = 7 and alc-layout-id = 15 -> in DSDT / HDEF)

 

ALC221 - LayoutID 15 (0F) for HP ELITE DESK 800 G1

 

new_Resources_ALC221.zip

 

can you please added the new codec?
 
many thanks and a nice weekend for you and your family

  • Like 1
Link to comment
Share on other sites

Would anyone be able to help me with ALC299?

There is very little on this codec, and nothing seems to work for me.

My laptop is an Acer Helios 500
Audio layout:
Speakers
Line-out (3.5mm headphones)
Line-in (3.5mm mic input)
Built in mic

 

I attached my codec dump from linux; thanks in advance!

 

Fixed the attachment here:

 

codec_dump.txt

Edited by yamahahornist
Link to comment
Share on other sites

16 hours ago, tyufhl said:

https://applelife.ru/threads/asus-noutbuki-k56cb-i-podobnye.96647/page-41#post-643258

Vandroiy2012 added your resources to the base AppleALC. Layout 5.

Can't understand the language ther sir, used translator but the language is confusing, all i get from that link is to remove realtek driver in windows and use microsoft driver, but if i do that the sound is really bad and distorted, i hope anyone here have a solution for me :)

Link to comment
Share on other sites

6 minutes ago, Deki said:

Can't understand the language ther sir, used translator but the language is confusing, all i get from that link is to remove realtek driver in windows and use microsoft driver, but if i do that the sound is really bad and distorted, i hope anyone here have a solution for me :)

good luck.

Link to comment
Share on other sites

5 minutes ago, Deki said:

Can't understand the language ther sir, used translator but the language is confusing, all i get from that link is to remove realtek driver in windows and use microsoft driver, but if i do that the sound is really bad and distorted, i hope anyone here have a solution for me :)

 

1. Copy hda-verb to "usr/bin"
2. Run codec_dump.sh with "./codec_dump.sh" , open terminal first and "cd ~/locationfolder of codec_dump.sh", save the output
3. Boot into windows and restart to mac,, make dump again.

Upload before and after dump file. Rename it,, 
 

Dump Status HDA.zip

Link to comment
Share on other sites

57 minutes ago, Andres ZeroCross said:

 

Use this,, set LayoutID = 21. Then post IOREG Dump. Use IORegistryExplorer 2.1 and save the output

AppleALC.kext.zip

Okay, installed that in my EFI/Kexts/other with the latest Lilu and set layout to 21. Still no input or output devices; but here is the IOREG dump.

 

Thank you for your help!

io dump.ioreg

Link to comment
Share on other sites

2 minutes ago, Andres ZeroCross said:

image.png.0e0e4cba79b87daed08a21f51edbcc56.png

Your IOREG output show no HDA Controller. Did you modify AppleHDA.kext???

Open terminal dan type "sudo kextstat | grep HDA"

Screenshot the photo

It outputs nothing in terminal... My appleHDA.kex tin /system/library/extensions is stock vanilla.

Edited by yamahahornist
Link to comment
Share on other sites

1 minute ago, yamahahornist said:

It outputs nothing in terminal... My appleHDA.kex tin /system/library/extensions is stock vanilla.


Then it's mean your AppleHDA.kext is not loaded. It MUST BE loaded for work / non working audio system.
There is something in your system

Open terminal,, type "sudo kextcache -i / "

Save the output and upload here

Link to comment
Share on other sites

13 minutes ago, Andres ZeroCross said:


Then it's mean your AppleHDA.kext is not loaded. It MUST BE loaded for work / non working audio system.
There is something in your system

Open terminal,, type "sudo kextcache -i / "

Save the output and upload here

Okay I pulled the stock AppleHDA from the installer and installed it and restarted. Here is the terminal output:

sudo kextstat | grep HDA
Password:
  110    1 0xffffff7f834d5000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  111    0 0xffffff7f834e4000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <110 109 88 12 7 6 5 4 3 1>

 

sudo kextcache -i /
Password:
KernelCache ID: A16CBB83A731ED4D110EE98A1ACE50B4

 

and here is a new dump, still no audio devices btw

iodump2.ioreg

Edited by yamahahornist
Link to comment
Share on other sites

1 minute ago, yamahahornist said:

Okay I pulled the stock AppleHDA from the installer and installed it and restarted. Here is the terminal output:

sudo kextstat | grep HDA
Password:
  110    1 0xffffff7f834d5000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  111    0 0xffffff7f834e4000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <110 109 88 12 7 6 5 4 3 1>

 

and here is a new dump, still no audio devices btw

iodump2.ioreg

I said do "sudo kextcache -i /"

Did you read my previous comment??? I need to check your 3rd party kext in LE or SLE

Link to comment
Share on other sites

2 minutes ago, Andres ZeroCross said:

I said do "sudo kextcache -i /"

Did you read my previous comment??? I need to check your 3rd party kext in LE or SLE

Sorry i edited it in there a little late, I don;t have any 3rd party kexts installed on the system, there in my EFI

 

output just shows cache id

sudo kextcache -i /
Password:
KernelCache ID: A16CBB83A731ED4D110EE98A1ACE50B4

Edited by yamahahornist
Link to comment
Share on other sites

image.png.8a24f53b364be5a6993ced37d8eb8105.png

Your codec is still not recognized by AppleHDA.kext.
1. Did you use any DSDT / SSDT??? 
2. Write detail your notebook model and specifications
3. Make sure patch IRQFlag for RTC, TIMR, HPET and IPIC or tick Fix HPET, Add DTGP, IRQ, TIMR, IPIQ on Config.plist (use Clover Configurator)
4. For best analyze,, upload your CLover folder

Link to comment
Share on other sites

×
×
  • Create New...