Contribute
Register

Optimized AppleHDA for Realtek ALC 885/889a on Lion - Update

Status
Not open for further replies.
Thanks toleda,

nothing happens... it's not detected. It´s working in Windows though.

It´s funny because I´m installing ML in another old mb (P35-DS4) which mounts 889a codec and I have the same problem.

DSDT in both mbs:
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)
                            {
                                 0x75, 0x03, 0x00, 0x00
                            }, 
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

In P35-DS4 after ML Multibeast installation it is changed to new layout:

Code:
                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x01, 0x00, 0x00, 0x00
                            },

Could an IORegistry save (while connected to front headphones) give you any useful information?

Thanks again
 
nothing happens... it's not detected. It´s working in Windows though.

Could an IORegistry save (while connected to front headphones) give you any useful information?
Only if it was working. OS X supports HD Audio; is you front panel AC97?
 
Ok.

Focusing in GA-EX58-UD5:

If I use another patched applehda.kext i´m able to use front headphones (rear doesn't work) so here is the ioregistry... hope this provides some clues.

Front panel connectors are described in Case Specs as: USB2x4; eSATAx1; Micx1; HD Audio+AC'97 x1

Thanks
 

Attachments

  • ioregistry-headphones-danif.zip
    392.3 KB · Views: 75
If I use another patched applehda.kext i´m able to use front headphones (rear doesn't work) so here is the ioregistry... hope this provides some clues.

Front panel connectors are described in Case Specs as: USB2x4; eSATAx1; Micx1; HD Audio+AC'97 x1
I can see headphones are working in VLC. Attach the working AppleHDA.kext for this IOReg and the non working AppleHDA.kext with an IOReg for the non working kext.
 
Here it goes….

CONF 1
---------



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)
                            {
                                 0x0C, 0x00, 0x00, 0x00
                            }, 
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

AppleHDA-headphones.kext


Result:

Front Green - yes
Front Pink - no
Back Green - no
Back Pink - no
Back Blue - no
Back Orange - yes
Back Black - yes
Back Gray - no


CONFIG 2
------------

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)
                            {
                                0x75, 0x03, 0x00, 0x00
                            }, 

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

AppleHDA-Multibeast


Result:

Front Green - no
Front Pink - no
Back Green - yes
Back Pink - yes
Back Blue - yes
Back Orange - yes
Back Black - yes
Back Gray - no


Thanks
 

Attachments

  • ioregistry-multibeast-danif.zip
    411.4 KB · Views: 67
  • AppleHDA-headphones.kext.zip
    1.9 MB · Views: 101
  • AppleHDA-multibeast.kext.zip
    1.4 MB · Views: 103
  • ioregistry-headphones-danif.zip
    392.3 KB · Views: 89
Here it goes….

Result:

Front Green - no
Front Pink - no
Back Green - yes
Back Pink - yes
Back Blue - yes
Back Orange - yes
Back Black - yes
Back Gray - no
Since the codec does not see the front panel with MB audio, that typically suggests an electrical problem. Verify HD Audio+AC'97: Front panel HD Audio connector is connected to the motherboard audio connector. If you want the gray connector with MB audio, see Mountain Lion: Customizing the Optimized AppleHDA.
 
Hey, thanks toleda, you were right.

The problem with both builds was the AC97 connector. I used instead the HDAudio connector and now everything works as expected.

Awesome
Thanks
 
Hi everybody.
I have problem in configuring the mìc pins of alc885 on linux: can you help me?
more precisely, I'm using an apple macbookair1,1 with linux and the mics are not working (everything else is fine); I put more data here http://unix.stackexchange.com/questions/73044/microphones-on-apple-macbookair1-1
it seems that I'm unable even to get to the appropriate pins and test them, might be a bios corruption issue ?

thanks and best,
N
 
Status
Not open for further replies.
Back
Top