Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,398 posts in this topic

Recommended Posts

Hi guys,

i've a new laptop and i'm trying to make the audio working with no luck.

 

Hackintool info :

Controller : Intel Sunrise Point-LP HD Audio

Codec: ALC256 (3246)

 

I'm using lastest AppleALC and lilu. I've also CodecCommander and SSDT-ALC256  and i've tried all the layout ID for my Codec.

13 it seems to be the best but not completely :

Headphones are working well

Internal speaker are working but it seems like the sound is coming  from the bottom of the laptop. I don't know how to explain but on Windows the internal speaker are louder and the sound is clear.

 

What can i do ?

 

Thanks

Mattia

 

Share this post


Link to post
Share on other sites
Advertisement
13 hours ago, tmbt said:

Hi guys,

i've a new laptop and i'm trying to make the audio working with no luck.

 

Hackintool info :

Controller : Intel Sunrise Point-LP HD Audio

Codec: ALC256 (3246)

 

I'm using lastest AppleALC and lilu. I've also CodecCommander and SSDT-ALC256  and i've tried all the layout ID for my Codec.

13 it seems to be the best but not completely :

Headphones are working well

Internal speaker are working but it seems like the sound is coming  from the bottom of the laptop. I don't know how to explain but on Windows the internal speaker are louder and the sound is clear.

 

What can i do ?

 

Thanks

Mattia

 

Whats' your notebook Model?? And upload your codec_dump.txt from live linux

Share this post


Link to post
Share on other sites

Great work Toleda!

 

Got my old dog ep-45-UD3R DSDT free with this cool hack. It’s an 889a chip working on ID # 5 for some reason. 

 

On each boot, the cp resets to built in sound. Is that normal?

Share this post


Link to post
Share on other sites
Great work Toleda!
 
Got my old dog ep-45-UD3R DSDT free with this cool hack. It’s an 889a chip working on ID # 5 for some reason. 
 
On each boot, the cp resets to built in sound. Is that normal?
What do you mean by "cp reset to built in audio". Please explain more detail.

Sent from my Mi Note 2 using Tapatalk

Share this post


Link to post
Share on other sites

Does anybody have any advice on what should I try to do?

 

 

On 2/6/2019 at 6:38 PM, zerobokoo said:

Hello

I have a Lenovo P40 Yoga laptop. According to the official specs, it has a Conexant CX11852 codec, but according to Linux (where the audio works) it's a rebranded CX20753/4

I have installed the latest macOS Mojave and added the latest Lilu.kext (1.3.3) and AppleALC.kext (1.3.5) through Clover UEFI.

