Jump to content

Mavericks AppleHDA HDMI Audio


toleda
 Share

340 posts in this topic

Recommended Posts

I'm unclear about what's going wrong; 

Your conclusions are based on a incorrect/damaged config.plist and not valid.  Can't help when  the requests for new config.plist, boot.log and IOJones are ignored. 

Link to comment
Share on other sites

I was able to boot with realtekALC.kext installed by moving it from the "other" folder to the "10.9" folder.

Thanks to arsradu for alluding to it in another thread.


Here are the current files; I thought to include them all just in case they help.

 

Also; can you elaborate on how the config.plist is broken?

After your post, I took the measure of using Clover Configurator to generate one based on the working plist generated by Hackintosh Vietnam, and that generated plist is allowing the computer to boot in to a QE/CI enabled desktop.

AppleHDA.kext.zip

AppleIntelFramebufferAzul.kext.zip

boot log.txt.zip

config.plist.zip

IOJones.zip

Link to comment
Share on other sites

I'm happy to report that HDMI audio now works on my computer.

 

 

After understanding that there was an issue with using the EFI/Clover/kexts/Other folder, I was able to complete the setup with only the following changes:

  • A patched DSDT
  • realtekALC.kext
  • config.plist

That means no changes to any Apple files on the OSX partition, which feels like a big win!

 

Thank you, toleda, for your staggering knowledge, willingness to help, and dedication to getting what you've learned to where people can see them. I have huge respect for what you've accomplished and for raising me to the next level.

 

Thank you again to arsradu for posting openly in the other thread, and for being helpful when contacted.

 

 

 

P.s. I've attached the files in case they help anyone in the future.

 

Note, the DSDT is for the Gigabyte GA-B85M-HD3 with BIOS version F10

config.plist.zip

dsdt.aml.zip

  • Like 1
Link to comment
Share on other sites

Was there any additional information you needed?

HDMI audio patched dsdt and IOReg.  

After understanding that there was an issue with using the EFI/Clover/kexts/Other folder, I was able to complete the setup with only the following changes:

  1. A patched DSDT
  2. realtekALC.kext
  3. config.plist

Required:

4. audio_cloverALC887-90_patch.command (your codec)

 

Last suggestion, follow the instructions exactly ("kexts/other" is not mentioned)

Install realtekALC.kext

1. Copy Downloads/audio_CloverALC-master/realtekALC.kext to:

  1. EFI/Clover/kexts/10.9/realtekALC.kext

Link to comment
Share on other sites

 not from the PCIe Nvidia GTX 760 display port.

 

dsdt edits:

1. Rename existing Device (PEGP) to Device PEG0

2. Find: Notify (\_SB.PCI0.PEGP.GFX0, 0x02), Replace: Notify (\_SB.PCI0.PEG0.PEGP.PLX0.GFX0, 0x02)

3. Add the 8 lines as shown:

4. Reply with edited dsdt.

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

                    Return (PR02 ())
                }

                Device (PEGP)			       // Add code from this line
                {			               //
                    Name (_ADR, Zero)		       //  
                    Device (PLX0)		       //
                    {				       //
                        Name (_ADR, 0x00100000)	       // to this line
                        Device (GFX0)
                        {
                            Name (_ADR, Zero) 
                            Name (_SUN, One)  
                            Method (_DSM, 4, NotSerialized)  
                            {
                                If (LEqual (Arg2, Zero))
                                {
                                    Return (Buffer (One)
                                    {
                                         0x03
                                    })
                                }

                                Return (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-2"
                                    }
                                })
                            }
                        }

                        Device (HDAU)
                        {
                            Name (_ADR, One)  
                            Method (_DSM, 4, NotSerialized)  
                            {
                                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"
                                    }
                                })
                            }
                        }
                    }
                }					// Add code from this line
            }						// to this line
Link to comment
Share on other sites

I'm a bit lost :s

 

I've got a Toshiba P755-103.

Processor: Intel 2630QM

Chipset: Intel Series 6

Audio: ALC269

Wifi: Atheros AR9285

