Jump to content

Mavericks AppleHDA HDMI Audio


toleda
 Share

340 posts in this topic

Recommended Posts

Hi, I've tried get hdmi audio output on intel hd 4000 with alc269vc (AppleHDA patched) but only get audio output on internal speakers. I read that is only a dsdt issue ("onboard-1" to "onboard-0" in gfx0), i've edited my dsdt but without success.
Anyone have resolved a similar issue?

Thanks in advance, regards.

Link to comment
Share on other sites

Post #1, Problem Reporting, reply with requested files.

Hi, here it is.

 

Laptop: Samsung NP270E5E-X01CL, Core i3 3120m, Intel HD 4000, 6GB RAM, ALC269VC, Connected to LG 22MP55HQ (HDMI port), BIOS Version P07RBK (UEFI).

 

Guide used: UEFI HDMI Audio (dsdt or ssdt) - Desktop/Laptop/Intel NUC

 

Other files are attached, I'm using MBP 9.2 smbios.

 

Regards.

Files_MBP9.2.zip

Link to comment
Share on other sites

Guide used: UEFI HDMI Audio (dsdt or ssdt) - Desktop/Laptop/Intel NUC

The TV is not showing HDMI audio in IOReg.  Regardless, a framebuffer patch is required:

 

AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri binary

 

Native 03:

03 00 66 01 01 02 04 02 00 00 00 04 

00 00 00 01 00 00 00 20 10 07 00 00 

10 07 00 00 00 00 00 00 00 00 00 00 

00 00 00 00 00 00 00 00 00 00 00 00

05 03 00 00 02 00 00 00 30 00 00 00 

02 05 00 00 00 04 00 00 07 04 00 00 

03 04 00 00 00 04 00 00 81 00 00 00 

04 06 00 00 00 04 00 00 81 00 00 00

00 00 00 00 00 02 00 11 00 00 00 00 

 

Hex editor (i.e., HexEdit, HexFiend)

 

port 0x5  DP>HDMI

Find:

02 05 00 00 00 04 00 00 07 04 00 00

Replace:

02 05 00 00 00 08 00 00 06 00 00 00

 

Save, install and restart.  Reply with new IOReg.

Link to comment
Share on other sites

The TV is not showing HDMI audio in IOReg.  Regardless, a framebuffer patch is required:

 

AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri binary

 

Native 03:

03 00 66 01 01 02 04 02 00 00 00 04 

00 00 00 01 00 00 00 20 10 07 00 00 

10 07 00 00 00 00 00 00 00 00 00 00 

00 00 00 00 00 00 00 00 00 00 00 00

05 03 00 00 02 00 00 00 30 00 00 00 

02 05 00 00 00 04 00 00 07 04 00 00 

03 04 00 00 00 04 00 00 81 00 00 00 

04 06 00 00 00 04 00 00 81 00 00 00

00 00 00 00 00 02 00 11 00 00 00 00 

 

Hex editor (i.e., HexEdit, HexFiend)

 

port 0x5  DP>HDMI

Find:

02 05 00 00 00 04 00 00 07 04 00 00

Replace:

02 05 00 00 00 08 00 00 06 00 00 00

 

Save, install and restart.  Reply with new IOReg.

Hi, I've patched the kext and now hdmi audio is working (internal speakers and HDMI).

 

Thanks!! New IOReg attached.

 

Regards.

IOReg MBP9.2.zip

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

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

See Post #1

Hi toleda,

 

First, thanks for all your hard work, you make hackintosh setup a breeze!

 

Trying to enable HDMI audio on 10.9.4 on my 4770k/Z87 system with clover, but cannot find " audio_CloverHDMI/config-hdmi_hd4600-92_v2.plist"

 

Can you please push the updates to github whenever you get a chance?

 

Thanks again, cheers :)

 

EDIT: figured it out by looking at the other new v2 patch.

 

for anyone else using clover, 10.9.4 and HD4600 change the AppleHDAController patches to the following:

 

Find: 0C0A0000

Replace: 0C0C0000

 

Find: 0B0C0000

Replace: 0C0C0000

 

