Jump to content

GUIDE: HDMI Audio with unsupported on-board audio: VoodooHDA and AppleHDA at the same time.


Lord Kamina
 Share

39 posts in this topic

Recommended Posts

Not sure what you need? Everything you posted should be on your own past posts.

 

What method are you using to modidy the framebuffer, by the way?

Asking for radeon_bios_decode file of my card, If you extarcted from vgabios file.

 

Anyway you will find the guide here - http://www.insanelym...n/#entry1655903 (OLD METHOD).

If you can plaese also see on LVDS & DVI's info's is ok or not.

 

02 00 00 00 40 00 00 00 09 01 00 00 12 00 02 07 LVDS

10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 01 VGA

 

Thank you

DSDT.zip

Link to comment
Share on other sites

WOW!!! Finally got HDMI audio working !!! :king:

 

 

Actual problem was on my framebuffer. So with corrected framebuffer the process might work :afro:

 

Thank you very much Lord Kamina :euro: for easy & simple guide and your co-operation.

 

Thank you

Palash

Link to comment
Share on other sites

That's great! What exactly did you have to change in the Franebuffer? I had been working on your DSDT and Framebuffer from scratch but work had been insane this last week (to the point where I literally fell asleep copypasting and couldn't remember what edits I was making anymore)

 

Well, enjoy it now.

Link to comment
Share on other sites

  • 1 month later...

Hello. And what to do if this key

<key>IOPCIPrimaryMatch</key>

<string>0x284b8086</string>

no longer works at the last version of Voodoo 2.8.4.(I tried this key and sound doesn't work completely)

How to prohibit using HDMI for Voodoo in this case?

Link to comment
Share on other sites

  • 3 weeks later...

Year, it works fine. I just used DSDT for only AppleHDA, and there was cause why this key doesn't work.

Abolition of the correcting reestableished the work of it.

However I have the hesitation. Is it worth while to use both driver only due to one pop with AppleHDA?

Do both drivers slow down the system? Did you counter-pose the geekbenches before and after?

Link to comment
Share on other sites

  • 4 weeks later...

AppleHDA.kext/Contents/Plugins/AppleHDAController.kext/Contents/Info.plist

 

Corrected path ^^

 

Grabbed my dev id via lspci

osx:~ ludacriscp$ lspci |grep Audio

01:00.1 Audio device: ATI Technologies Inc Unknown device aa58

 

Changed mine to this:

 

<key>IOClass</key>
<string>AppleHDAController</string>
<key>IOPCIPrimaryMatch/key>
<string>0xaa581002</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
Then I added this to my DSDT:

Device "PEGP" already existed as "LYD0" I renamed it and added the PCIe graphics card as "GFX0" that didn't exist.

           Device (PEGP)
            {
                Name (_ADR, 0x00030000)
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x0C)
                            {
                                "@0,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                }, 

                                "@1,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                }, 

                                "@2,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                }, 

                                "@3,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                }, 

                                "model", 
                                Buffer (0x13)
                                {
                                    "XFX Radeon HD 5770"
                                }, 

                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }

                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x04)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }, 

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

## There is more of the 'PEGP' device that continues after the end of the HDAU device.
##
##You will also need this if you haven't already added it:
##<------------------------------------------------------------>
    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))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                0x00
            }, Arg4)
        Return (Zero)
    }
##<------------------------------------------------------------>
I also used layout1 ID.

This would be AppleHDA.kext/Contents/Resources/layout1.xml.zlib

 

I used the same "268610049" ID for layout1.xml.zlib (after using the perl script to inflate and deflate it accordingly)

Also did that to AppleHDA.kext/Contents/Resources/Platforms.xml.zlib

 

At this same time I changed how my main HDMI display is reported.

The 'MacPro' that I'm using (Dell) I have a Hanns-G 28" HDMI display 1920x1200 that I have the Mac thinking is an iMac.

 

I used FixEDID http://www.insanelymac.com/forum/topic/290130-fixedid-v19-application-to-generate-overrides-automatically-for-apple-displays/?p=1927455

Along with DarwinDumper http://www.insanelymac.com/forum/topic/282794-darwindumper/?p=1852685

To make the displays what I wanted them to be.

 

post-176965-0-75632800-1377547060_thumb.jpg

post-176965-0-05580300-1377547042_thumb.jpg

post-176965-0-91323800-1377547028_thumb.jpg

post-176965-0-61486100-1377547011_thumb.jpg

post-176965-0-59647300-1377546991_thumb.jpg

Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...

hello kamina,

i'm facing problem that my hdmi audio (ATI Radeon HD4670) is not working. I mean not detected on system information, not appearing in sound preferences, and of course no sound at all

I have followed you instruction but I feel i'm lost, here's point:

1. I already followed your instruction to edit AppleHDA(AppleHDA.kext/Contents/Plugins/AppleHDAController/Contents/Info.plist)

 

2. then you said I have to edit my DSDT, but I can't find HDAU section in my DSDT. so I can't following this instruction clearly

 

3. I can't find AppleHDA proper? where I can to find this? so, I can edit like you do

4. I can't find Platforms.xml too, where this file location?

 

hopefully you can help me step by step

thank you

Link to comment
Share on other sites

 Share

×
×
  • Create New...