Contribute
Register

Mountain Lion HDMI Audio - AMI DSDT

Status
Not open for further replies.
Hi toleda,

Currently the HDMI A/V and onboard audio is working fine in ML using edits (0x88, 0x01, 0x00, 0x00) made for Lion.
But using new DSDT edits (0x01, 0x00, 0x00, 0x00) as per this thread i lose sound.:?:

I have attached both working and non-working DSDT and IOReg.

ASRock H67-ITX/HT
ALC892
i5 2500K
 

Attachments

  • MiniITX_Non Working New Edits_DSDT_IOReg.zip
    322.9 KB · Views: 103
  • MiniITX_Working old Edits_DSDT_IOReg.zip
    379.3 KB · Views: 89
Currently the HDMI A/V and onboard audio is working fine in ML using edits (0x88, 0x01, 0x00, 0x00) made for Lion.
But using new DSDT edits (0x01, 0x00, 0x00, 0x00) as per this thread i lose sound.
Read Post 1 carefully. For the ML_AppleHDA (ML: Optimized Realtek AppleHDA - Preview/Alpha) use Audio ID 1, 2 or 3. For Lion_AppleHDA (MultiBeast 5.0.2/Optimized AppleHDA for Realtek ALC 892 on Lion - Update) use Audio ID 892, 392 and 292. Since the Lion AppleHDA.kext is installed, edit dsdt/HDEF/layout-id to 0x88, 0x01, 0x00, 0x00 as previously.

When you are ready for ML_AppleHDA, edit dsdt/HDEF/layout-id to 0x03, 0x00, 0x00, 0x00, install the ML_AppleHDA and restart.
 
toleda you are a star.:thumbup:

Got my HDMI and onboard audio working with new edits 0x03, 0x00, 0x00, 0x00.

First i made a mistake by installing both AppleHDA and Enabler kext but then i realised enabler is for DSDT free builds. Removed it and bamm everything works.

So now with only 3 audio codes all the boards are covered?

DSDT and IOReg attached. Thank you...
 

Attachments

  • miniITX_ML_Audio working.zip
    389.5 KB · Views: 109
Thanks Toleda. Your ML DSDT edits worked perfectly.

One question.. I have both HD4000 and a GTX 570. Is there any way to allow both boards to support HDMI audio (obviously not at the same time).. but if I wanted to switch to using HDMI on the 4000, without having to recompile the DSDT and change the Audio ID?

Thanks!
 
Thanks Toleda. Your ML DSDT edits worked perfectly.

One question.. I have both HD4000 and a GTX 570. Is there any way to allow both boards to support HDMI audio (obviously not at the same time).. but if I wanted to switch to using HDMI on the 4000, without having to recompile the DSDT and change the Audio ID?
Change the Audio ID to 3 (edit dsdt/HDEF/layout-id: 0x03, 0x00, 0x00, 0X00).
 
Hi Toleda, i've been trying all night with your guide but cannot find PEG01 etc on my ioreg file and also cannot find the audio. I've uploaded my ioreg and dsdt so please could you have a look for me and modify if possible. In all honesty i've tried all night and i've also looked around other forums. I just want audio enabled from my gtx480 via hdmi if possible.


Thankyou

System spec...

Asus Rampage II Extreme
i7 920 d0 stock speed
GTX480
Asus Xonar Hdav 1.3 deluxe
 

Attachments

  • DSDT.aml.zip
    20.5 KB · Views: 91
  • ioreg.zip
    422.7 KB · Views: 77
Hi Toleda,

Many thanks for this detailed guide!

I would like to apply it to a ga-z77x-ud3h (F17) / i5-3570k / ML 10.8.2 using only the integrated HD4000 for audio on the DisplayPort, and I'm stuck trying to understand the renaming and address verification that you explain in the PDF that's included with the HD4000_AMI_EFI_hdmi_audio_dsdt_editing_kit.

