Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

@hugodlc

 

No faked the ID !!!
Just try AppleALC and Lilu (last release) to Clover/kexts/other or OC/Kexts and bootflag alcid=12
If it doesn't work, the codec won't work for your computer. A codec must be created using the CodecDump.

Link to comment
Share on other sites

11 hours ago, MacPeet said:

@hugodlc

 

No faked the ID !!!
Just try AppleALC and Lilu (last release) to Clover/kexts/other or OC/Kexts and bootflag alcid=12
If it doesn't work, the codec won't work for your computer. A codec must be created using the CodecDump.

It was a what the heck attempt. I tried many combinations with and without faking. It didn't work either way.

 

Of course my first attempt was the one you mention. keeping it simple, but it didn't work.

That's why I asked for help here to create a new codec.

 

Thanks!

Edited by hugodlc
Link to comment
Share on other sites

@MacPeet

 

I'm an idiot, I tested your modified kext and still nothing, so I double checked ACPI patches and nothing, so went back to basics and realized that my lilu was old. updated that, and voila!

Original ID 12 and your new 15 both work, but not perfectly.

 

There's no automatic swap from headphones to speakers, and the headphone mic input is garbled-noise only. (Both of these features work on Windows)

 

But thank you for your help getting me this far!!!

Link to comment
Share on other sites

On 5/28/2020 at 5:46 PM, MacPeet said:

@seri

 

Your computer has other nodes for HP (node 22).
ID 3, ID15, ... (node 29 for HP)

 

try this with layoutID 3:

 

trial_cx8200_layoutID3.zip

My previous trials were faulty because of my bad. sorry. I didn't realize the FakeSMC in L/E, so the system loaded wrong kext each time. Now, I tried this with layout id 3. Everything is good except my speakers are not working. (They are detected, no sound is coming out)

 

Can you help me? Sorry for my late response. @MacPeet

Link to comment
Share on other sites

I have a ALC3223 on a Dell Latitude 3540.

Current running VoodooHDA as AppleALC.kext isn't working for me.

DPCIManager showing the VoodooHDA codec as using the ALC283 which seems working.

Linux shows the codec as the proper ALC3223.

Tried all the ALC283 layouts for AppleALC using alcid=xxx but doesn't seem to work.

 

I tried these layouts with none showing any info in sound devices.

1, 3, 11, 12, 13, 15, 18, 44, 66

 

As soon as I swapped back to VoodooHDA.kext audio was working again.

Don't know how to get this working with AppleALC.kext.

 

More Info:

My device in DPCIManager is shown as:

Audio Device: 0x80869C20

Sub Device: 0x10280608

Codec ID: 0x10EC0283

Revision: 0x0003

Edited by drguild
Link to comment
Share on other sites

@drguild

delete VoodooHDA, also VoodooHDADisabler, if available
latest AppleALC + Lilu after Clover kexts or OC kexts
Fix IRQ fixes! (FixIPIC, FixTIMR, FixRTC) in the clover or with "SSDTTime from the github" with OC config.plist.
try all ID's !!!

Link to comment
Share on other sites

1 hour ago, MacPeet said:

@drguild

delete VoodooHDA, also VoodooHDADisabler, if available
latest AppleALC + Lilu after Clover kexts or OC kexts
Fix IRQ fixes! (FixIPIC, FixTIMR, FixRTC) in the clover or with "SSDTTime from the github" with OC config.plist.
try all ID's !!!

Have OC .6 version with latest kexts grabbed today to install Big Sur as a second install.

They were mostly up to date as it was.

 

Don't use the voodoo disabler.

I used SSDTTime following the GitHub guide to make my SSDTs originally.

 

I never have both ALC and Voodoo enabled together I always disable the other type when swap between stuff in OpenCore Configurator.

 

Unless I'm going to eventually try all 99 ID layouts I'm not sure what to do here as I tried nearly all except 88 on what I believe is the right equivalent.

 

