Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,522 posts in this topic

Recommended Posts

3 hours ago, arsradu said:

 

Yeah.. then I don't know. And without access to my GTX 650 I can't really test anything on my own.

 

However, I stumbled upon this kext online. Give it a try. Maybe it works for you.

 

HDMIAudio.kext_.zip

 

thank you.

 

does it mean it will conflict with WhatEverGreen.kext?

anyway, i'll try it alongside with or without WEG.

 

tnx,

Share this post


Link to post
Share on other sites
Advertisement
4 minutes ago, ea dd said:

 

thank you.

 

does it mean it will conflict with WhatEverGreen.kext?

anyway, i'll try it alongside with or without WEG.

 

tnx,

 

I don't know... but WEG doesn't seem to help so far. So...as you said, you could try both scenarios. I personally never tried it, since, with my GTX 650 I didn't really need HDMI Audio (I still don't), and with the RX 580, apparently I have it by default, so I don't need the HDMIAudio.kext anyway. So...yeah, you'll just have to try and see for yourself.

Share this post


Link to post
Share on other sites
34 minutes ago, arsradu said:

 

I don't know... but WEG doesn't seem to help so far. So...as you said, you could try both scenarios. I personally never tried it, since, with my GTX 650 I didn't really need HDMI Audio (I still don't), and with the RX 580, apparently I have it by default, so I don't need the HDMIAudio.kext anyway. So...yeah, you'll just have to try and see for yourself.

 

tried both WEG and HDMIAudio kext, tried only HDMIAudio kext, no success.

HDMIAudio kext have not get loaded.

 

but just noticed that in IORegistry Explorer, GFX0 is gone when i remove WEG, so i guess WEG's job is doing that change "whatever thing" to GFX0 like you did in clover config.plist.

 

io.png.4b4b762a84d90172dfa63d3d4da3bdb2.png

 

GFX0 thing is cosmetic, i suspect, because my graphic card is working just as well as before removing WEG.

 

tnx,

  

Share this post


Link to post
Share on other sites
Posted (edited)
On 11/18/2018 at 4:43 AM, Andres ZeroCross said:

 

Use this config.plist,, remove your old config.plist and replace with this ones and reboot. Post the result and your IROEG Output too

config.plist

Hi I also have the Dell G7 with ALC256 however for some reason I tried that config and leaves me not even with ext audio. My main issue right now with clean AppleALC and CodecCommander both to /L/E/ is that built in mic doesn’t work and when headphones are plugged I get audio and no distortion noise however headphones mic doesn’t work either.

i also wonder why when I plug headphones I can’t seem to find internal speakers as output device so I can switch output device without having to disconnect headphones.

Here is my debug

 

 

Edit: I am using the ALC256 ssdt and just noticed that if I place CodecCommander in /S/L/E/ internal mic works fine but headphones are not even recognized.

debug_13640.zip

Edited by Darkrai1012

Share this post


Link to post
Share on other sites
On 3/16/2019 at 5:41 AM, brousseau6933 said:

I'm on AppleALC 1.3.4 and Lilu 1.3.1, as they were issued in December. Now, which one is responsible, latest Lilu or AppleALC? Anyway, there's a bug somewhere...

 

Well, if we have the same issue with an older Lilu (such as 1.3.3) and newest AppleALC (such as 1.3.5 or 1.3.6)...my guess is that it's probably a bug with AppleALC. Since we already tested newest Lilu and newest AppleALC and they have the same issue. If we don't, then it's probably Lilu. And so far, I did not encounter this issue with Lilu 1.3.3 and AppleALC 1.3.4.

Share this post


Link to post
Share on other sites
Posted (edited)
On 3/16/2019 at 11:56 AM, Darkrai1012 said:

Hi I also have the Dell G7 with ALC256 however for some reason I tried that config and leaves me not even with ext audio. My main issue right now with clean AppleALC and CodecCommander both to /L/E/ is that built in mic doesn’t work and when headphones are plugged I get audio and no distortion noise however headphones mic doesn’t work either.

i also wonder why when I plug headphones I can’t seem to find internal speakers as output device so I can switch output device without having to disconnect headphones.

Here is my debug

 

 

Edit: I am using the ALC256 ssdt and just noticed that if I place CodecCommander in /S/L/E/ internal mic works fine but headphones are not even recognized.