Since this board doesn't normally require a DSDT, I extracted it with DSDT Editor.

Since the onboard VIA graphic chip is not supported, there is initially no HDEF, so I added it with your instructions from http://www.tonymacx86.com/audio/67710-ml-how-add-edit-dsdt-hdef.html using ID 3.

This adds the HDEF with address 0x001B0000:

Device (HDEF) \n
{ \n
Name (_ADR, 0x001B0000)

But in the PDF you say "TextEdit/Edit (_ADR, 0x00010000) to 0x00020000 or 0x00030000 - if necessary" -- how does one know what to put since the IOReg didn't have an HDEF entry?


The other step I don't understand is the step
"4. TextEdit/integrated graphics/Find GFX0/Replace (table above) - if necessary"
based on the renaming table.

I'm on the case "7 Series / EFI / integrated graphics", so the table says IGPU@2 / GFX0@2

The patch file "hdmi_audio_ami_efi_hd4000.txt" in your kit already has the replacements of "Rename GFX0 devices to IGPU"
Does that mean I just use the patch as is, or should they somehow be modified?

I enclose a copy of the IOReg and the unmodified extracted DSDT, plus one cleaned up with your patch and with the HDEF added.
What's missing is the last step of applying the patch file "hdmi_audio_ami_efi_hd4000.txt", and there I was unsure whether the patch file needs modifications first ...

Many thanks for any advice!
 

Attachments

  • ga-z77x-ud3h.zip
    408.3 KB · Views: 93
Excuse me
May I ask the
be able to

"AAPL,ig-platform-id",
Buffer (0x04)
{
0x0A, 0x00, 0x66, 0x01
},

Replaced

"AAPL,ig-platform-id",
Buffer (0x04)
{
0x05, 0x00, 0x62, 0x01
},

Please forgive my broken English
 
Hi Toleda,

Many thanks for this detailed guide!

I would like to apply it to a ga-z77x-ud3h (F17) / i5-3570k / ML 10.8.2 using only the integrated HD4000 for audio on the DisplayPort, and I'm stuck trying to understand the renaming and address verification that you explain in the PDF that's included with the HD4000_AMI_EFI_hdmi_audio_dsdt_editing_kit.

Since this board doesn't normally require a DSDT, I extracted it with DSDT Editor.

Since the onboard VIA graphic chip is not supported, there is initially no HDEF, so I added it with your instructions from http://www.tonymacx86.com/audio/67710-ml-how-add-edit-dsdt-hdef.html using ID 3.

This adds the HDEF with address 0x001B0000:

Device (HDEF) \n
{ \n
Name (_ADR, 0x001B0000)

But in the PDF you say "TextEdit/Edit (_ADR, 0x00010000) to 0x00020000 or 0x00030000 - if necessary" -- how does one know what to put since the IOReg didn't have an HDEF entry?


The other step I don't understand is the step
"4. TextEdit/integrated graphics/Find GFX0/Replace (table above) - if necessary"
based on the renaming table.

I'm on the case "7 Series / EFI / integrated graphics", so the table says IGPU@2 / GFX0@2

The patch file "hdmi_audio_ami_efi_hd4000.txt" in your kit already has the replacements of "Rename GFX0 devices to IGPU"
Does that mean I just use the patch as is, or should they somehow be modified?

I enclose a copy of the IOReg and the unmodified extracted DSDT, plus one cleaned up with your patch and with the HDEF added.
What's missing is the last step of applying the patch file "hdmi_audio_ami_efi_hd4000.txt", and there I was unsure whether the patch file needs modifications first ...

Many thanks for any advice!

joncas, I have edited the DSDT with all the codes for HD4000 A/V. But i am not sure the inbuilt audio for your motherboard. Find the right kext.
 

Attachments

  • Joncas_DSDT.zip
    15.2 KB · Views: 77
Status
Not open for further replies.
Back
Top