Jump to content
InsanelyMac Forum
toleda

Mavericks AppleHDA HDMI Audio

Recommended Posts

Mavericks: HDMI Audio - AppleHDA  - Deprecated

Mavericks/solutions/support, see El Capitan AppleHDA HDMI Audio

 

Most audio codecs/Most graphics systems

 

Mavericks HDMI audio is supported on Intel HD3K/HD4K/HD4600, AMD HD5xxx/HD6xxx/HD7xxx, Nvidia 4xx/5xx/6xx/7xx, Intel/AMD and Intel/Nvidia graphics configurations. This guide provides the files and instructions for enabling native AppleHDA.kext HDMI audio.

 

Change Log

  1. v2.1 - 8/20/2014 - Limited 9 Series HDMI Audio Support

  2. v2 - 8/20/2014 - v2 Mavericks HDMI Audio Guides

  3. v1.2 - 7/14/2014 - 10.9.4 AppleHDA HDMI Audio Support Available

  4. v1.1 - 3/5/2014 - Clover HDMI audio

  5. v1.0 - 10/23/13 - Mavericks Release

Update: 10.9.4 requires new AppleHDA patch for OS X Haswell/HD4600 HDMI audio. The v2 patch supports 10.9 and newer. Credit TimeWalker75a

  1. Chameleon:  audio_hdmi_8series/audio_hdmi_hd4600-hda-90_v2_patch.command
  2. Clover: See audio_CloverHDMI/config-hdmi_hd4600-92_v2.plist

Mavericks/New Feature

  1. AMD HD7xxx HDMI audio support

Supported OS X releases

  1. Mavericks: 10.9 and newer

v2 Mavericks HDMI Audio Guides 

  1. Select the matching processor graphics/motherboard series
  2. Note: AMD/Nvidia HDMI audio is installed with every Desktop configuration

v2 Mavericks dsdt/ssdt HDMI audio

  1. HD4600/9 Series/8 Series
    1. [Guide]_HD4600-hdmi_audio_(dsdt_or_ssdt)_v2.pdf.zip

    2. Limited 9 Series Support
  2. HD4000/7 Series/6 Series
    1. [Guide]_HD4000-hdmi_audio_(dsdt_or_ssdt)_v2.pdf.zip
  3. HD3000/7 Series/6 Series
    1. [Guide]_HD3000-hdmi_audio_(dsdt_or_ssdt)_v2.pdf.zip
  4. 5 Series/X58/X79
    1. [Guide]_5series-hdmi_audio_(dsdt)_v2.pdf.zip
  5. Discrete Graphics
    1. [Guide]_AMD-hdmi_audio_v2.pdf.zip
    2. [Guide]_Nvidia-hdmi_audio_v2.pdf.zip

Bootloader HDMI audio

  1. All: Clover
    1. with dsdt/ssdt from above
    2. audio_CloverHDMI
  2. HD4000/HD3000/Chameleon
    1. Use LayoutID=3
  3. Nvidia(1st 2 ports only)/Chameleon
    1. Use LayoutID=1 or 2

Hints

  1. HD2000/HD2500/HD4400 (Desktop) not supported
  2. Downloads: Click link, Click View Raw.
  3. Problem Reporting, see [Guide]...pdf

Requirements

  1. S/L/E/AppleHDA.kext
    1. Native S/L/E/AppleHDA.kext/No onboard audio
      1. Clean OS X install/AppleHDA.kext
      2. OS X Combo Update/AppleHDA.kext extraction does not work
    2. Realtek ALC AppleHDA.kext (885, 887, 888, 889, 892, 898, 1150)
    3. Any patched Mavericks AppleHDA_v2.5.2 and newer
  2. Graphics
    1. Intel HD Graphics (1st generation and prior, not supported)
      1. HD5K/HD4600 (Azul framebuffer and AppleHDA edits required, patches available, see 1. 8 Series HDMI Audio, below)
      2. HD4K (Capri framebuffer edits may be required, see 2. UEFI HDMI Audio)
      3. HD3K (SNB framebuffer edits may be required, see 4. HD3000/6 Series HDMI Audio)
    2. AMD HD5xxx/HD6xxx/HD7xxx
      1. AppleHDAController and AMD50000Controller/MD60000Controller/MD60000Controller edits may be required, see Editing custom personalities for ATI Radeon HD[45]xxx - ATi - InsanelyMac Forum
    3. Nvidia 4xx/5xx/6xx/7xx
      1. GTS450, GTX550ti, GTX 560ti not supported natively
  3. Intel Motherboards
    1. 8 Series - Z87, H87, B85
    2. 7 Series - Z77, H77, B75
    3. 6 Series - Z68, P67, H67, H61
    4. 5 Series - P55, H55

