Contribute
Register

HDMI Audio on Z68MA-D2H-B3 UEFI BIOS

Status
Not open for further replies.
Joined
Jan 15, 2012
Messages
584
Motherboard
GA-Z68MA-D2H-B3
CPU
i5-2500K
Graphics
HIS 5770
Mac
  1. iMac
  2. MacBook Pro
Classic Mac
  1. iBook
Mobile Phone
  1. Android
Hey toleda,

I updated my board to the UEFI BIOS and have since been working on getting my audio back to normal. I extracted a DSDT using DSDTSE, followed your guide for adding HDEF, and installed. This much was successful, as I now have working onboard audio.

Then, I went to edit my new DSDT for HDMI audio. My display address was 1, but when I went into the DSDT, I found something unusual. When I searched for PEG0, I found this:

Code:
            Device (PEG0)
            {
                Name (_ADR, 0x00010000)
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR02 ())
                    }

                    Return (PR02 ())
                }

                Device (PEGP)
                {
                    Name (_ADR, 0xFFFF)
                }
            }

            Device (PEG1)
            {
                Name (_ADR, 0x00010001)
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR0A ())
                    }

                    Return (PR0A ())
                }
            }

            Device (PEG2)
            {
                Name (_ADR, 0x00010002)
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR0B ())
                    }

                    Return (PR0B ())
                }
            }

            Device (PEG3)
            {
                Name (_ADR, 0x00060000)
                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR0C ())
                    }

                    Return (PR0C ())
                }
            }

So it appears that I have PEG0, 1, 2, 3 and PEGP. I thought this seemed abnormal, but I attempted the generic HDMI audio edit anyway by pasting it over PEG0 (and PEGP). However, I got a list of errors and was not able to correct them.

I have attached my original extracted DSDT, my HDEF-edited DSDT, and IOReg (extracted while using my HDEF-edited DSDT). How should I edit this for HDMI audio? Should I delete PEG1, 2, and 3 and just paste PEGP? or should I paste the PEGP section over where it currently says PEGP?

Thanks for any help,

Seamus

View attachment DSDTs-ioreg.zip
 
So it appears that I have PEG0, 1, 2, 3 and PEGP. I thought this seemed abnormal, but I attempted the generic HDMI audio edit anyway by pasting it over PEG0 (and PEGP). However, I got a list of errors and was not able to correct them.
Try this:
1. back up your dsdt.
2. delete all lines with references to PEGP (Search PEGP, delete, Next, delete, repeat Next, etc.)
3. rename GFX0 to IGPU (Search GFX0, Replace IGPU, Replace)
4. rename PEG0 to PEGP (Search PEG0, Replace PEGP, Replace)
5. paste HDMI edit code into new PEGP (Preserve existing Name and Methods, copy Device (GFX0) and Device (HDAU))
6. continue as specified in the guide
 
Toleda, your magic worked as usual!

Do you think I should delete the other PEGs? (PEG1,2, and 3)?

Also, I have been running the old patched Lion AppleHDA kext because when I installed ML Multibeast 5 wasn't out yet. Is there any reason I should switch to the new Mountain Lion kext available in Multibeast 5 (and change my layout ID accordingly, of course;)) or should I just leave it as it is?
 
Toleda, your magic worked as usual!

Do you think I should delete the other PEGs? (PEG1,2, and 3)?

Also, I have been running the old patched Lion AppleHDA kext because when I installed ML Multibeast 5 wasn't out yet. Is there any reason I should switch to the new kext (and change my layout ID accordingly, of course;)) or should I just leave it as it is?
No. Your choice.
 
Status
Not open for further replies.
Back
Top