EDIT 2:

 

To clarify, I've only tested this with Displayport (not hdmi

 

EDIT 3:

 

Found an hdmi cable, and have now tested both with HDMI and Displayport, audio works with both with the following setup:

 

Core i7 4770k @ stock speeds

Asus Maximus 6 Impact Z87 motherboard

Clover rev. 2758 for UEFI booting only

OSX 10.9.4 with AppleHDA 2.6.3

 

 

 

I followed toledo's guide to patch my DSDT to add the IGPU & HDAU devices, and already had DSDT patched for ALC1150 audio, layout id 1.

 

Verification that DP audio is working with AppleHDA 2.6.3: https://i.imgur.com/DRbBPPj.png

 

The edits I have in my config.plist are here:

 

<dict>
	<key>Comment</key>
	<string>10.9.2/Azul/Port 07/DP>HDMI</string>
	<key>Find</key>
	<data>
	AwYIAAAEAAARAAAA
	</data>
	<key>Name</key>
	<string>AppleIntelFramebufferAzul</string>
	<key>Replace</key>
	<data>
	AwYIAAAIAAAGAAAA
	</data>
</dict>
<dict>
	<key>Comment</key>
	<string>10.9.4/HD4600/HDMI audio 1/2</string>
	<key>Find</key>
	<data>
	CwwAAA==
	</data>
	<key>Name</key>
	<string>AppleHDAController</string>
	<key>Replace</key>
	<data>
	DAwAAA==
	</data>
</dict>
<dict>
	<key>Comment</key>
	<string>10.9.4/HD4600/HDMI audio 2/2</string>
	<key>Find</key>
	<data>
	DAoAAA==
	</data>
	<key>Name</key>
	<string>AppleHDAController</string>
	<key>Replace</key>
	<data>
	DAwAAA==
	</data>
</dict>
<dict>
	<key>Comment</key>
	<string>10.9.2/Azul/Port 05/DP>HDMI</string>
	<key>Find</key>
	<data>
	AQUJAAAEAACHAAAA
	</data>
	<key>Name</key>
	<string>AppleIntelFramebufferAzul</string>
	<key>Replace</key>
	<data>
	AQUJAAAIAAAGAAAA
	</data>
</dict>
<dict>
	<key>Comment</key>
	<string>10.9.2/Azul/Port 06/DP>HDMI</string>
	<key>Find</key>
	<data>
	AgQKAAAEAACHAAAA
	</data>
	<key>Name</key>
	<string>AppleIntelFramebufferAzul</string>
	<key>Replace</key>
	<data>
	AgQKAAAIAAAGAAAA
	</data>
</dict>
Link to comment
Share on other sites

I'm trying to get the displayport audio to work with my monitor.

Your motherboards has PCIe bridges that disable HDMI audio.  There is a fix, dsdt only.  See Post #1, Problem Reporting; reply with the requested information.

Link to comment
Share on other sites

Mavericks 10.9.4

GA-Z87X-UD7 TH 

3.69 Intel Core i7

Intel 4600HD onboard (not using at the moment)

Nvidia GeForce GTX760 using displayport--connected to ASUS monitor 

 

Used the Realtek ALC AppleHDA Audio guide to get the optical audio output working (using external speakers). Works fine. 

Used the 8 Series HDMI audio guide to try and get display port audio working. (90-v2-patch, SSDT attached in previous post with IOJones output)

Link to comment
Share on other sites

Hello toleda 

I have something to asked you 

I have changed the code, graphics 

From 03 00 22 0D 

 

01 05 09 00 00 04 00 00 87 00 00 00 <<<. 

02 04 0A 00 00 04 00 00 87 00 00 00 <<<. 

03 06 08 00 00 04 00 00 11 00 00 00 <<<. 

 

To 7 00 26 0D 

 

01 05 0B 00 00 04 00 00 07 01 00 00. 

02 04 0B 00 00 04 00 00 07 01 00 00. 

03 06 03 00 00 08 00 00 06 00 00 00 <<< with native DisplayPort use HDMI on sound.

It has 4 ports. I try to just 3 ports.

