Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,371 posts in this topic

Recommended Posts

 

hello @vandroiy2012
 
Happy New Year for the AppleALC team and thank you for your good work.
 
I have a new codec for Realtek ALC262 for HP Z800-Z600 series.
 
 
LayoutID 28 (1C)
 
all works good (... with CodecCommander)
 
can you please added the new codec?
 

 

many thanks

 

Where can i find this codec commander thing? So, If I use this kext and codec commander and layout ID 28 on my Z800 HP, then audio will work?

Link to comment
Share on other sites

Where can i find this codec commander thing? So, If I use this kext and codec commander and layout ID 28 on my Z800 HP, then audio will work?

For as far as I know, Codec Commander is a kext (needs to be installed in S/L/E) which helps with sound after sleep. If you have no sound at all, I don't think Codec Commander is gonna help you much.

 

Anyway, as for your question, you can download the kext from RehabMan's bitbucket page here.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Bumping again as I would like this to work for all (including myself) ALC221 users.

Again, Microphone isn't working as excepted (rear and front) and I would be grateful to anyone that can provide any support on this case.

 

Tried a discussion on git ALC repo without success (see https://github.com/vit9696/AppleALC/issues/244)for history.

 

I'm, of course, ready to provide, my time for testing and any other further information needed.

 

 

Hi,

First, thanks to all contributors of this project.

 

I would like to report partial success with Realtek ALC221 chip on an HP 8300 SFF computer.

 

However the Microphone (rear or front jack) is not working on HP 8300 SFF model.

 

Could someone point me in the right direction to fix this plz ?

 

 

Attached is the codec dump from linux and generated info.plist

Thanks again for sharing your time and knowledge.

Link to comment
Share on other sites

Hi,

Bumping again as I would like this to work for all (including myself) ALC221 users.

Again, Microphone isn't working as excepted (rear and front) and I would be grateful to anyone that can provide any support on this case.

 

Tried a discussion on git ALC repo without success (see https://github.com/vit9696/AppleALC/issues/244)for history.

 

I'm, of course, ready to provide, my time for testing and any other further information needed.

 

What about the mic doesn't work? A headset with a mic seems to work on mine correctly with both front and back ports.

Link to comment
Share on other sites

Laptop Intel Kaby Lake HD630 HDMI audio support (ig-platform-id 0x591b0000)
 

 

It's possible provide support to Intel Kaby Lake HD630 HDMI audio (ig-platform-id 0x591b0000), because I can just have HDMI audio working with ig-platform-id 0x59120000 or 0x191b0000 but my laptop screen doesn't work in this situation.
 
Thanks in advance 
Link to comment
Share on other sites

Hi I have a:

 

* Skylake

* HP EliteDesk 800 G2 TWR

* Realtek ALC 221 Audio

* 10.13.3

 

Unfortunately AppleALC is not working with the ALC221 support from @GoldFish64 

 

I checked the `Adding Codec Support` but it does not gives me a clear understanding how to create the necessary files. 

 

I really want to experiment so can you point me to some documentation on the theory behind the files in order to get me going?

 

Thanks!

Link to comment
Share on other sites

Nothing as of yet, just would like a guide to reference when and if I do need to.

 

 

Well, the instructions are not that bad, in my opinion. The thing that's not really clear to me is where do you get those codec informations from? Those "platforms" and all that. That's the first part that's not really clear to me.

Link to comment
Share on other sites

Well, the instructions are not that bad, in my opinion. The thing that's not really clear to me is where do you get those codec informations from? Those "platforms" and all that. That's the first part that's not really clear to me.

You would have to provide them. AppleALC is a dynamic patcher for AppleHDA (as per the title); the adding codec support page assumes you already have working XML resources for AppleHDA (which could be created by following any codec patching guide for AppleHDA).

  • Like 2
Link to comment
Share on other sites

@Pavo

 
What exactly do you need a manual for?
Well functioning codec already exists and it is only about the handling of the AppleALC and Lilu source, or about the insertion of the finished codecs?
Link to comment
Share on other sites

Hey all, i have a problem to get sound stably working, i mean in each 2 or 3 reboots or powering on the Laptop, the sound disappears, so here's the report:

 

1. Laptop model: HP ProBook 650 G1 Haswell-i5 4200M

2. Codec name: IDT 92HD91BXX
3. Layout used: 84, 33, 12, 3 no one work, only the patched AppleHDA worked with the problem told above 
4. 10.11, 10.12, 10.13
5. Autogenerated Info.plist: Info.plist.zip

 

Here's the patch used in the DSDT:



                Name (RMCF, Package (0x06)
                {
                    "CodecCommander", 
                    Package (0x02)
                    {
                        "Disable", 
                        ">y"
                    }, 

                    "CodecCommanderPowerHook", 
                    Package (0x02)
                    {
                        "Disable", 
                        ">y"
                    }, 

                    "CodecCommanderProbeInit", 
                    Package (0x04)
                    {
                        "Version", 
                        0x00020600, 
                        "111d_76e0", 
                        Package (0x02)
                        {
                            "PinConfigDefault", 
                            Package (0x02)
                            {
                                Package (0x00) {}, 
                                Package (0x04)
                                {
                                    "LayoutID", 
                                    0x03, 
                                    "PinConfigs", 
                                    Package (0x15)
                                    {
                                        Package (0x00) {}, 
                                        0x0A, 
                                        0x01811020, 
                                        0x0B, 
                                        0x01211050, 
                                        0x0C, 
                                        0x400000F0, 
                                        0x0D, 
                                        0x90100130, 
                                        0x0E, 
                                        0x400000F0, 
                                        0x0F, 
                                        0x400000F0, 
                                        0x10, 
                                        0x400000F0, 
                                        0x11, 
                                        0x90A00110, 
                                        0x1F, 
                                        0x400000F0, 
                                        0x20, 
                                        0x400000F0
                                    }
                                }
                            }
                        }
                    }
                })
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x0C)
                        {
                            "device-type", 
                            Buffer (0x0E)
                            {
                                "IDT 92HD91BXX"
                            }, 

                            "codec-id", 
                            Buffer (0x04)
                            {
                                 0xE0, 0x76, 0x1D, 0x11
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x03, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}, 
                            "MaximumBootBeepVolume", 
                            Buffer (One)
                            {
                                 0x00
                            }, 

                            "multiEQDevicePresence", 
                            Buffer (0x04)
                            {
                                 0x00, 0x00, 0x01, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
Edited by ammoune78
Link to comment
Share on other sites

 

Hey all, i have a problem to get sound stably working, i mean in each 2 or 3 reboots or powering on the Laptop, the sound disappears, so here's the report:

 

1. Laptop model: HP ProBook 650 G1 Haswell-i5 4200M

2. Codec name: IDT 92HD91BXX

3. Layout used: 84, 33, 12, 3 no one work, only the patched AppleHDA worked with the problem told above 

4. 10.11, 10.12, 10.13

5. Autogenerated Info.plist: attachicon.gifInfo.plist.zip

 

Here's the patch used in the DSDT:



                Name (RMCF, Package (0x06)
                {
                    "CodecCommander", 
                    Package (0x02)
                    {
                        "Disable", 
                        ">y"
                    }, 

                    "CodecCommanderPowerHook", 
                    Package (0x02)
                    {
                        "Disable", 
                        ">y"
                    }, 

                    "CodecCommanderProbeInit", 
                    Package (0x04)
                    {
                        "Version", 
                        0x00020600, 
                        "111d_76e0", 
                        Package (0x02)
                        {
                            "PinConfigDefault", 
                            Package (0x02)
                            {
                                Package (0x00) {}, 
                                Package (0x04)
                                {
                                    "LayoutID", 
                                    0x03, 
                                    "PinConfigs", 
                                    Package (0x15)
                                    {
                                        Package (0x00) {}, 
                                        0x0A, 
                                        0x01811020, 
                                        0x0B, 
                                        0x01211050, 
                                        0x0C, 
                                        0x400000F0, 
                                        0x0D, 
                                        0x90100130, 
                                        0x0E, 
                                        0x400000F0, 
                                        0x0F, 
                                        0x400000F0, 
                                        0x10, 
                                        0x400000F0, 
                                        0x11, 
                                        0x90A00110, 
                                        0x1F, 
                                        0x400000F0, 
                                        0x20, 
                                        0x400000F0
                                    }
                                }
                            }
                        }
                    }
                })
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x0C)
                        {
                            "device-type", 
                            Buffer (0x0E)
                            {
                                "IDT 92HD91BXX"
                            }, 

                            "codec-id", 
                            Buffer (0x04)
                            {
                                 0xE0, 0x76, 0x1D, 0x11
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x03, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}, 
                            "MaximumBootBeepVolume", 
                            Buffer (One)
                            {
                                 0x00
                            }, 

                            "multiEQDevicePresence", 
                            Buffer (0x04)
                            {
                                 0x00, 0x00, 0x01, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

Did you try patch Audio DSDT Layout 12 in MacIasl ?

post-951341-0-19925200-1518135011_thumb.png

  • Like 1
Link to comment
Share on other sites

No didn't worked, i don't know how to make it work!


Should i delete RMCF also and leave only DSM?


Yep, worked now with AppleALC and without RMCF, but only HeadPhones work, if automatically switched to internal Speakers no output sound :(  

Link to comment
Share on other sites

No didn't worked, i don't know how to make it work!

Should i delete RMCF also and leave only DSM?

Yep, worked now with AppleALC and without RMCF, but only HeadPhones work, if automatically switched to internal Speakers no output sound :(  

Try don't use codec commander with this patch, only AppleALC and Lilu

  • Like 1
Link to comment
Share on other sites

Ok Captain!


Chris thank you to much, worked with no Codec Commander, switching now between HeadPhones and Internal Speakers are fine, good job MAN, really AppleALC is an Kick**s and it keep L/E & S/L/E clean, thanks to you, vit9696 and developers for this beautiful piece of work  :thumbsup_anim:  :yes:  ^_^

  • Like 1
Link to comment
Share on other sites

Ok Captain!

Chris thank you to much, worked with no Codec Commander, switching now between HeadPhones and Internal Speakers are fine, good job MAN, really AppleALC is an Kick**s and it keep L/E & S/L/E clean, thanks to you, vit9696 and developers for this beautiful piece of work  :thumbsup_anim:  :yes:  ^_^

Great!  23032310.gif

  • Like 1
Link to comment
Share on other sites

@Pavo

What exactly do you need a manual for?
Well functioning codec already exists and it is only about the handling of the AppleALC and Lilu source, or about the insertion of the finished codecs?

 

 

We need a manual to find unknown codecs that AppleALC currently does not support so we can make the necessary files needed to add the support to AppleALC.

  • Like 1
Link to comment
Share on other sites

Ok Captain!

 

Chris thank you to much, worked with no Codec Commander, switching now between HeadPhones and Internal Speakers are fine, good job MAN, really AppleALC is an Kick**s and it keep L/E & S/L/E clean, thanks to you, vit9696 and developers for this beautiful piece of work :thumbsup_anim::yes:^_^

Do you sound after sleep without codeccommander?

 

Sent from my SM-G930F using Tapatalk

Link to comment
Share on other sites

×
×
  • Create New...