debug_13640.zip

I also have the ALC256 on the Dell Inspiron 7567 and with talking with @insanelyDeepak, he mentioned the headset mic issue is related to proper COEF values are not being set when you plug in a headset. This is causing the Input device to stay on Internal Microphone. There is a workaround using Combojack with Verbstub.kext, but the issue I have is it is not very streamlined and I randomly will get static sound through the headphones, similar to the sound you hear when you don't use CodecCommander with SSDT-ALC256.aml.

 

@insanelyDeepak did mention he will take a look at getting COEF working, but he is very busy right now and I can definitely imagine how much work this would be.

 

Hope that explains a little about the issue.

Edited by Andrw0380

Share this post


Link to post
Share on other sites
On 3/11/2019 at 11:30 PM, Andres ZeroCross said:

codec_dump.sh.zip

Can your run this script with and without codec commander??? And export each output here.

Hey buddy, I used your latest applealc and layout-id 22. As a result, the output of the headset is invalid. When the headset is inserted, the external amplifier still has sound. There's only noise in the headphones. My machine is also xps13 9370, alc299.

Share this post


Link to post
Share on other sites
Posted (edited)

I had everything working under High Sierra (even the mic on my headphones), however since Mojave my headphone jack is not recognised at all, my mahine is HP Probook 440 g5 and the layout id I'm using is 3, the codec is CX8200. I was unable the run the command from the 1st post as the file is no longer available (it gives me 404). I see that the AppleALC is getting regular updates for specific models and codecs, so I figured I ask you for help. 

codec_dump.txt

Edited by jonny33

Share this post


Link to post
Share on other sites
On 3/23/2019 at 10:36 AM, nqseo said:

Hey buddy, I used your latest applealc and layout-id 22. As a result, the output of the headset is invalid. When the headset is inserted, the external amplifier still has sound. There's only noise in the headphones. My machine is also xps13 9370, alc299.

Upload your codec_dump.txt

Share this post


Link to post
Share on other sites
Posted (edited)

Hello everyone,

 

First of all, I started hackintoshing my Lenovo C530 Desktop about a month ago, so I'm not so experienced in this, if you want something you'll have to be more explicit about what do I have to do to provide it.

I have almost everything working now (except bluetooth and partially audio)

I heard about AppleALC and decided to give it a try (used VoodooHDA but the audio quality seems a little poor)

I have a special Audio Codec, Realtek ALC233, but the Vendor says something else: Vendor Id: 0x10ec0235 (ALC235 or ALC233?)

And from what I've found about these codecs is that they are made for mobile platforms (Laptops which have only 2 ports - one in one out), and my Desktop has 3 ports: one in back panel (think it's combo, and headphone and microphone in the front panel)

 

After installing AppleALC and trying all the layouts made for ALC233, only the 2 front jacks are working, the rear jack is not working at all (Installed Lilu, AppleALC, CodecCommander)

I want to mention that if I insert/remove a jack in the rear panel with headphones connected, the sound from the front panel is more amplified and the volume become significantly louder (I believe it's something to do with CodecCommander?)

 

Attached you can find my config.plist for debugging reasons and the codec_dump.txt from Ubuntu

Does someone have the time to explain me step by step what to do to enable the rear jack panel, please?

 

I have looked at the Info.plist from AppleALC.kext and found my current using layout at array no. 42, but I don't know what to insert there, hoping someone will help me here

I also see people screenshooting the IORegEx at HDEF entry, so attached you can find a screenshot of that too, but I don't know how to read things there

 

Thank you so much,

Andrei

 

config.plist

Screen Shot 2019-03-24 at 20.39.32.png

codec_dump_ubuntu.txt

Edited by arcanandrei
Uploaded wrong codec_dump

Share this post


Link to post
Share on other sites
11小时前,Andres ZeroCross说:

我问一下codec_dump.txt ,,,不是这个文件。 

Sorry, I don't understand that. Is that what you said?

Codec.txt

Share this post


Link to post
Share on other sites
On 3/1/2019 at 1:02 AM, DoZe said:

Hi :0)

 

This is my dump with latest Clover (4893).

 

Well, when i dump via Ubuntu , i have a CX8200 codec. But this is the first time i obtain "Unknown".

 

I can confirm in Zbook15uG4, The chip IS CX7700.

 