According to the sources, there are currently 2 configured layouts for this codec, with id 3 and 21. I have tried both (simply by setting 3 and 21 in the following piece of config and rebooting, please let me know if I'm missing some other step?) but no audio device appeared in OS X.


<key>Audio</key>
<dict>
    <key>Inject</key>
    <integer>3</integer>
    <key>ResetHDA</key>
    <true/>
</dict>

What else could I try?

 

I have attached my codec dump from Linux as well as my Clover config. Any help would be appreciated!

codec0.txt

config.plist

 

Share this post


Link to post
Share on other sites
19 minutes ago, Andres ZeroCross said:

Upload your IOREG Output, Use IOREG version 2.1

 

Here it is. TIA

 

p40yoga.zip

Edited by zerobokoo
zipped attachment

Share this post


Link to post
Share on other sites
15 minutes ago, Andres ZeroCross said:

Your codec dump.txt is same like other CX20751/2, no diffrent

 

Yes i cant figure out what the problem is. What do you think is causing this?

Share this post


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

What do you mean by "cp reset to built in audio". Please explain more detail.

Sent from my Mi Note 2 using Tapatalk
 

 

Sorry. The preference pane for sound doesn’t stay on line out after restart and resets to ‘built-in’ speakers

Share this post


Link to post
Share on other sites
 
Sorry. The preference pane for sound doesn’t stay on line out after restart and resets to ‘built-in’ speakers
It's about nvram i think. Make sure your NVRAM is working

Sent from my Mi Note 2 using Tapatalk

Share this post


Link to post
Share on other sites
 
Yes i cant figure out what the problem is. What do you think is causing this?
Bad configuration dsdt/ssdt + config.plist.

I can help,

1. Press f4 in GUI CLOVER (to dump oem acpi)
2. Zip your clover folder
3. Move all additional kexts from Library/extensions to Clover/extra/others
4. Write detail of your specifications
5. Zip all files and upload here

Sent from my Mi Note 2 using Tapatalk

Share this post


Link to post
Share on other sites
Try ID 13 
 
 
What are you doing??? There is no layoutID=13 for CX20753/4. Don't give random solution like that

Sent from my Mi Note 2 using Tapatalk

Share this post


Link to post
Share on other sites
17 minutes ago, Andres ZeroCross said:

What are you doing??? There is no layoutID=13 for CX20753/4. Don't give random solution like that

Sent from my Mi Note 2 using Tapatalk
 

Sorry man. I saw some cx chips using 13. My solution was found fairly randomly after pulling hairs out for 48 hours with .sh and .command attempts.  A key thing for me was following the instructions on restoring AppleHDA.KEXT.

 

BTW. my -preferences are now sticking.

Share this post


Link to post
Share on other sites
16 hours ago, Andres ZeroCross said:

Whats' your notebook Model?? And upload your codec_dump.txt from live linux

My laptop is : Huawei Matebook D 2018 Intel i5.

 

Attached you will find my dump.

Thanks

 

Mattia

codec-dump.txt

Share this post


Link to post
Share on other sites
9 minutes ago, Andres ZeroCross said:

Use this,, use layoutID = 22

AppleALC.kext.zip

Thanks ! It works now!

Could you please explain to me what's the difference between your AppleALC and the official one ?

 

There is also a really minor glitch.

When i boot the OS without headphone connected and i click on the sound icon in the bar i can see there are two Output devices: Internal Speakers. If i select the first one i got the same audio problem than before. If i select the second one audio is working ok.

 

When i connect the headphones and click again on the sound icon the first Internal Speakers is called now Headphone and it works perfectly.

If i disconnect the headphones and click on the sound icon again i have again 2 internal Speakers.

 

It seems like the Headphone line is recognize only when the headphones are physically connected to the laptop. Is this normal?

 

Anyway a BIG thanks ZeroCross

 

Mattia

 

 

 

Share this post


Link to post
Share on other sites
2 minutes ago, tmbt said:

Thanks ! It works now!

Could you please explain to me what's the difference between your AppleALC and the official one ?

 

There is also a really minor glitch.

When i boot the OS without headphone connected and i click on the sound icon in the bar i can see there are two Output devices: Internal Speakers. If i select the first one i got the same audio problem than before. If i select the second one audio is working ok.

 

When i connect the headphones and click again on the sound icon the first Internal Speakers is called now Headphone and it works perfectly.

If i disconnect the headphones and click on the sound icon again i have again 2 internal Speakers.

 

It seems like the Headphone line is recognize only when the headphones are physically connected to the laptop. Is this normal?

 

Anyway a BIG thanks ZeroCross

 

Mattia

 

 

 

You have 2 internal Speaker.

Tweter speaker is designed to switch with HEadphone. Tweeter Speaker and Another Speaker are set as "Internal Speaker".

I hope you understand,, i didn't upload the resource yet. maybe later

Share this post


Link to post
Share on other sites
1 minute ago, Andres ZeroCross said:

You have 2 internal Speaker.

Tweter speaker is designed to switch with HEadphone. Tweeter Speaker and Another Speaker are set as "Internal Speaker".

I hope you understand,, i didn't upload the resource yet. maybe later

Honestly i don't .. but it's ok. Just the most important question : Can i in the future update AppleALC if a new version come out or should i stick with the one you gave me ?

 

Thanks again for your time

 

Mattia

 

Share this post


Link to post
Share on other sites
Just now, tmbt said:

Honestly i don't .. but it's ok. Just the most important question : Can i in the future update AppleALC if a new version come out or should i stick with the one you gave me ?

 

Thanks again for your time

 

Mattia

 

Yes,, i will upload the resource soon. You can use layout=22 in next release AppleALC.kext

Share this post


Link to post
Share on other sites
1 minute ago, Andres ZeroCross said:

Yes,, i will upload the resource soon. You can use layout=22 in next release AppleALC.kext

Thank you !!!

You saved my day. I was stuck with this audio issue and you've solved it !

 

Mattia

 

Share this post


Link to post
Share on other sites
On 1/21/2019 at 6:37 PM, Andres ZeroCross said:

 

Revert back to your previous ones,, your codec and AlexAMD is same ALC256 but different layoutID. Both of you make me confuse.

Take another day,,, Alex make fast response,, so i will help him first

AppleALC.kext.zip

@Andres ZeroCross, can we fix it now ?

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

×