Contribute
Register

No Audio Devices - AppleHDA Realtek Audio

issues with audio after updating to the latest Clover and Lilu kexts
DSDT.aml: where did it come from? Why?
Audio ID: 7 is not supported with this thread
Set config.plist/Devices/Audio/Inject/1
Reply with new files, include Clover boot log
 
DSDT.aml: where did it come from? Why?
Audio ID: 7 is not supported with this thread
Set config.plist/Devices/Audio/Inject/1
Reply with new files, include Clover boot log

DSDT comes from https://github.com/al3xtjames/hack-acpi/tree/207bf46b89d50492008a0f2bfe9d7cb3b04ebf34 and was created with scripts from here https://github.com/al3xtjames/Gigabyte-GA-Z77X-macOS-Install

I'm not sure where Audio ID 7 is coming from. I don't see it set in the Clover config or DSDT. I set ID to 1 in Clover config but IOReg is still reporting ID 7.

EDIT: I re-read AppleALC.kext faq https://github.com/acidanthera/AppleALC/wiki/Frequently-Asked-Questions. I realized that layout-id might need to be in DSDT even if Clover id injection is configured:
How do I add the prerequired DSDT modifications and what are they?
This may be specific to the bootloader you use, however, there are guides for that on the net. In brief you must be sure you have a HDEF section for analog audio, and a HDAU section(s) for HDMI audio. The first one must contain a layout-id.
I edited my DSDT and audio is now working. Before:
Code:
Device (HDEF)
{
    Name (_ADR, 0x001B0000)  // _ADR: Address
    Alias (PWD4, _PRW)
    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
    {
        If (LNot (Arg2))
        {
            Return (Buffer (One)
            {
                 0x03                                             /* . */
            })
        }

        Return (Package (0x02)
        {
            "hda-gfx",
            Buffer (0x0A)
            {
                "onboard-1"
            }
        })
    }
}
After:
Code:
Device (HDEF)
{
    Name (_ADR, 0x001B0000)  // _ADR: Address
    Alias (PWD4, _PRW)
    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
    {
        If (LNot (Arg2))
        {
            Return (Buffer (One)
            {
                 0x03                                             /* . */
            })
        }

        Return (Package (0x06)
        {
            "layout-id",
            Buffer (0x04)
            {
                 0x01, 0x00, 0x00, 0x00                           /* .... */
            },

            "PinConfigurations",
            Buffer (Zero) {},
            "hda-gfx",
            Buffer (0x0A)
            {
                "onboard-1"
            }
        })
    }
}
 

Attachments

  • hda troubleshooting 02.zip
    2.8 MB · Views: 85
Last edited:
IOReg shows no audio and Audio ID: 7.
Attachment #2 was created before DSDT was fixed and did not get updated with the edit to the post.
 
Hey Toleda,

I have exhausted my knowledge on how to get audio devices recognized and running. Please see below:

1. Description of audio problem: no audio devices present, all steps according to the guide, no success.
2. OSX version/motherboad model/BIOS version/processor/graphics: 10.13.6 HS/ASUS Maximus IX Code/1301/Skylake i7 7700k/EVGA Geforce GTX1080 FTW
3. Procedure/Guide Used: cloverALC method
4. Copy of IOREG: included
5. Copy of Console/All Messages (last boot)/File/Save a Copy As...: included system.log (can't save copy as)
6. Installed S/L/E/AppleHDA.kext: included
7. Screenshots:
- DPCIManager/Status
8. Terminal/Shell/Export Test As
- audio_cloverALC-130.command (included)
9. Clover
- EFI/Clover/Config.plist (included)
- DPCIManager/Misc/Boot Log (Tools 3.) - can't launch app

Thanks in advance!
 

Attachments

  • Audio Info.zip
    10.7 MB · Views: 195
Correct diagnosis

Correct fix
AppleHDA.kext is damaged, restore native AppleHDA.kext
Restart and reply with files
Thanks. Replaced AppleHDA.kext, IOReg showed codec device. Successfully installed ALC1220, audio now working. Your help is much appreciated.
 
Back
Top