Contribute
Register

Mountain Lion HDMI Audio - AMI DSDT

Status
Not open for further replies.
Hi Toleda, you've had some time to look at my DSDT to activate the HDMI on the second graphics card?
because when I connect the TV to the first card where there is also connected to the monitor, the temperature rises highly…!
But i think its normal…!
I tried to only understand that the second card is: GP7… just...

Thank's in advance!

Lucke.
 
The IOReg does not show working HDMI audio.

My IOReg with LG TV/HDMI connected…, and last DSDT edited with your instructions…

Thanks

Lucke.
 

Attachments

  • Unknown.ioreg.zip
    590.3 KB · Views: 99
  • DSDT Edited.aml.zip
    21.4 KB · Views: 126
My IOReg with LG TV/HDMI connected…, and last DSDT edited with your instructions…
Rename NPE7 to PEG1 (2x). Edit PEG1 to: Reply with edited dsdt and ioreg.
Code:
            Device (PEG1)
            {
                Name (_ADR, 0x00070000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x09, 0x04))
                }

                Method (_PRT, 0, NotSerialized)
                {
                    If (PICM)
                    {
                        Return (AR17)
                    }


                    Return (PR17)
                }

                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x0A)
                            {
                                "@0,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 

                                "@1,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 

                                "@2,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 

                                "@3,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 

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

                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-3"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }
 
There is a problem with the HDMI audio edits. Attached is a laptop HD4000 HDMI audio editing kit. Required edits:
1. HDEF "layout-id", edit: 0x01, 0x00, 0x00, 0x00 to your layout-id
2. GFX0 "AAPL,ig-platform-id", edit: 0x01, 0x00, 0x66, 0x01 (01 Capri has an HDMI connector on Port 0x5, 03 Capri does not)

If 01 Capri does not work or HDMI video is not on Port 0x5, Edit 03 Capri for correct HDMI connector port.

DSDT Editor/Open Patch: hdmi_audio_laptop_hd4000.txt/Apply/Compile/Install/Restart with HDMI device connected.

Reply with edited dsdt and IOReg.

I try to mod my Capri 03 for fix audio on hdmi and not work.
https://www.dropbox.com/sh/wlnqx9wjak6s6lf/3uly5hqOqM
Attach ioreg with vanilla capri kext (work hdmi video and LDVS video, not work HDMI audio).

Please can you help me?.
Thanks in advance
 
I try to mod my Capri 03 for fix audio on hdmi and not work.
HDMI is on Port 0x7; DP connector on Capri/0x03006601
Hex Editor
AppleIntelFramebufferCapri binary

Find: 03 00 66 01

Find: 04 06 00 00 00 04 00 00 81 00 00 00

Replace: 04 06 00 00 00 08 00 00 06 00 00 000

Save, install, restart.
 
HDMI is on Port 0x7; DP connector on Capri/0x03006601
Hex Editor
AppleIntelFramebufferCapri binary

Find: 03 00 66 01

Find: 04 06 00 00 00 04 00 00 81 00 00 00

Replace: 04 06 00 00 00 08 00 00 06 00 00 000

Save, install, restart.

Work fine. Thanks a lot.
I was stupid, because i think the problem is in the bad patch AppleHDA or wrong device-id.
Now i try to add this fix to my dsdt, because I prefer use vanilla kexts.

Another question ¿ can you add support ALC269VC to you AppleHDA8Series.sh?

I love patch AppleHDA kext on-the-fly with Clover boot loader, because my S/L/E is 98% vanilla (only have AppleHDA patched, and now AppleFramebuferCapri). The extra kext i need are in EFI/CLOVER/kexts/10.9.
I have linux dumps, ioregs, pinconfig, verbit... to share it, and I have time to test it.

Tanks in advance.
 
Status
Not open for further replies.
Back
Top