Jump to content

Mavericks AppleHDA HDMI Audio

AppleHDA HDMI Sound Realtek

  • Please log in to reply
307 replies to this topic

#301
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

I tried this:

And this:

Already familiar with the guides.

Did you see: [Case_Studies]_AMD-HD7xxx_HDMI_Audio_v2.pdf.zip?

Attach the results, i.e., the edited dsdt and radeon_bios_decode output.



#302
Iwanche

Iwanche

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

Here is my radeon bios:

 

ATOM BIOS Rom:
SubsystemVendorID: 0x1462 SubsystemID: 0x2795
IOBaseAddress: 0x0000
Filename: v279-27s1.sb
BIOS Bootup Message:
113-MSITV279MS.202 C44501 MOCHA VERDE LE 1G GDDR5 64MX32
PCI ID: 1002:6837
Connector at index 0
Type [@offset 43366]: DisplayPort (10)
Encoder [@offset 43370]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43450]: 0x91, OSX senseid: 0x2
Connector at index 1
Type [@offset 43376]: HDMI-A (11)
Encoder [@offset 43380]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43477]: 0x94, OSX senseid: 0x5
Connector at index 2
Type [@offset 43386]: DVI-I (2)
Encoder [@offset 43390]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 43514]: 0x93, OSX senseid: 0x4
Connector at index 3
Type [@offset 43396]: DVI-I (2)
Encoder [@offset 43400]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 43514]: 0x93, OSX senseid: 0x4

v279-27s1.sb:

113-MSITV279MS.202 C44501 MOCHA VERDE LE 1G GDDR5 64MX32
Subsystem Vendor ID: 1462
Subsystem ID: 2795
Object Header Structure Size: 246
Connector Object Table Offset: 3e
Router Object Table Offset: 0
Encoder Object Table Offset: b5
Display Path Table Offset: 12
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false

 

kext edits
a. AMD7000Controller.kext/Contents/MacOS/AMD7000Controller binary
b. HexEditor

Done that.

 

Now, this part can not possibly throw in dsdt. Ejects a lot of mistakes.

 

Device (HDAU)
{
    Name (_ADR, One)
    Method (_DSM, 4, NotSerialized)
    {
        If (LEqual (Arg2, Zero))
        {
Return (Buffer (One)
            {

0x03 })

}

        Return (Package (0x02)
        {
            "hda-gfx",
            Buffer (0x0A)
            {
                "onboard-2"
            }

}) }

}

 

 

 



#303
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

Here is my radeon bios:

this part can not possibly throw in dsdt. Ejects a lot of mistakes.

What edits do you have to make so the framebuffer works with the vbios?

Attach the dsdt with the errors (save as Disassembled ASL file)



#304
Iwanche

Iwanche

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
I did this in AMD7000Controller.kext/Contents/MacOS/AMD7000Controller binary. 
native
00 04 00 00 04 03 00 00 00 01 01 00 12 04 02 02
00 04 00 00 04 03 00 00 00 01 02 00 22 05 03 05
04 00 00 00 14 02 00 00 00 01 03 00 00 00 04 04
00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 01
from
00 04 00 00 04 03 00 00 00 01 02 00 22 05 03 05
to
00 08 00 00 04 02 00 00 00 01 02 00 22 05 03 05
from
00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 01
to
00 04 00 00 04 03 00 00 00 01 04 00 11 02 01 01
patched
00 04 00 00 04 03 00 00 00 01 01 00 12 04 02 02
00 08 00 00 04 02 00 00 00 01 02 00 22 05 03 05
04 00 00 00 14 02 00 00 00 01 03 00 00 00 04 04
00 04 00 00 04 03 00 00 00 01 04 00 11 02 01 01
 
 

 

 

Here you are edited DSDT, with errors.

Attached Files

  • Attached File  DSDT.zip   12.91KB   2 downloads


#305
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

I did this in AMD7000Controller.kext/Contents/MacOS/AMD7000Controller binary. 

Here you are edited DSDT, with errors.

binary edits, try.

The errors are not from your HDAU edits.  Trash the dsdt.  Edit a dsdt that compiles as follow:

delete dsdt/HDEF/

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-2"
                            }, 

replace dsdt/PEGP

            Device (PEGP)
            {
                Name (_ADR, 0x00010000)  // _ADR: Address
                Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
                {
                    Return (Package (0x02)
                    {
                        0x0B, 
                        0x04
                    })
                }

                Device (GFX0)
                {
                    Name (_ADR, Zero)  // _ADR: Address
                    Name (_SUN, One)  // _SUN: Slot User Number
                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        If (LEqual (Arg2, Zero))
                        {
                            Return (Buffer (One)
                            {
                                 0x03
                            })
                        }

                        Return (Package (0x18)
                        {
                            "AAPL,slot-name", 
                            Buffer (0x07)
                            {
                                "Slot-1"
                            }, 

                            "@0,name", 
                            Buffer (0x1A)
                            {
                                "ATY,Dashimaki"
                            }, 

                            "@1,name", 
                            Buffer (0x1A)
                            {
                                "ATY,Dashimaki"
                            }, 

                            "@2,name", 
                            Buffer (0x1A)
                            {
                                "ATY,Dashimaki"
                            }, 

                            "@3,name", 
                            Buffer (0x1A)
                            {
                                "ATY,Dashimaki"
                            }, 

                            "ATY,Card#", 
                            Buffer (0x14)
                            {
                                "113-R27FD-001"
                            }, 

                            "ATY,Copyright", 
                            Buffer (0x33)
                            {
                                "(C) 1988-2010, AMD Technologies Inc."
                            }, 

                            "ATY,Rom#", 
                            Buffer (0x0F)
                            {
                                "AMD Curacao XT"
                            }, 

                            "ATY,VendorID", 
                            Buffer (0x02)
                            {
                                 0x02, 0x10
                            }, 

                            "ATY,DeviceID", 
                            Buffer (0x02)
                            {
                                 0x37, 0x68
                            }, 

                            "model", 
                            Buffer (0x13)
                            {
                                "AMD Radeon HD 7730"
                            }, 

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-2"
                            }
                        })
                    }
                }

                Device (HDAU)
                {
                    Name (_ADR, One)  // _ADR: Address
                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        If (LEqual (Arg2, Zero))
                        {
                            Return (Buffer (One)
                            {
                                 0x03
                            })
                        }

                        Return (Package (0x04)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x01, 0x00, 0x00, 0x00
                            }, 

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-2"
                            }
                        })
                    }
                }
            }

Reply with edited dsdt and new IOReg.



#306
Iwanche

Iwanche

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

Legend, now works HDMI sound. Well done, thank you so much. But DSDT still has errors.

 

Here you are:

Attached Files



#307
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

DSDT still has errors.

Previous reply: The errors are not from your HDAU edits.  Trash the dsdt.

Edit your attached dsdt from Post #294.



#308
Iwanche

Iwanche

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
Ok. Thank you very very very much. Finally working.





Also tagged with one or more of these keywords: AppleHDA, HDMI, Sound, Realtek


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy