Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

15 hours ago, therealarik said:

Both the debug zips had ioreg. (maybe with different layout ids) Uploaded ioreg for layout-id 1. Also attached the codec dumps.


Although didn't get much time look into anything yet.

codec_dump2.txt

codec_dump0.txt

ioreg_layout_1.ioreg

NOTE: This ioreg is when the device is detected with the Comet Lake PR490 applied.

Was able to take a look at the codec dumps today and noticed that the layout-id 13 perfectly matches my laptop, but I am still not getting any audio out of it. Installed CodecCommander as well but without any result. Will add debug info later.

debug_20613.zip

Edited by therealarik
added debug files
Link to comment
Share on other sites

@Andres ZeroCross, can you help me find out the best config for my audio ? Tried all layouts for my codec but sound form headphones is missing or missing when waking from sleep (layout 11). I use applealc 1.4.2 because with applealc 1.4.4 i lose HDMI audio.

 

1. Laptop model/Motherboard model: Dell 5570
2. Codec name: ALC256
3. Layout used with the info what works for you (ideally if you try them all): tried all.
4. OS X versions you tried: Catalina and High Sierra
5. Autogenerated Info.plist made with the help of 
this utility. (ERROR 404)

 

debug files (i cannot upload here a file bigger than 0,2mb) : https://mega.nz/#!PFI3USxQ!wHtE6lVPjOB5Um8ySlFsoKUyq77HEgzcKb5rhD5Cs-s

codec_dump.txt

codec_dump1.txt

Link to comment
Share on other sites

hello @vandroiy2012

 

I have a new codec.


ALC292 - LayoutID 15 (0F) for for LENOVO THINKPAD T450 - ManualMode

 

new_Resources_alc292.zip

 

Headphones do not work with other IDs.
Only with this configuration (headphones as LineOut and ManualMode) do both connections of the combination socket work.
Now all devices work internally and externally.

 

can you please added the new codec?
 
many thanks

  • Like 1
Link to comment
Share on other sites

On 12/31/2019 at 1:20 PM, fewtarius said:

 

I was able to add the 400 series controller (see PR 490) and using layout 11 I can see the codec, and it gives the appearance of working but there's no audio in or out via any combination of speakers/headphones/mic.  Comparing my codec dump to the layouts, it looks like 11 would be correct.  I have the usual IRQ fixes etc in config.plist as well.  I used codecgrapher to visualize the codec dump and it looks correct but I'm obviously missing something.  Any advice would be most appreciated.

 

1442080523_ScreenShot2019-12-31at7_54_55AM.thumb.png.1ccfd5ce9aed5e4f638c7f8eb024e189.png

 

Zip with screenshots, codec dump, and codec graph attached.

 

Thanks!

C740-LAYOUT11.zip

 

Is there any documentation on how to properly create a new layout?  I'm wondering if the problem that I'm having with layout 11 is related to the pin configuration, but I can't seem to locate anything that describes how to generate one from a codec dump.

Link to comment
Share on other sites

22 hours ago, fewtarius said:

 

Is there any documentation on how to properly create a new layout?  I'm wondering if the problem that I'm having with layout 11 is related to the pin configuration, but I can't seem to locate anything that describes how to generate one from a codec dump.



take a look at https://github.com/F0x1c/AppleALC_Instructions

In my case, editing the PinConfiguration even didn't work. You might be able to find something. ( Haven't been able to look at the other parts due to Uni work :( )

Link to comment
Share on other sites

hi all, on my Dell XPS 9343 Catalina work well except i have no sounds when I wake up from sleep. I tested with alchda and Lilu or woodoo .I change on clover layout 3 or 13 or 23 same result no sound on speaker ,headphones and microphone work ok, when wake .I have to restart for sound work. 

1. Laptop model/Motherboard model: Dell XPS 9343
2. Codec name: ALC288
3. Layout used with the info what works for you 13 on use, 3 or 23
4. OS X versions you tried: Catalina 10.15.2

my config.plist IORegistry folder alc288 ALC288.zip

someone helps me

 

332873945_Schermata2020-01-10alle15_38_03.thumb.png.d7fa435235f17e2ca90951f5cbccc70d.png

Link to comment
Share on other sites

1 hour ago, Rockey12 said:

no it doesn't patch apple hda directly can you please upload the codec dump from linux

Here you go, I would like to create a layout-id=69 and add it to AppleALC

codec_dump.txt.zip

Here id what I have plugged in the back

B73IxMS.png

Then I also have headphones and mic plugged into front jacks.

 

Edited by Pavo
Link to comment
Share on other sites

there are several layouts ids for your codec you have to try one by one

i have know the original pin config but i need to compare them to find out which one can be use full for you

01271c00 01271dc0 01271e07 01271f40
01471c60 01471d50 01471e01 01471f01
01571c70 01571d10 01571e01 01571f01
01671c80 01671d10 01671e01 01671f01  
01871c40 01871d10 01871ea1 01871f01  
01971c50 01971d90 01971ea1 01971f01  
01a71c90 01a71d10 01a71e81 01a71f01  
01b71c20 01b71d40 01b71e21 01b71f01  
01d71ca0 01d71de0 01d71e47 01d71f40
01e71c30 01e71d10 01e71e45 01e71f01

Edited by Rockey12
Link to comment
Share on other sites

30 minutes ago, Rockey12 said:

give me some time to compare them then i will report back

pinconfig .rtf

you can also give it a try

I can do it all the way up to the point of making that info, my problem I am not understanding is the layout.xml and Platforms.xml creation

 

Link to comment
Share on other sites

20 minutes ago, Rockey12 said:

can you give this a try if its work we can talk later on layout or how to creat layout and xml

 

use layout id 7 

 

 

on the first we just finding out what work and what dosen,t work

ALC1220:1.zip

All outputs work but Rear/Front Mic doesn't work, it shows up in System Preferences > Sound but Mic input isn't working.

Evosewe.png

8u79Grg.png

Also when I connect the Mic to the front Mic jack it turns to Line in instead of Headphone.

b0Oq1E9.png

The only reason I wanted to make my own layout-id was because of the Mic not working.

Edited by Pavo
Link to comment
Share on other sites

×
×
  • Create New...