No audio devices are found on AppleALC kext but are on Voodoo.

 

It seems the ALC3223 is not supported properly.

 

I can give ioreg etc outputs of people want a look.

Edited by drguild
Link to comment
Share on other sites

Laptop model/Motherboard model: Acer Swift 3 SF314-52-552X
Codec name: ALC255 (Vendor Id: 0x10ec0255 --- Subsystem Id: 0x1025118c --- Revision Id: 0x100002)
Layout used with the info what works for you: actually i use layout 29 (but with layout 3/31 things are similar)
OS X 10.15.6 with OC 0.6.0

 

Actually se AppleALC + CodecCommander (Sniki ones)
Internal mic OK

Internal speaker OK

External mic NOT WORKS

External speaker seems OK

 

I've tried almost everything (all applealc layout-ids, alcplugfix, combojack, ...) but external microphone never works:')
Someone could help me?

codec_dump.txt

Edited by alem
Link to comment
Share on other sites

Hi! I got a codec dump from linux, can somebody help me? I tried all the different layouts for alc285 already in applealc and none work properly, only the mono top speaker works, bottom left and right speakers don't make any sound. (the laptop should have a 3 or 4 speakers) My laptop is 13" hp spectre x360 late 2018 whiskey lake i5-8265u. (the laptop should have 3 speakers, top center, bottom left and bottom right if I'm correct)

codec_dump_0.txt

 

Stuck on step 3.1 in Applealc_Instructions
Codec: Realtek ALC285
Address: 0
Vendor Id: 283902597
Pin Complex Nodes with Control Name:
Node 17 : Corrected verb data: ”10011790”
Node 19 : Corrected verb data: ”c010a104”
Node 21 : Corrected verb data: “20102104”, EAPD 0x02

Calculating the PathMaps
Pin Complex 0x21 > Audio Output 0x02 Stereo Amp-Out, Decimal 21 -> 2 (Headphones)
Pin Complex 0x17 > Audio Output 0x03 Stereo Amp-Out, Decimal 23 -> 3 (Speakers)
Pin Complex 0x17 > Audio Output 0x06 Stereo; Decimal 23 -> 6

 

Edited by Stalkiee
Link to comment
Share on other sites

Hi guys. I noticed cx8150 microphone doesn't work with big sur using id 22 whereas it worked on Catalina and Mojave just fine. Any idea as to why?

Sent from my Pixel 4 using Tapatalk

Hi guys. I noticed cx8150 microphone doesn't work with big sur using id 22 whereas it worked on Catalina and Mojave just fine. Any idea as to why?

Sent from my Pixel 4 using Tapatalk

Link to comment
Share on other sites

@MacPeet
 

Finally had some time to test more, and the original ALC with ID=12 stops working after about a minute, you have to select headphones, then back to speakers, and it works for about a minute then again silence. There are digital glitches sometimes, no HDMI audio.

And the external (headphone+mic) input is just noise.

 

With your modified ALC with ID=15 the sound is ok in speakers and headphones (no automatic switching though), but I have no mute control. (it is greyed out) no HDMI audio, and after waking from sleep, the same problem of 1 minute of audio or less and then silence happens.

 

Thanks for your help

Link to comment
Share on other sites

hi @MacPeet / all,

 

I'm using ALC283 in my M93p tiny, I tried all the layout_out, but none has internal speaker working.

Currently I'm using layout=15, headphone works fine, internal speaker has no sound at all.

May I know anyone got internal speaker working?

 

Attaching my codec dump for reference. 

card1_codec2

Edited by 0xd1ab10
Link to comment
Share on other sites

Latest Lilu + AppleALC (legacy system, ALC888/1200) + OC 0.6.0 = crackling sound when listening to music/YouTube + making a system sound at the same time (change volume level, finishing copying a file...). It is like system sounds are corrupt.

 

When playing music and YouTube at the same time, Youtube seems to be muted by half.

 

