Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
reporting with all the requested file for a hdmi audio issue (internal works) please help...

Thanks Nikos

 

Attachments

  • report-VPCEH2Q1E-HDMI-AUDIO-not-working.zip
    2.3 MB · Views: 55
  • Screen Shot 2016-03-16 at 04.56.15.png
    Screen Shot 2016-03-16 at 04.56.15.png
    56.5 KB · Views: 128
  • Terminal Saved Output.txt
    966 bytes · Views: 74
reporting with all the requested file for a hdmi audio issue
cloverHDMI: Error: No AMD/Nvidia graphics found, unknown acpi PCI0/graphics name
cloverHDMI: Laptops are not supported

Two choices (see Post #1):
1. SSDT: edit EFI/CLOVER/SSDT-2.aml
Find: PEG0.PEGP
Replace: PEG0.DGPU (2x)
Compile/Save/Install/Restart

2. DSDT: EFI/CLOVER/DSDT.aml is damaged, fix/replace
Use hdmi_5series/Award-BIOS-Nvidia-AMD-A1
Delete patch #4 (HDEF)
Compile/Save/Install/Restart
 
Thanks for the guide, while I'm new at the Hackintosh game and didn't understand most of it, I did run the CloverHDMI Command and got my HDMI audio to work....sort of.

When I to to audio settings it shows my Dell S2415H as an output, and when I select it the sound works, didn't show it before running the command.

BUT, there is no volume control through OSX....how can I fix that?
 
Hi,
Take a look at my case…

I got natively HDMI audio at HD3000 (with vanilla AppleHDA, of course) with a simple DSDT code on IGPU/HDEF: "hda-gfx", Buffer() { "onboard-1" }.

If I just patch my own AppleHDA to get onboard audio, but without set HDEF layout-id yet, HDMI audio still working fine.

Now, the problem: If I set HDEF layout-id to 12 (to enable onboard audio) so I lost HDMI and get only onbord audio. Why?

It's possible to get both of audio (HDMI and onboard) enabled at same time with a patched AppleHDA by myself? There's a trick or is missing something more on AppleHDA?

Thanks in advance,
Regards!
 

Attachments

  • Clover+Ioreg.zip
    1.1 MB · Views: 48
It's possible to get both of audio (HDMI and onboard) enabled at same time with a patched AppleHDA by myself?
Yes. Edit dsdt/IGPU, edit Package and add layout-id injection
Fix:
Code:
        Device (IGPU)
        {
            Name (_ADR, 0x00020000)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Store (Package (0x08)
                    {
                        "device-id", 
                        Buffer (0x04)
                        {
                             0x26, 0x01, 0x00, 0x00                         
                        }, 


                        "AAPL,snb-platform-id", 
                        Buffer (0x04)
                        {
                             0x10, 0x00, 0x03, 0x00                         
                        }, 


                        "layout-id", 
                        Unicode ("\x01"), 


                        "hda-gfx", 
                        Buffer (0x0A)
                        {
                            "onboard-1"
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
 
Thanks,
but no luck yet.

Considering that your DSDT code is already edited I just copy it and paste only on device IGPU, restart but no HDMI audio. Onboard audio enabled, once layout-id 12 is already set on device HDEF.

If possible, take a look on AppleHDA that i've patched.

Files edited:
• Platforms and layout12 xml
• AppleHDA (binary, by Clover/KextsToPatch)
• AppleHDAHardwareConfigDriver (info.plist)

More editing is required?

Thanks a lot!
 

Attachments

  • AppleHDA+Ioreg+DSDT.zip
    2.2 MB · Views: 52
no luck yet.
dsdt/IGPU/layout-id is not correct, try again.
Installed AppleHDA has 4 Outputs defined for onboard audio, no Output for HDMI audio.
Fix (select one)
1. Edit installed AppleHDA to remove an output device
2. See Post #1, Realtek ALC AppleHDA, use Audio ID: 3.
 
cloverHDMI: Error: No AMD/Nvidia graphics found, unknown acpi PCI0/graphics name
cloverHDMI: Laptops are not supported

Two choices (see Post #1):
1. SSDT: edit EFI/CLOVER/SSDT-2.aml
Find: PEG0.PEGP
Replace: PEG0.DGPU (2x)
Compile/Save/Install/Restart

2. DSDT: EFI/CLOVER/DSDT.aml is damaged, fix/replace
Use hdmi_5series/Award-BIOS-Nvidia-AMD-A1
Delete patch #4 (HDEF)
Compile/Save/Install/Restart

toleda thanks for your time but no luck

ssdt edit

Code:
/* * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20160313-64(RM)
 * Copyright (c) 2000 - 2016 Intel Corporation
 * 
 * Disassembling to non-symbolic legacy ASL operators
 *
 * Disassembly of iASLrXnWov.aml, Thu Mar 24 00:08:11 2016
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x000001F7 (503)
 *     Revision         0x01
 *     Checksum         0x99
 *     OEM ID           "toleda"
 *     OEM Table ID     "ami789n"
 *     OEM Revision     0x00003000 (12288)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20160313 (538313491)
 */
DefinitionBlock ("", "SSDT", 1, "toleda", "ami789n", 0x00003000)
{


    External (_SB_.PCI0.PEG0, DeviceObj)
    External (_SB_.PCI0.PEG0.DGPU._ADR, UnknownObj)


    Scope (\_SB.PCI0.PEG0)
    {
        Device (GFX0)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Name (_SUN, One)  // _SUN: Slot User Number
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                Store (0x0F, \_SB.PCI0.PEG0.DGPU._ADR)
            }


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


                Return (Package (0x0E)
                {
                    "@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                         
                    }, 


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


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


                    "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", 
                    Unicode ("\x01"), 
                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }
    }


    Store ("ssdt-ami-7/8/9series_nvidia_hdmi_audio_v3.0 github.com/toleda", Debug)
}
 
Status
Not open for further replies.
Back
Top