Before You Start

  1. OS X does not provide HDMI audio controls (No volume, no mute, no balance, etc.)
  2. The connected HDMI device (TV, receiver, etc.) provides any and all audio control
  3. Remove S/L/E/HDAEnabler1.kext or S/L/E/HDAEnabler2.kext (if present)
  4. Remove any property-type injection (Extra/org.chameleon.Boot.plist, Clover/config.plist)

Tools

  1. MaciASL http://maciasl.sourceforge.net/
  2. DCPIManager http://sourceforge.net/projects/dpcimanager/
  3. IORegistryExplorer (IOReg) - Note: current version saves corrupt files. Select View Raw audio_ALCInjection/IORegistryExplorer_v2.1.zip at master · toleda/audio_ALCInjection

Problem Reporting (post to this thread with requested infomation attached)

  1. Description of HDMI audio problem
    1. OS X version/motherboard model/BIOS version/processor/graphics
    2. Procedure/Guide Used
    3. Copy of IOReg or IOJones
      1. IORegistryExplorer_v2.1.zip (View Raw)
      2. IOJones
    4. Chameleon
      1. Extra/org.chameleon.Boot.plist
      2. DPCIManager/Misc/Boot Log
      3. Extra/dsdt.aml (if installed) 
      4. Extra/ssdt.aml (if installed)
    5. Clover
      1. EFI/Clover/config.plist
      2. EFI/Clover/misc/debug.log (Set config.plist/Boot/Debug/YES)
      3. EFI/Clover/ACPI/Patched/dsdt.aml (if installed) 
      4. EFI/Clover/ACPI/Patched/ssdt.aml (if installed)

 

Credits:

PikeRAlpha Haswell HDAU solution | Pike's Universum

bcc9 http://www.insanelymac.com/forum/top...ort/?p=1934889, Post #11

VCH888: ALC889A, Gigabyte (Intel): now having a working front mic - Page 38 - Sound - InsanelyMac Forum

TimeWalker75a Post #118, Intel HD Graphics 4600 (Haswell) working displayport

Share this post


Link to post
Share on other sites
Advertisement

I am going to be attempting this audio fix to a system with GA-B75M-D3H motherboard with integrated HD4000 graphics. Do I use this guide: 2. UEFI HDMI Audio (dsdt or ssdt) - Desktop/Laptop/Intel NUC or this one: 3. HD4000/7 Series MB HDMI Audio (dsdt) - Desktop/Laptop/Intel NUC? Or do I use both? Also, if I want to be able to use a headphone jack for sound when my hackintosh is not connected to a HDMI device, should I just use this method instead: https://github.com/toleda/audio_ALCInjection ?

 

Thanks for the help!

 

Edit: after reading through the [Guide]-HD4000-hdmi_audio_dsdt_edits_v1.3.pdf, it says to remove the property-type injection (I use org.chameleon.Boot.plist). After completing the edits, would I place the injection back in after everything is working? Thanks again.

Share this post


Link to post
Share on other sites

I am going to be attempting this audio fix to a system with GA-B75M-D3H motherboard with integrated HD4000 graphics. Do I use this guide: 2. UEFI HDMI Audio (dsdt or ssdt) - Desktop/Laptop/Intel NUC 

 

Edit: after reading through the [Guide]-HD4000-hdmi_audio_dsdt_edits_v1.3.pdf, it says to remove the property-type injection (I use org.chameleon.Boot.plist).

Use 2. UEFI.  Yes the headphone works with HDMI audio enabled You will not need property type injection; the HDMI audio edits replace any other injection.

Share this post


Link to post
Share on other sites

Use 2. UEFI.  Yes the headphone works with HDMI audio enabled You will not need property type injection; the HDMI audio edits replace any other injection.

 

Okay I will try 2. UEFI. If I use the chameleon boot.plist for things like GraphicsEnabler and onboard Ethernet, can I keep using that file? I do not use property-type injection for audio.

Share this post


Link to post
Share on other sites

Yes.  Delete any property-type injection.

Thank you for your responses Toleda, I appreciate the help but I am still conceptionally confused. Are you saying to keep the file since I do not use the boot.plst file for audio, or to delete it completely. I if do delete the file completely, would I have to type in GE=Yes every time I boot?

 

Edit: I read in another forum post to not include GE=Yes in the boot.plist, but keep the file. That's what I will try.

Share this post


Link to post
Share on other sites

Thank you for your responses Toleda, I appreciate the help but I am still conceptionally confused. Are you saying to keep the file since I do not use the boot.plst file for audio, or to delete it completely. I if do delete the file completely, would I have to type in GE=Yes every time I boot?

