Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

 
I build unofficial appleALC 1.3.0 and unofficial Lilu 1.2.5: all work fine with my layout-id=1 on High Sierra. I think it will the same on Mojave: test this afternoon.
 
Thanks a lot 


Cool! Could you also test sound after sleep with those builds when using Internal Speakers option in Mojave? Without Codec Commander.
  • Like 1
Link to comment
Share on other sites

55 minutes ago, arsradu said:

 


Cool! Could you also test sound after sleep with those builds when using Internal Speakers option in Mojave? Without Codec Commander.

 

 

unofficial appleALC 1.3.0 and unofficial Lilu 1.2.5 works fine on Mojave (for my codec ALC892) :) Long time ago, I've issue with sleep on my rig: it's desactived

 

EDIT: I try "Suspend activity" in Finder. I've sound on Internal Speakers after return. on Desktop (Mojave).

Edited by Matgen84
Link to comment
Share on other sites

25 minutes ago, Matgen84 said:

 

unofficial appleALC 1.3.0 and unofficial Lilu 1.2.5 works fine on Mojave (for my codec ALC892) :) Long time ago, I've issue with sleep on my rig: it's desactived

 

EDIT: I try "Suspend activity" in Finder. I've sound on Internal Speakers after return. on Desktop (Mojave).

 

I'm not sure Suspend Activity is the same as Sleep... So the result might vary as well. If you had issues with Sleep in Mojave...I think you might want to give it another try (assuming you're using the latest Developer Beta 3). Might have been fixed.

Now, of course, I don't know exactly which issues did you have before. I just know I had Sleep issues on my MBP, too. But they seem to have been fixed since.

 

Anyway, thank you for the tests.

  • Like 1
Link to comment
Share on other sites

2 hours ago, arsradu said:

 

I'm not sure Suspend Activity is the same as Sleep... So the result might vary as well. If you had issues with Sleep in Mojave...I think you might want to give it another try (assuming you're using the latest Developer Beta 3). Might have been fixed.

Now, of course, I don't know exactly which issues did you have before. I just know I had Sleep issues on my MBP, too. But they seem to have been fixed since.

 

Anyway, thank you for the tests.

 

EDIT

I don't use "sleep" long time ago because of kernel panic on my Desktop. If it's enable in pref: kernel panic and reboot my system. So I can't test without solve this issue

Edited by Matgen84
Link to comment
Share on other sites

8 hours ago, twsps said:

Yes I did try with that. However, it's still the same…

Sent from my MHA-AL00 using Tapatalk

What laptop are you using? Layout 3 wont work for me as well, but 13 and 28 works fine. Do you have any cpu high temp issue with this kext?

Sent from my MHA-AL00 using Tapatalk
 

Just tried layouts 13 and 28, same result. As for the CPU temp, I have a i5-8250U, and the temperature is around 50º right now. The fan kicks in frequently, though.

EDIT: SOLVED, forgot I had injected the layout-id through DSDT. Changed it to 28, just like in config.plist, and now everything works as it should.

Edited by pepito1
Link to comment
Share on other sites

Just tried layouts 13 and 28, same result. As for the CPU temp, I have a i5-8250U, and the temperature is around 50º right now. The fan kicks in frequently, though.
Yes, and inject id 3 wont work but the cpu will also have high temp. You can install Intel power gadget and check cpu frequency. My stays around 3.7ghz constantly

Sent from my MHA-AL00 using Tapatalk

Link to comment
Share on other sites

8 hours ago, Matgen84 said:

 

EDIT

I don't use "sleep" long time ago because of kernel panic on my Desktop. If it's enable in pref: kernel panic and reboot my system. So I can't test without solve this issue

 

Well, I'll try not to deviate too much from sound issues... But kernel panic is usually caused by improper config (especially ACPI), or... custom DSDTs creating issues in collaboration with the config, or on their own. That's one more reason why I don't like using custom DSDTs, unless there is absolutely no way I can accomplish that thing from config.

 

Also, If you're using the iGPU...that's one more reason for sleep not working. It works on my HD 4600 connected via DVI & HDMI. But the issue remains: no sound after sleep.

 

Interestingly enough, I seem to have sound after sleep with ALC 1150. Which makes me think this could be a specific issue for ALC 892...?

Edited by arsradu
  • Like 1
Link to comment
Share on other sites



Just tried layouts 13 and 28, same result. As for the CPU temp, I have a i5-8250U, and the temperature is around 50º right now. The fan kicks in frequently, though.
EDIT: SOLVED, forgot I had injected the layout-id through DSDT. Changed it to 28, just like in config.plist, and now everything works as it should.


What do you mean by injecting layout id through dsdt? Please help me with this issue

Sent from my MHA-AL00 using Tapatalk

Link to comment
Share on other sites

Just tried layouts 13 and 28, same result. As for the CPU temp, I have a i5-8250U, and the temperature is around 50º right now. The fan kicks in frequently, though.
EDIT: SOLVED, forgot I had injected the layout-id through DSDT. Changed it to 28, just like in config.plist, and now everything works as it should.
For DSDT you mean the one in config.plist or the one in /ACPI/Patched?

Sent from my MHA-AL00 using Tapatalk

Link to comment
Share on other sites

For DSDT you mean the one in config.plist or the one in /ACPI/Patched?

Sent from my MHA-AL00 using Tapatalk

I tried with the latest AppleALC and Lilu with no dsdt and no hdas to hdef patch in config plist but I still have this issue. Would you mind to help me out with providing your files?

Sent from my MHA-AL00 using Tapatalk

Link to comment
Share on other sites

I tried with the latest AppleALC and Lilu with no dsdt and no hdas to hdef patch in config plist but I still have this issue. Would you mind to help me out with providing your files?

