Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,436 posts in this topic

Recommended Posts

Advertisement

 

1 hour ago, MacPeet said:

ok, I'll see it again tomorrow

Headphones also removed? Speakers and headphones are configured in SwitchMode (only one port is visible at a time).

I think that is because my laptop I made the IOReg after 'sleep'. What kind of fix is recommend for EAPD then (if I don't may use CodecCommander.kext)? I think the speaker problem is somewhere with the pinconfigs/ pathmaps.

Attached is a fresh IOReg which I made directly after a reboot, when headphones are working

IOReg-MegaCookie3.zip

Edited by MegaCookie
clearification

Share this post


Link to post
Share on other sites
18 hours ago, meaganmargaret said:

Is there a new version of AppleALC, that works with 10.13.4 and fixes the issues with HDMI audio (like today or yesterday)?

After upgrading to 10.13.4, I'm also experiencing an hdmi problem with Nvidia.

Share this post


Link to post
Share on other sites
3 minutes ago, Willen said:

After upgrading to 10.13.4, I'm also experiencing an hdmi problem with Nvidia.

 

Try this......from Toleda.....

 

Nvidia HDMI Audio/10.13.4

The process that enabled all Nvidia HDMI audio codecs has been disabled in 10.13.4 AppleHDAController.kext. Device-ids for natively supported Nvidia graphics cards remain and work.

Supported Nvidia HDMI audio controller device ids (10.13.4 AppleHDAController):

  • DE 10 C0 0A
  • DE 10 94 0D
  • DE 10 E2 0B
  • DE 10 E3 0B
  • DE 10 E4 0B
  • DE 10 E5 0B
  • DE 10 EB 0B
  • DE 10 E9 0B
  • DE 10 EA 0B
  • DE 10 EE 0B
  • DE 10 08 0E
  • DE 10 09 0E
  • DE 10 0A 0E
  • DE 10 0B 0E
  • DE 10 1B 0E
  • DE 10 1A 0E
  • DE 10 00 00

Workarounds (select one):

  1. Backup 10.13.3/AppleHDA.kext_v280.12 prior 10 10.13.4 Update, install with kext installer to 10.13.4
  2. Add AppleHDAController patch to config.plist/KernelAndKextPatches/KextsToPatch with Xcode:
  3. Install latest AppleALC.kext/Lilu.kext to CLOVER/kexts/Other
Edited by meaganmargaret

Share this post


Link to post
Share on other sites

Computer Configuration:
CPU: i3 7100 (Intel Graphics HD630)
Motherboard: Biostar B250ET2 (sound card: ALC891)

HD630 graphics card is driven, Ubuntu system extracts sound card codec (attachment uploaded), layout ID settings 11, 13 only front headphone output

CodecDump.zip

Edited by Mr788

Share this post


Link to post
Share on other sites

@MegaCookie

You have not reported on the inputs.
Internal mic works?
External Mic (LineIn) works?

Your codec_dump is very clear. Speaker on 27-13-3.
We have already tried: 27-13-3 and 27-38-37 (codecDump says EAPD: 2)
HP: 20-12-2 (codecDump says EAPD: 2)
Mic int .: 8-35-18
Mic ext. (LineIn): 9-34-24
SPDIF: 30-6

Try this (here Speaker and HP in ManualMode):

trial3_ALC1220_for_Clevo_P950HR_LayoutID13.zip

Share this post


Link to post
Share on other sites
2 hours ago, MacPeet said:

@MegaCookie

You have not reported on the inputs.
Internal mic works?
External Mic (LineIn) works?

Your codec_dump is very clear. Speaker on 27-13-3.
We have already tried: 27-13-3 and 27-38-37 (codecDump says EAPD: 2)
HP: 20-12-2 (codecDump says EAPD: 2)
Mic int .: 8-35-18
Mic ext. (LineIn): 9-34-24
SPDIF: 30-6

Try this (here Speaker and HP in ManualMode):

trial3_ALC1220_for_Clevo_P950HR_LayoutID13.zip

Thanks! The internal speakers are finally working when the audio output is set to 'Headphone'. Audio with headphones is also working when the audio device is set to: 'Headphone', is that what you mean with 'Speaker and HP in ManualMode'? The internal microphone works fine as well, but I cannot test an external microphone as I don't have one.

 

BTW: should EAPD now covered in AppleALC as well, or do I need another kext for that? The audio doesn't work after 'sleep' with your AppleALC.kext.

Edited by MegaCookie
EAPD question

Share this post


Link to post
Share on other sites

Please show me pictures of system settings / sound.
Speaker work when HP is set?

The first two attempts are configured in SwitchMode.
In System Preferences / Sound only one output is visible.
Example: Speaker is visible - now that HP is plugged in, then the display automatically switches to HP. If HP is removed, the speakers are displayed again.

Trial 3 is ManualMode. Both outputs are visible in System Settings / Sound / Output.
The selection is done manually.

EAPD is set in the PinConfig.
Sleep is a completely different story.
Try ResetHDA in the Clover or EAPDFix.kext or try again the CodecCommander.kext for audio after Sleep. 
EAPDFix.kext and CodecCommander.kext (info.plist) should contain the correct nodes.

HDMI must be regulated in the DSDT. (HDAU and hda gfx entries). This is not a matter of AppleALC.

Edited by MacPeet

Share this post


Link to post
Share on other sites
On 05/04/2018 at 11:22 AM, meaganmargaret said:

 

Try this......from Toleda.....

 

Nvidia HDMI Audio/10.13.4

The process that enabled all Nvidia HDMI audio codecs has been disabled in 10.13.4 AppleHDAController.kext. Device-ids for natively supported Nvidia graphics cards remain and work.

Supported Nvidia HDMI audio controller device ids (10.13.4 AppleHDAController):

  • DE 10 C0 0A
  • DE 10 94 0D
  • DE 10 E2 0B
  • DE 10 E3 0B
  • DE 10 E4 0B
  • DE 10 E5 0B
  • DE 10 EB 0B
  • DE 10 E9 0B
  • DE 10 EA 0B
  • DE 10 EE 0B
  • DE 10 08 0E
  • DE 10 09 0E
  • DE 10 0A 0E
  • DE 10 0B 0E
  • DE 10 1B 0E
  • DE 10 1A 0E
  • DE 10 00 00

Workarounds (select one):

  1. Backup 10.13.3/AppleHDA.kext_v280.12 prior 10 10.13.4 Update, install with kext installer to 10.13.4
  2. Add AppleHDAController patch to config.plist/KernelAndKextPatches/KextsToPatch with Xcode:
  3. Install latest AppleALC.kext/Lilu.kext to CLOVER/kexts/Other

It worked just by installing AppleHDA 10.13.3.
Thank you for your help!

Share this post


Link to post
Share on other sites

I'm looking for advice on what I might be doing wrong with this setup.

I have an Asus Z97-A motherboard which uses ALC892 

On Sierra, I used toleda/audio_CloverALC using Clover Injection and Layout ID 1. It had worked a treat, and I was using Aggregated Surround sound (Built In Output, Built In Line Output 1 & 2).

On moving to High Sierra today I used the vit9696 AppleALC kext and its MOSTLY working. Built In Line Output 1 & 2 are both working and happily driving the subwoofer, centre and rear speakers. 

However I'm getting no output from Built In Output, which would drive the front left and right.

I edited the config.plist to rename HDAS to HDEF in ACPI, and under devices told it to Inject Layout 1.

According to ioregisteryexplorer, I do have HDEF and its using Layout 1.

Screen Shot 2018-04-09 at 01.17.00.png

Share this post


Link to post
Share on other sites
1 hour ago, tarasis said:

On Sierra, I used toleda/audio_CloverALC using Clover Injection and Layout ID 1. It had worked a treat, and I was using Aggregated Surround sound (Built In Output, Built In Line Output 1 & 2).

Did you removed old Clover_ALC Injection? I mean from KernelAndKextToPatch in the Config.plist, because you should have it working!

Or remove everything that concern Audio injection from the Config.plist and then do an SSDT or DSDT injection and make sure to Drop OEM _DSM, and use clover patch for HDAS to HDEF

HdefSSDT.dsl

HdefSSDT.aml

Edited by ammoune78

Share this post


Link to post
Share on other sites
9 hours ago, ammoune78 said:

Did you removed old Clover_ALC Injection? I mean from KernelAndKextToPatch in the Config.plist, because you should have it working!

Or remove everything that concern Audio injection from the Config.plist and then do an SSDT or DSDT injection and make sure to Drop OEM _DSM, and use clover patch for HDAS to HDEF

HdefSSDT.dsl

HdefSSDT.aml

Cheers, I had missed an entry in the KernelAndKextToPatch section of config.plist. I thought I had disabled it, but obviously hadn't saved after I made the change.

Audio now fully working, thank you. 

Share this post


Link to post
Share on other sites

I tried 1.2.6 with my Vaio's ALC269 (layout 6) without  codec commander hoping it would no longer be needed but that wasn't the case.

Tried adding the following lines to layout 6 in info.plist but still no audio after wake without codec commander.

<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>

 

Share this post


Link to post
Share on other sites
1 hour ago, Dr. Hurt said:

I tried without  codec commander

I think you really need it

Share this post


Link to post
Share on other sites
On 4/7/2018 at 8:05 AM, MacPeet said:

Please show me pictures of system settings / sound.
Speaker work when HP is set?

The first two attempts are configured in SwitchMode.
In System Preferences / Sound only one output is visible.
Example: Speaker is visible - now that HP is plugged in, then the display automatically switches to HP. If HP is removed, the speakers are displayed again.

Trial 3 is ManualMode. Both outputs are visible in System Settings / Sound / Output.
The selection is done manually.

EAPD is set in the PinConfig.
Sleep is a completely different story.
Try ResetHDA in the Clover or EAPDFix.kext or try again the CodecCommander.kext for audio after Sleep. 
EAPDFix.kext and CodecCommander.kext (info.plist) should contain the correct nodes.

HDMI must be regulated in the DSDT. (HDAU and hda gfx entries). This is not a matter of AppleALC.

With these settings the speakers and headphones are working:

5acb9dba19d93_ScreenShot2018-04-09at19_06_02.png.00248e2359c2e918fbfba18c06cd9eef.png

So yes you are right that I got two different outputs using the manual mode, however the 'Internal Speakers' setting is not working. I have to set it to Headphones even when I'm using the integrated speakers. Switching to 'Internal speakers' simply does result in not working audio.

 

Share this post


Link to post
Share on other sites
5 hours ago, toleda said:

Xcode 9.2, build problem. Suggestions?

5acc3413e762f_ScreenShot2018-04-09at11_45_39PM.thumb.png.33a7939c059af70029a523638b68138d.png

These files are present in Lilu debug kext (in its SDK). Check whether anything could have gone wrong during its extraction.

Share this post


Link to post
Share on other sites
9 hours ago, MacPeet said:

@MacPeet 

Yes it's very strange. With this trial it didn't change anything noticeable.

I can live with it though, audio and microphone are actually working fine. Switching between Headphones and Speakers also kinda works, I just have to leave it to 'Headphones'.

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

×