To be clear, Post #1 says "Remove any property-type injection (Extra/org.chameleon.Boot.plist, Clover/config.plist)" If present, the entry will be in either of the two files noted.  Where does it say delete org.chameleon.Boot.ilist?  No other changes to either configuration file is required.  FYI, the HDMI audio dsdt edits perform the GraphicsEnabler function provided by the bootloader.

Share this post


Link to post
Share on other sites

Toleda, thank you for explaining further. I confused myself into thinking that removing property-type injection = the removal of the boot.plist file.

Share this post


Link to post
Share on other sites

I've got HDMI audio working using the UEFI HDMI guide. Very straightforward using [Guide]-UEFI-hdmi_audio_dsdt_edits_v2.1.pdf. However, when I plug headphones in, they are not recognized as an output device. Any tips on how to get that working?

Share this post


Link to post
Share on other sites

I did not install an edited AppleHDA.kext, perhaps I am better off trying to do the steps within your audio_ALCInjection guides?

 

http://www.insanelymac.com/forum/topic/290796-realtek-alc-applehda-audio-injection/

 

Edit: some more digging, this looks like the correct edited file: http://www.insanelymac.com/forum/files/file/123-realtek-alc887-applehda-audio/

Share this post


Link to post
Share on other sites

ALCinjection didn't work, but I tried uefi hdmi again (option #2) works for HDMI, and along with a 887 AppleHDA file (linked in previous post) works for the headphones. Thanks Toleda for your help and the files.

Share this post


Link to post
Share on other sites

ALCinjection didn't work, but I tried uefi hdmi again (option #2) works for HDMI, and along with a 887 AppleHDA file (linked in previous post) works for the headphones. Thanks Toleda for your help and the files.

You discovered ALCInjection is enabled with HDMI audio dsdt edits, no other injection is needed.  

Share this post


Link to post
Share on other sites

Hi Toleda, tried with:

-SSDT: Nothing Changes
-DSDT: The internal display won't work anymore and i need to plug in the HDMI, still no HDMI audio. 

Using a modified AppleHDA for my Laptop GT70-2OD  (HM87 with ALC892, Nvidia GTX 780m and Intel HD4600 in optimus).  The Nvidia is taking care of the HDMI out (The intel HD4600 is not involved in that).

Any clue? Attached my Ioreg (when TV plugged, with the DSDT and a perfectly working AppleHDA -thanks to Mirone-).

 

Archive.zip

Share this post


Link to post
Share on other sites

 

Any clue?

No HDMI audio dsdt edits, no HDMI audio.  No HDMI audio ssdt, no HDMI audio.  See Post #1.  Reply with  edited dsdt/ioreg and/or ssdt/ioreg.

Share this post


Link to post
Share on other sites

No HDMI audio dsdt edits, no HDMI audio.  No HDMI audio ssdt, no HDMI audio.  See Post #1.  Reply with  edited dsdt/ioreg and/or ssdt/ioreg.

Hi Toleda Sorry about that, please find attachedmy patched applehda (using audio_hdmi_hd5K-hda-90_patch), also attached my DSDT before and after the patches (using the clean compile when extracted, then the Nvidia a@1 and @2= same problem):

-After reboot, the internal display does not work anymore (stuck at spinning wheel)

-The external display (through HDMI) is the only one working.

-Audio is greyed after the patches and reboot (but shows HDMI audio in system information).

post-946790-0-48085900-1386467147_thumb.png

Archive.zip

Share this post


Link to post
Share on other sites

Hi Toleda Sorry about that, please find attachedmy patched applehda 

-After reboot, the internal display does not work anymore (stuck at spinning wheel)

-The external display (through HDMI) is the only one working.

-Audio is greyed after the patches and reboot (but shows HDMI audio in system information).

If you are using someone else's AppleHDA.kext, edit dsdt/HDEF/layout-id to whatever or install the native AppleHDA.kext and see Mavericks Realtek ALC AppleHDA Audio - OSx86 10.9 (Mavericks) - InsanelyMac Forum

 

The HDMI audio edits use a desktop framebuffer.  What framebuffer gives you LVDS?  Edited dsdt/IGPU/AAPL,ig-platform-id with the working laptop framebuffer.  

 

Download, install and run http://sourceforge.net/projects/dpcimanager/. Reply with a DPCIManager/Status screenshot.

 

With working 892 audio and working framebuffer, attach dsdt and new IOReg.

Share this post


Link to post
Share on other sites

Hi Toleda,

 

Thanks for all of your info.