SLE is clean, no extra audio codec, voodoo or whatever.

 

Using clover = no problem so it seems to be an incompatibility with OC.

 

Link to comment
Share on other sites

On 8/15/2020 at 8:47 AM, CrashMidnick said:

Latest Lilu + AppleALC (legacy system, ALC888/1200) + OC 0.6.0 = crackling sound when listening to music/YouTube + making a system sound at the same time (change volume level, finishing copying a file...). It is like system sounds are corrupt.

 

When playing music and YouTube at the same time, Youtube seems to be muted by half.

 

SLE is clean, no extra audio codec, voodoo or whatever.

 

Using clover = no problem so it seems to be an incompatibility with OC.

 

 

I get the exact same thing.  ALCS1200A with Lilu, AppleALC and Opencore 0.6.0.

Link to comment
Share on other sites

17 hours ago, MacPeet said:

@devillived666

 

Did it work with Clover before Opencore?
If so, then set IRQ fixes in Opencore config.plist.
The SSDTTime script (github) shows you the patches.

So I generated the hpet.aml but it didn't change anything. It did work with clover previously. With opencore, when I select the input, the sound bars on bottom register input briefly and then nothing. It's the same with /without hpet.aml. Any other suggestions? 

Link to comment
Share on other sites

On 8/15/2020 at 10:08 PM, SavageAUS said:

According to Hackintool AppleALC replaces CodecCommander but on my laptop i lose audio after sleep.

I am running OC 0.6.0.

Is there anything i need to add to my config to get audio back after sleep?

I changed my layout ID and problem seems to be fixed.

  • Like 1
Link to comment
Share on other sites

@devillived666

 

again, IRQ fixes !!!

When using SSDTTime script number 1 (HPETFix), the IRQ conflicts and the patches are also displayed in the terminal. Note these patches and integrate them into OC config.plist.

 

Example from my laptop:

 

IRQ_Patches.png.92739d9822bcec96fb24d09d629071d5.png

 

 

@0xd1ab10

 

The M93p tiny has only two front connections (input / output).
All IDs with internal speakers have no effect for you.
Your front output works with headphones or external speakers.

Edited by MacPeet
Link to comment
Share on other sites

1 hour ago, MacPeet said:

@devillived666

 

again, IRQ fixes !!!

When using SSDTTime script number 1 (HPETFix), the IRQ conflicts and the patches are also displayed in the terminal. Note these patches and integrate them into OC config.plist.

 

Example from my laptop:

 

IRQ_Patches.png.92739d9822bcec96fb24d09d629071d5.png

 

 

@0xd1ab10

 

The M93p tiny has only two front connections (input / output).
All IDs with internal speakers have no effect for you.
Your front output works with headphones or external speakers.

I got mine working by adding an aml for codec commander . I did merge those irq fixes when using the ssdt script (did option c ) but it didn't get the microphone working. Also redid device properties. One of the two things I did worked. Thanks! 

Link to comment
Share on other sites

On 8/17/2020 at 5:39 AM, Rakuun said:

 

I get the exact same thing.  ALCS1200A with Lilu, AppleALC and Opencore 0.6.0.

Hi all.

I have some problems to get audio work in Asrock Z490m-ITX/ac. According to info reported i have this audio codec:

 

Codecs Detecteds:

Vendor: ONBOARD
Name: 
Codec: 0x10ec0b00

(AppleHDA)	Realtek (Unknown) (10ec:0b00) Rev.(00100001)
		Controller 8086:a170 (sub-ven:1849:1204)

So, according this, the mobo has Realtek ALCS1200. But if I add different layout-id i never got audio to work.

But if i Fake ID with FakePCII to 8086:1a70 i get audio in rear connector but never over HDMI.

 

Please, anyone knows how solve it? ALCS1200 is supported by AppleALC

Link to comment
Share on other sites

×
×
  • Create New...