PS : Winrar is the latest (5.71)

 

Hope this can help.

 

Regards, Ray.

 

 

15uG4HDACodecDumpClover4893.rar

15uG4Doze.ioreg

 

Share this post


Link to post
Share on other sites
Posted (edited)

HP EliteDesk 800 G1 Mini with Realtek 221.

 

Everytime i try to use AppleALC i got:

kextd stall[0], (60s): 'IOHDACodecFunction'

 

It's booting the system for 10 minutes, and yet still not working (even when it boots after those 10 minutes, i can't see any audio device).

 

Latest Lilu, latest AppleALC, Injected with 11 and 15 (found two sources on which to use):

- Added ALC221 layout-id 15 for HP ELITE DESK 800 G1 by MacPeet (https://github.com/acidanthera/AppleALC/releases/tag/1.3.5)

- Realtek ALC221 layout 11 (https://github.com/acidanthera/AppleALC/wiki/Supported-codecs)

 

I can get HDMI/DP audio work easily, because i use supported HD4600, but i don't want that. I got my PC plugged directly into stereo amplifier using JACK->RCA connection, i don't care about HDMI sound.

 

Is this even AppleALC problem? It occurs only when i put the kext in L/E. Without AppleALC system is booting in literally 20s (without audio obviously, but everything else is working).

 

System is pretty much new and fresh.

 

Latest Clover

Latest Lilu

Latest WhateverGreen

Latest AppleALC with Injection on 11 and 15 layouts 

 

 

IMG_20190324_222500.jpg

Edited by sthEn

Share this post


Link to post
Share on other sites
Posted (edited)

Yeah, so, I've got AppleALC 1.3.4 with Lilu 1.3.4 on my sig build, aaand...I had occasions where it will simply lose audio. The devices are still detected, the kexts are obviously loaded, but no actual sound.

And I've got AppleALC 1.3.5 (and 1.3.6) with Lilu 1.3.3 on a Skylake build, with no issues.

 

Also, I've tried Lilu 1.3.5 & AppleALC 1.3.6 (official builds) and i've got the same weird issue with no sound sometimes, on the Skylake build. Weird thing is that I've got the same versions on my Haswell build...and so far so good... So something has to be different here... So far, I'd say this is probably a bug with Lilu...? Cause it doesn't seem to occur with combinations of old-Lilu + newer AppleALC.

 

So:

 

Lilu 1.3.3 + AppleALC 1.3.4 -> OK

Lilu 1.3.4 + AppleALC 1.3.4 -> no sound sometimes...but devices are still detected in System Preferences, just..no actual sound

Lilu 1.3.5 + AppleALC 1.3.6 -> OK...for now, but only on one build. On the Skylake, I still get no sound sometimes (and the devices are not detected either). Only BT devices (probably USB devices, too) seem to work in this case.

 

Later update: Lilu 1.3.5 + 1.3.6 = same issue on both builds

 

I'll keep investigating this, but so far, the most stable versions seem to be Lilu 1.3.3 + AppleALC 1.3.4. AppleALC doesn't seem to have any effect here. So, it works just as well with Lilu 1.3.3 and AppleALC 1.3.6, for example. But Lilu didn't work the same way regardless of version. And it looks like, starting with Lilu 1.3.4, there's a problem somewhere.

 

Edited by arsradu

Share this post


Link to post
Share on other sites

hello, well I'm having an issue where 
No audio at all, neither through headphones nor through speakers, no devices show on the Audio control panel, neither in nor out I Tried : 

1- installing AppleALC.Kext to /L/E
2- config.plist : A : DSDT patch: HDAS to HDEF
B: Devices: Inject “1” , ResetHDA : YES

vanilla AppleHDA is still loaded in the system 

Config Plist used: Rehabman’s Config for UHD630
MACOS : 10.14.3
Motherboard: HP Pavilion Gaming 15-CX0056wm 
BIOS: Clover UEFI 
Processor intel core i5-8300H & 300 Series Chipset
Graphics: intel UHD 630 (working) / nVidia 1050Ti (not working but didn’t disable it yet)
Audio : Vendor ID : 10EC (Realtek) Device ID : 0295 (after searching the internet I think the codec my device use is ALC295 correct me if I’m wrong)

Guide used to install macOS :
Why InsanelyMac does not support tonymacx86

Guide to get Audio Working:
Why InsanelyMac does not support tonymacx86

I tested all the layout IDs (1,3,13,14,15,28) but nothing worked

Thanks for your support

AudioIssueFIles.zip

Share this post


Link to post
Share on other sites
On 3/26/2019 at 3:08 PM, arsradu said:

Yeah, so, I've got AppleALC 1.3.4 with Lilu 1.3.4 on my sig build, aaand...I had occasions where it will simply lose audio. The devices are still detected, the kexts are obviously loaded, but no actual sound.

And I've got AppleALC 1.3.5 (and 1.3.6) with Lilu 1.3.3 on a Skylake build, with no issues.

 

Also, I've tried Lilu 1.3.5 & AppleALC 1.3.6 (official builds) and i've got the same weird issue with no sound sometimes, on the Skylake build. Weird thing is that I've got the same versions on my Haswell build...and so far so good... So something has to be different here... So far, I'd say this is probably a bug with Lilu...? Cause it doesn't seem to occur with combinations of old-Lilu + newer AppleALC.

 

So:

 

Lilu 1.3.3 + AppleALC 1.3.4 -> OK

Lilu 1.3.4 + AppleALC 1.3.4 -> no sound sometimes...but devices are still detected in System Preferences, just..no actual sound

Lilu 1.3.5 + AppleALC 1.3.6 -> OK...for now, but only on one build. On the Skylake, I still get no sound sometimes (and the devices are not detected either). Only BT devices (probably USB devices, too) seem to work in this case.

 

I'll keep investigating this, but so far, the most stable versions seem to be Lilu 1.3.3 + AppleALC 1.3.4. AppleALC doesn't seem to have any effect here. So, it works just as well with Lilu 1.3.3 and AppleALC 1.3.6, for example. But Lilu didn't work the same way regardless of version. And it looks like, starting with Lilu 1.3.4, there's a problem somewhere.

 

Ok, will keep Lilu 1.3.3 and AppleALC then. It seems ok anyway with the latest 10.14.4.

 

Thanks.

Share this post


Link to post
Share on other sites
Posted (edited)

Hello,

 

I have a Dell 17R 7720 Special Edition Laptop (Core i7, HD 4000, nVidia GT 650M) and actually I'm checking the audio problem. VoodooHDA works, but main volume control is not possible. It's a bit annyoing to use the volume control of each program.

 

I modified some of the kext because Apple libraries higher than 8.0.0 were necessary, so all kexts are working.

AppleALC.kext is loaded, I also added the IDT 92HD91BXX (Codec ID: 0x111D76E0 / 287143648), but during booting it's displayed that the pinout is wrong. How can I create a new one?

 

Greets, naquaada.

Edited by naquaada

Share this post


Link to post
Share on other sites

In the System Profiler all audio connectors are shown, but it's still not activated. It shows Audio ID 7.

Share this post


Link to post
Share on other sites
Posted (edited)

@vandroiy2012

Applealc have some thing wrong on my laptop

I5 4250u

 

alc269vc

 

all of the layout id colud not work.

i have also use linux to find the codec

i uploaded the clover , dsdt,codec.

what should I do?

This problem has been bothering me for two days.

thanks

 

2019-03-31 20:18:23.389590+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ failed to find IOHDACodecVendorID, retrying 0

2019-03-31 20:18:17.997435+0800  localhost kernel[0]: calling mpo_policy_init for Lilu

2019-03-31 20:18:18.003796+0800  localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.3.5 (Lilu)

2019-03-31 20:18:23.389590+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ failed to find IOHDACodecVendorID, retrying 0

2019-03-31 20:18:23.398483+0800  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 0 patches out of 1

all.zip

Edited by tom666

Share this post


Link to post
Share on other sites
Posted (edited)
On 3/11/2019 at 1:16 AM, MortyMars said:

 

Hi,

I've solved my pb by installing CodecCommander.kext of Rehabman (thanks), in L/E like recommended, and after editing the info.plist file...

Thanks ;-)

Hi, i have the same pb like you. Could you share your CodecCommander file ? I have a XPS 13 9370 too with an ALC299. Device showed up but no audio. 
You placed it in the L/E not S/L/E ?
Best regards

all.zip

Edited by WHLBR

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   0 members

    No registered users viewing this page.

×