I have followed your instructions and still can't seem to get HDMI audio to appear. Here is my current setup.

 

  1. Motherboard/BIOS version/processor/graphics/OS and version - Asus P8H77-V/default BIOS (non-patched)/i7 Core 3.4GHz/AMD Radeon HD6450/Mavericks 
  2. Procedure/Guide Used - I used the UEFI HDMI audio procedure. My MOBO has integrated graphics (Intel HD 4000) but I am not using it. 
  3. dsdt/native (.dsl) 
  4. dsdt/edited (.dsl)
  5. copy of IOReg/Select Raw Data - all attached

Please tell me what I am doing wrong. Thanks.

 

J

dsdt-motherboard-native.dsl.zip

dsdt.aml.zip

ioreg.zip

Share this post


Link to post
Share on other sites

Hi toleda,

 

Continuing from my previous post in wrong forum: http://www.insanelymac.com/forum/topic/293001-mavericks-realtek-alc-applehda-audio/?p=1974278

 

So, I tried as you suggested. But, I am not able to boot to OS X. So, I tried booted in the Safe Mode and exported the IOReg. Find the Clover config and IOReg in as-suggested.zip 

In case its useful, I have also attached the IOReg & config.plist for some partially working cases in other-cases.zip

 

 

Some other Inputs:

  1. I am booting Clover from a USB, And I am using injecting kexts with IfNoFakeSMC. 
  2. Without Injecting Intel Graphics, it do not see the HD4600 at all. In fact -  it was not even detected by ##### Installer either ( I had to use IGPEnabler=yes, GraphicsEnabler=no) to try and install with that method. 
  3. My motherboard is in Full UEFI mode. Have disabled Legacy boot and CSM! Hard disks are in GPT mode.

What would you suggest?

as-suggested.zip

other-cases.zip

Share this post


Link to post
Share on other sites

Procedure/Guide Used - I used the UEFI HDMI audio procedure. My MOBO has integrated graphics (Intel HD 4000) but I am not using it. 

Please tell me what I am doing wrong. Thanks.

There are no HDMI audio dsdt edits.  Select Patch/hdmi-uefi/Desktop-AMD/Nvidia-A1/Apply/Close/Compile/Save.  Clean Compile patched successfully.

So, I tried as you suggested. But, I am not able to boot to OS X. 

What would you suggest?

The ssdt is not loading; reason, config.plist is still wrong.

config-4 is closest, remove ACPI/DropTables.  

Debug log should look like: http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/?p=1972342

 

Until the ssdt loads, OS X boot will hang because the HD4600 framebuffer is not been specified.

Share this post


Link to post
Share on other sites

Toleda, 

 

Huge thanks. Works perfectly! 

 

EDIT: Spoke too soon. Just had some on going static noise and couldn't move my mouse. Should I be using a different kext?

This is the one I am using currently.

 

AppleHDA.kext.zip

Share this post


Link to post
Share on other sites

toleda,

 

Tried this config file too. Didn't work.

I am sorry for being too dumb here - but, I am not sure where to look for Clover logs? - Already looked in OS X Console. but there is nothing with "SSDT". I have enabled debug true in config.plist too. 

 

Also, do I need to generate DSDT.aml when I am using SSDT only ? At the moment the config.plist has that because, I was using Clover Configurator for generating the config.plist before. Anyway, I have already tried removing DSDT.aml line in the config.plist

 

The only file in my CLOVER/ACPI/Patched folder is the SSDT.aml 

The CLOVER/ACPI/origin folder has DSDT-or.aml, DSDT-pa0.aml, DSDT-pa1.aml, DSDT-pa2.aml ( I believer they were generated by Clover when I removed the DSDT section from the config.plist )

 

:-( I am really not sure where to look or what do do !?

config.zip

config-2.zip

Share this post


Link to post
Share on other sites

Just had some on going static noise and couldn't move my mouse. Should I be using a different kext?

No idea what you are using, try Mavericks Realtek ALC AppleHDA Audio - OSx86 10.9 (Mavericks) - InsanelyMac Forum

I am not sure where to look for Clover logs? - 

Also, do I need to generate DSDT.aml when I am using SSDT only ?

 

I am really not sure where to look or what do do !?

Add Log/YES to config.plist/Boot.  The log is EFI/Clover/misc/debug.log.  I don't know if bdmesg still works, try it.

No.  

DropOem is the correct property, DropOemSSDT is deprecated.

Share this post


Link to post
Share on other sites

toleda, 

 

thank you for your patience.

 

I just tried it with logging, and it seems the SSDT is loaded. But its still not booting.

 

Like before - In verbose mode, its stuck with the following message, 

 

  ****[iOBluetoothHostControllerUSBTransport][suspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0xe400 ****

 

 

 

config-debug-log.zip

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×