The question I have is that I have used this model dettop or not

I try it, it works very well.

%E0%B8%88%E0%B8%B1%E0%B8%9A%E0%B8%A0%E0%

%E0%B8%88%E0%B8%B1%E0%B8%9A%E0%B8%A0%E0%

 


Here is a list of the images of using the Sound onBorad HDMI.


0D 00 26 0A 

01 05 09 00 00 04 00 00 07 01 00 00 

02 04 0A 00 00 04 00 00 07 01 00 00 

 

 

0D 00 2E 0A 

01 05 09 00 00 04 00 00 07 01 00 00 

02 04 0A 00 00 04 00 00 07 01 00 00

 

0A 00 26 0A 

01 05 09 00 00 04 00 00 87 00 00 00 

02 04 0A 00 00 04 00 00 87 00 00 00 

 

0A 00 2E 0A

01 05 09 00 00 04 00 00 87 00 00 00

02 04 0A 00 00 04 00 00 87 00 00 00

 

 

03 00 22 0D 

01 05 09 00 00 04 00 00 87 00 00 00 

02 04 0A 00 00 04 00 00 87 00 00 00 

03 06 08 00 00 04 00 00 11 00 00 00 

 

 

07 00 26 0D 

01 05 0B 00 00 04 00 00 07 01 00 00 

02 04 0B 00 00 04 00 00 07 01 00 00

03 06 03 00 00 08 00 00 06 00 00 00<<< with native DisplayPort use HDMI on sound 

 

 

0C 00 16 0A 

01 05 09 00 00 04 00 00 07 01 00 00 

02 04 0A 00 00 04 00 00 07 01 00 00 

 

 

08 00 2E 0A 

01 05 09 00 00 04 00 00 07 01 00 00 

02 04 0A 00 00 04 00 00 07 01 00 00 

 

 

06 00 26 0A 

01 05 09 00 00 04 00 00 87 00 00 00 

02 04 09 00 00 04 00 00 87 00 00 00 

 

 

 

05 00 26 0A 

01 05 09 00 00 04 00 00 87 00 00 00 

02 04 09 00 00 04 00 00 87 00 00 00 

 

 

00 00 26 0A 

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound 

 

 

00 00 16 0A 

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound 

 

 

00 00 26 0D 

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound 

 

 

00 00 26 04

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound  

 

 

 

00 00 16 04

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound 

 

 

 

00 00 06 04

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound

 

 

 

00 00 26 0C

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound    

 

 

 

00 00 16 0C

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound

 

 

00 00 06 0C 

01 05 09 00 04 00 00 00 04 00 00 00 

02 04 09 00 00 08 00 00 82 00 00 00<<< with native DisplayPort use HDMI on sound 


Link to comment
Share on other sites

It has 4 ports. I try to just 3 ports.

The question I have is that I have used this model dettop or not
I try it, it works very well.

 

4 HD 4600 ports are useless; Intel spec/HD4600/3 displays max ( 2 displays support HDMI/DP audio max)

There is no native HD4600 HDMI audio because of the 0c0c controller problem.

For the mobile framebuffers with an HDMI connector and a motherboard with the HDMI connector on Port 0x7, HDMI audio works with the native Azul framebuffer.  Some users have found a mobile framebuffer labels a connected display as "Built-In", without acceleration or native resolutions.  My testing showed the most reliable framebuffer for desktops is the only Azul desktop framebuffer, 03 00 22 0D.

 

Use any framebuffer you like.

  • Like 1
Link to comment
Share on other sites

Problem:

 

Just can't get it installed: No audio devices at all