Graphics: HD3000 + GeForce GT540M (Geforce disabled using DSDT because I couldn't get it to work in OS X)

Running Yosemite DP4, Clover v2774.

 

I've patched AppleHDA to work with ALC269. Everything works mic and speakers. However I don't have HDMI sound output (the option doesn't even appear in the sound output tab in system preferences).

The HD3000 is completely recognized in system info: http://prntscr.com/48122o

Here is the audio tab in system info: http://prntscr.com/4811sk and http://prntscr.com/4811vx

Here is my config.plist, DSDT, SSDT and ioreg.ioreg: noname.zip

 

Can anyone point me in the right direction? 

 

Thanks!

Link to comment
Share on other sites

 

Add hda-gfx injection to dsdt/Device (HDEF):

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

 

Works perfectly. Thanks so much :P

Link to comment
Share on other sites

  • 2 weeks later...

Hi Toleda, i have an MSI laptop GT70-2OD with an integrated mobile HD4600 and a discrete Nvidia 780m GTX (in optimus configuration, can't disable Nvidia in my Bios).  I am struggling in getting HDMI audio to work.  I applyed the [Guide]_OS_X_hdmi_audio-dsdt_v2 for Nvidia (included the edits into SSDT-5 where my graphic cards are initialized). My onboard audio is working fine.

Attached the requested files:

-DSDT

-SSDTs (i made the edits in SSDT-5, also included the original one before my edits which are GFX0 to IGPU conversion, RehabMan's native brightness control, GFX0 and HDAU injection from [Guide]_Nvidia-hdmi_audio_v2.

-ioJones file

-Screenshots

-AppleHDA kext

-Boot log for clover

-Config.plist for clover.

 

I am using the IntelHD and Nvidia drivers from 10.9.1 (the ones from 10.9.2 and newer are not working for me).

The nvidia GTX780m is the one that handles HDMI audio and display.

Let me know if you need anything else.

Archive 2.zip

Link to comment
Share on other sites

I am struggling in getting HDMI audio to work.  

I recall looking into this a while ago. As before, you have done everything right.  Have one more suggestion:

 

AppleHDAController binary

find: de 10 ea 0b

replace: de 10 0a 0e (2x)

  • Like 2
Link to comment
Share on other sites

I recall looking into this a while ago. As before, you have done everything right.  Have one more suggestion:

 

AppleHDAController binary

find: de 10 ea 0b

replace: de 10 0a 0e (2x)

Yeah i was unsuccesful in my previous trials, this time i extracted all my SSDTs and found out that my graphic cards are injected there thus im giving it another shot. Trying now your suggestion.

Thanks for your patience.

 

Update: Still not working, i give up :D

Thank you mate!

Link to comment
Share on other sites

Seems to have no effect, included my SSDT just in case i made a mistake.

attachicon.gifArchive.zip

Update 1: Seems like when using PEG0/GFX0 it has no effect on signal type, but using PEG0/PEGP (as in the original SSDT) it has the desired impact on signal type.  Attached the new files (edited SSDT and ioreg).

Archive.zip

 

With this solution however i get no HDAU in ioreg.

 

On the other hand, when puting HDAU inside PEG0 (Instead of PEG0/PEGP) the signal type gets back to 02.

 

Update 2: I think there was a conflict in device names into my SSDTs, i did GFX0 -> IGPU for all of them including my DSDT, now i see the right av-signal type and hdau shows in Ioreg, but no HDMI audio. There are also references to PCI0.PEG0.PEG0 in SSDT-6 and SSDT-7, i am mostly thinking that i may be doing the HDMI audio injection in the wrong file (whereas i may need to inject them where there are the _ON and _OFF methods).  Let me know what you think.

 

MacBook Pro.zip

Link to comment
Share on other sites

Update 2: I think there was a conflict in device names into my SSDTs, i did GFX0 -> IGPU for all of them including my DSDT, now i see the right av-signal type and hdau shows in Ioreg, but no HDMI audio. 

The Update 2 IOReg shows HDMI signal on A@0, consistent with dsdt.  Not sure why the HDMI device moved to C@2.  Edit the dsdt from @0,av-signal-type to @2,av-signal-type.  Reply with edited dsdt and new IOReg.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...