Contribute
Register

ALC888 AppleHDA.kext v1.8.4fc3 Address 2

Status
Not open for further replies.
Joined
Apr 1, 2010
Messages
49
Motherboard
CUSTOM
CPU
Intel Core i5 2500K
Graphics
Geforce GTX560
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. Android
Hi All,

I'm normally hanging out over at Insanelymac but I do like reading tonymacx86 forums and blog, I designed this AppleHDA kext myself it gives all outputs and inputs.

Front headphones/mic
Line out - Green
3 Linouts for 5.1 Analogue sound
Digital out
Mic and Linein
Digital In

TEST and let me know, I will work on a vanilla legacyhda after i get through my study, You need my DSDT edit.

HdaEnabler in /Extra's folder
AppleHDA in /System/Library/Extensions

MY DSDT
Code:
Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        0x05
                    })
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x78, 0x03, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

                Method (DTGP, 5, NotSerialized)
                {
                    If (LEqual (Arg0, Buffer (0x10)
                            {
                                /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                                /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                            }))
                    {
                        If (LEqual (Arg1, One))
                        {
                            If (LEqual (Arg2, Zero))
                            {
                                Store (Buffer (One)
                                    {
                                        0x03
                                    }, Arg4)
                                Return (One)
                            }

                            If (LEqual (Arg2, One)) {}
                        }
                    }

                    Store (Buffer (One)
                        {
                            0x00
                        }, Arg4)
                    Return (Zero)
                }
            }

HDAEnabler and AppleHDA
Attached.

MY CODEC VERBS FOR REFERENCE They could change, you have to check via windows.
Code:
01471C10 01471D44 01471E01 01471F01 01571C12 01571D14 01571E01 01571F01 01671C11 01671D64 01671E01 01671F01 01771C14 01771D24 01771E01 01771F01 01871C40 01871D9C 01871EA1 01871F01 01971C50 01971D9C 01971EA1 01971F02 01A71C4F 01A71D34 01A71E81 01A71F01 01B71C20 01B71D4C 01B71E21 01B71F02 01C71CF0 01C71D01 01C71E33 01C71F59 01D71C01 01D71DE6 01D71E05 01D71F40 01E71C30 01E71D61 01E71E4B 01E71F01 01F71C60 01F71D71 01F71ECB 01F71F01
 

Attachments

  • v1.8.4fc3.zip
    1.7 MB · Views: 135
that's an old kext v1.7.4, i created the newest version kext, improved, the 1.7.4 kext and my kext are different trust me. You choose upto you. I don't discredit him, I created a new thread for my work so i don't interrupt his post.
 
Atleet,

Am sure it works for 888 users. I have not tried as 887 codec.

However, figure may try to mod yours with my verbs and codec...thing that is confusing me is that the layout IDs are not "aligned" - DSDT uses 888 (0x378) , HDAEnabler uses 12 (0x0C), and .plist inside HDA is saying 0 (h/w config)and 12 (platform driver).

I figure then that the section in DSDT "layout-id" is don't care (could be removed?); but am bit confused about what's going on in the HDA Plugins. Can you explain?

Hang on, think I get it now...h/w config LayoutID=0 references platform driver Layout key0 which uses LayoutID=12... Is that right? Might be where I've been going wrong up to now!

Cheers,
Humph.
 
atleeit said:
Hi All,

I'm normally hanging out over at Insanelymac but I do like reading tonymacx86 forums and blog, I designed this AppleHDA kext myself it gives all outputs and inputs.

Front headphones/mic
Line out - Green
3 Linouts for 5.1 Analogue sound
Digital out
Mic and Linein
Digital In

TEST and let me know, I will work on a vanilla legacyhda after i get through my study, You need my DSDT edit.
Did you add the front panel mic to your Layout and PathMap?
Where did you get the pin configuration you are using? Trying to find the correct PinConfiguration for the 885/889a.
Do all 3 Line Outs work? I have gotten either all 3 Line Outs and No Digital Out or 2 Line Outs (No Gray) and Digital.

Thanks.
 
I want people to test my file, I dont have a 5.1 system, I know Front headphones, Back audio out for green works, Just test and report back i will work on a legacyHDA for 10.6.3.
 
I tried this. its gives me correct info in System Profiler and System Preferences but there is no sound at all. The volume icon is grayed out. However I only installed AppleHDA kext. Do I also need HDAEnabler and the DSDT edit?
 
@atleeit
Why you are using HDAEnabler? I tough it is alternative to DSDT edit...
 
chico_stang said:
I tried this. its gives me correct info in System Profiler and System Preferences but there is no sound at all. The volume icon is grayed out. However I only installed AppleHDA kext. Do I also need HDAEnabler and the DSDT edit?

DSDT Injects Intel HDA Audio Controller
HDAEnabler Injects Layout ID 12
AppleHDA Has the pathmaps and codec verbs

After 10.6.3 and even Feb 09 Audio update. DSDT and AppleHDA stopped working, I couldn't figure it out but that's why i came up with this solution.

alc889a users dont need hdaenabler because alc889a can be recognised by macosx as alc885 with legacyhda and dsdt. ALC888 cannot. Very fidgety process.
 
Anyway i'm rebuilding a version, system.log giving out sound insertion errors, try to remove all errors.
 
Status
Not open for further replies.
Back
Top