Note: I can go either way on the analog audio

 

  1. 10.9.4 / GA-B85M-HD3  / F10 / i3-4330 / HD4600
  2. Guide: http://www.insanelymac.com/forum/topic/298027-guide-aio-guides-for-hackintosh/?do=findComment&comment=2019599 - First Installing Mavericks using Clover (UEFI), then copied the EFI folder to the local EUFI partition - iMessage, app store worked ootb
    2.a HDMI patches: Tried this one: http://www.tonymacx86.com/hdmi-audio/124462-easy-guide-hd4600-hdmi-audio-gigabyte-series-8-integrated-graphics-only.html , then restored the backups and tried "8 Series HDMI audio dsdt" (Choosing graphics_intel_hd5k-azul-c)
  3. Attached
  4. NA
  5. Clover
    1. EFI/Clover/config.plist (Attached)
    2. EFI/Clover/misc/debug.log (Set config.plist/Boot/Debug/YES) - Could not at all get Clover to generate a log
    3. EFI/Clover/ACPI/Patched/dsdt.aml (Attached)
    4. ssdt not installed (tried, didn't make a difference)

Tried applying the patches using MaciASL, and alternately tried restoring to the original files and doing on-the-fly patching

 

 

Thanks in advance

IOJones.iojones.zip

config.plist.zip

dsdt.aml.zip

Link to comment
Share on other sites

Before I go forward, are you saying that if I only follow https://github.com/toleda/audio_CloverHDMI that the system will end up with working HDMI audio?

 

 

Note: In the files I posted, all patching was done to the files themselves.

Attached to this post is the config.plist that I've been tinkering with after reverting the files back to origional

config.plist.zip

Link to comment
Share on other sites

Before I go forward, are you saying that if I only follow https://github.com/toleda/audio_CloverHDMI that the system will end up with working HDMI audio?

 

Attached to this post is the config.plist that I've been tinkering with after reverting the files back to origional

Yes. The Controller patches in the attached plist do not work in 10.9.4, the Azul patches are unknown and rarely are all three required.  See config-hdmi_hd4600-92_v2.plist in the repo.

Link to comment
Share on other sites

Formatted the drive and started fresh.

Went through audio_CloverHDMI, and the system did not boot.

 

Attached is the plist I ended up with, as well as an image of where it got stuck.

 

 

Edit: disabled realtekALC.kext by moving it out of the kexts folder and the system booted again. Still no audio.

I've also attached the step-by-step log of me following the guide. If I missed anything, that will help identify.

config.audio_CloverHDMI.plist.zip

post-255814-0-24492400-1406341064_thumb.jpg

2014-07-25 config.plist as per toleda - Walkthrough Log.txt.zip

Link to comment
Share on other sites

Went through audio_CloverHDMI, and the system did not boot.

Always wise to get a bootable system first then work on audio.

The boot failure is a graphics problem, off topic.

Not correct: config.plist/Graphics/ig-platform-id/0x0d220003

Valid values: 0d220003 or 0x0300220D

 

When the system is bootable, reply with all updated files from Post #192.

Link to comment
Share on other sites

Just for clarification, the only time the system didn't boot was when 10.9/realtekALC.kext was in place. Otherwise, a fresh install works perfectly except for audio, and the current config works perfectly except for audio.

 

Attached are the updated files as requested

Note: I do not have a DSDT or SSDT installed

 

 

Edit: Found what looks to be Clover's boot log (found in DCPIManager > Misc). Attached.

config.plist.zip

IOJones.zip

boot log.txt.zip

Link to comment
Share on other sites

Just for clarification, the only time the system didn't boot was when 10.9/realtekALC.kext was in place.

To be perfectly clear, that kext will not ever affect the success of boot, there is no executable. The screenshot shows a graphics problem.

 

The attached config.plist is damaged and useless.  Audio will not work without realtekALC.kext installed.  

Reply with the installed AppleHDA.kext, new IOJones and boot log.

Link to comment
Share on other sites

I'm unclear about what's going wrong; the config.plist is allowing me to boot with graphics fully working (QE/CI).

 

If I boot as is 3x in a row, I get the same result.

 

If I make one change: putting the realtekALC.kext in the kexts folder, then it will not finish booting. (waited at least 90 seconds)

Same results if I reboot 3x in a row.

 

If I remove the file again, then the system will start up successfully.

If there is a graphic problem, I'm seeing no evidence of it. What needs to be done (or known) in order to expose it?

 

Would a damaged config.plist cause the system not to boot with realtekALC.kext installed?

 

Attached is the currently installed AppleHDA.kext.

AppleHDA.kext.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...