Sent from my MHA-AL00 using Tapatalk



You may have to inject plugin-type 1 from config or use piker SSDTgen to generate CpuSsdt, in order to have working power management, without it your cpu will always stay at higher frequency! Also if you’re going to use it, just drop Cpu0ist and CpuPm tables from the config


Sent from my iPhone using Tapatalk
  • Like 1
Link to comment
Share on other sites



You may have to inject plugin-type 1 from config or use piker SSDTgen to generate CpuSsdt, in order to have working power management, without it your cpu will always stay at higher frequency! Also if you’re going to use it, just drop Cpu0ist and CpuPm tables from the config


Sent from my iPhone using Tapatalk
I am sure I have my cpu power management working without applealc and correct inject id installed. So if you're saying about my cpu power management then that's not the case here

Sent from my MHA-AL00 using Tapatalk

Link to comment
Share on other sites

I am sure I have my cpu power management working without applealc and correct inject id installed. So if you're saying about my cpu power management then that's not the case here

Sent from my MHA-AL00 using Tapatalk

Have you checked cpupm with AppleIntelInfo.kext?
Post the output.

Sent from my SM-G930F using Tapatalk

  • Like 1
Link to comment
Share on other sites

Hello

i am in Asus U36SD Sandy Bridge using El Capitan in Enoch Bootloader MBR. The sound card is ALC269VB and HDMI audio cougar. With ioreg i saw the layout id is 0c 00 00 00 aka 12. DSDT untouched.

No support for layout id 12 for this ALC269, right. linuxdump in below

 

Usually AppleALC can be used with Clover boot loader with Lilu kext and hdaenabler and layoutid in clover config.

1. Is there any experience using this AppleALC with Enoch boot loader?

   I guess it still need Lilu.kext

   and have Layout id like this? Any add on kext others except AppleALC and lilu?

   

   in com.chameleon.Boot.plist 

	<key>HDAEnabler</key>
	<string>Yes</string>
	<key>HDEFLayoutID</key>
	<string>0c000000</string

 is it needed to also ? kext-dev=1

	<key>Kernel Flags</key>
	<string>-v -f kext-dev-mode=1</string>       
    <key>CsrActiveConfig</key>  
       <string>3</string>

   Any thoughts ?

codec0_dump.txt

codec0_dump3.txt

lspci.txt

Edited by Babiloe
Link to comment
Share on other sites

Those 2 are using different algorithm. applealc needs applehda while voodoo does not. There must be "something" that triggers it when you install one of those mentioned.
VoodooHDA has no problem with power management

Sent from my MHA-AL00 using Tapatalk

Link to comment
Share on other sites

Oook. For anyone interested, looks like the sound after sleep problem is Layout ID dependent (not sure if that's intended, but the results are definitely different, depending on that).

 

ALC892 for MSi Z97S SLI Krait Edition

 

Layout ID 1 -> no sound after sleep with Internal Speakers/headphones. Line Outs work.

Layout ID 2 -> no sound after sleep with Internal Speakers/headphones. Line Outs don't work (probably intended).

Layout ID 28 -> sound after sleep works with Internal Speakers/headphones! Line Out option doesn't work (no sound).

Layout ID 31 -> sound after sleep works with Internal Speakers/headphones. Line Out option doesn't work (no sound).

Layout ID 92 -> sound after sleep works with Internal Speakers/headphones! Line Outs work, as well (not sure if there should be Line Outs for my motherboard...but there is sound....so maybe there are? No idea)

 

Layout IDs 3, 5 & 7 -> no sound whatsoever with Internal Speakers/headphones.

Layout IDs 3 & 7 -> sound only with Line Out.

 

Layout IDs 98 & 99 -> no output of any kind.

 

Also, with Layout ID 92, the sound is a bit distorted... Donno why.

 

Digital Out doesn't work. But that's definitely intended since my motherboard doesn't have a Digital Out port. Maybe it considers HDMI as Digital Out...?

 

I'm curious...can my actual configuration be added to AppleALC? Or...is it already there? Which files do I need for that? And how do I get them?

 

Update: linux dump attached (if it helps)

 

codec_dump_card1(ALC892).txt

Edited by arsradu
  • Like 1
Link to comment
Share on other sites

1 hour ago, arsradu said:

Oook. For anyone interested, looks like the sound after sleep problem is Layout ID dependent (not sure if that's intended, but the results are definitely different, depending on that).

 

ALC892

Layout ID 2 -> no sound after sleep with Internal Speakers/headphones. Line Outs don't work (probably intended).

Layout ID 28 -> sound after sleep works with Internal Speakers/headphones! Line Out option doesn't work (no sound).

Layout ID 92 -> sound after sleep works with Internal Speakers/headphones! Line Outs work, as well (not sure if there should be Line Outs for my motherboard...but there is sound....so maybe there are? No idea)

 

Digital Out doesn't work. But that's definitely intended since my motherboard doesn't have a Digital Out port. Maybe it considers HDMI as Digital Out...?

 

I'm curious...can my actual configuration be added to AppleALC? Or...is it already there? Which files do I need for that? And how do I get them?

 

Update: linux dump attached (if it helps)

 

codec_dump_card1(ALC892).txt

 

My mobo for Desktop have also ALC892. I use layout-id=1 for High Sierra and Mojave, with Unofficial AppleALC 1.3.0 and Lilu 1.2.5

 

Sound after screensaver and suspend activity, is OK. I don't use "sleep mode" But I try it now using sleep timer.app (and report)

 

Configuration can be added to AppleALC, with this guide: Here

 

EDIT: sound after "sleep timer" works with internal speakers

Edited by Matgen84
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...