Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
Joined
Nov 4, 2012
Messages
9
Motherboard
Asus H97I-Plus
CPU
Intel i3 4170T
Graphics
Radeon R360
Mac
Classic Mac
Mobile Phone
Hi guys,

First thanks a lot for all the work, really impressive.

I've been blocked with this for a few days in my new build and I don't really know how to continue.

So It's Asus H97I-Plus (alc887/8 + 3 sound analog output + optical) and the processor it's a Intel 4170T (HD4400). Following the previous tutorials I've been able to make everything work and even the graphic card, now I just need to have the sound over HDMI.

Following the tutorial I've added the sources in MaciASL and I've applied the patch AMI-HD4600-AMD-NVIDIA-A1 without issues but I'm not able to compile. I obtained these errors. What should be the next step ?

Code:
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(6732) : Error    4096 - syntax error, unexpected PARSEOP_ZERO
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(9027) : Error    4096 - syntax error, unexpected '}', expecting '('
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(9088) : Error    4096 - syntax error, unexpected '}', expecting '('
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(9202) : Error    4096 - syntax error, unexpected '}', expecting '('
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(9210) : Error    4096 - syntax error, unexpected '}', expecting '('
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(9218) : Error    4096 - syntax error, unexpected '}', expecting '('
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(9544) : Error    4096 - syntax error, unexpected PARSEOP_IF
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(11386) : Error    4096 - syntax error, unexpected PARSEOP_ARG0
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(14134) : Error    4096 - syntax error, unexpected '}', expecting '('
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(14536) : Error    4096 - syntax error, unexpected PARSEOP_IF
5/31/15, 7:28:21 AM, iASLdV8kZP.dsl(16427) : Error    4096 - syntax error, unexpected $end
5/31/15, 7:28:21 AM, ASL Input:  iASLdV8kZP.dsl - 16428 lines, 557313 bytes, 6728 keywords
5/31/15, 7:28:21 AM, Compilation complete. 11 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Following this If I understand I should also modify the AppleHDA and Azul. I found them in the Extensions Folder but I don't really understand the port assignation from IOJones. Having only my HDMI connected, I get that it's AppleIntelFramebufer@2 with the following information:
Code:
AAPL,ig-platform-id, Data, <03 00 22 0d>
Apple Display -> port-number, Number, 0x0

So no port 5, 6 or 7, which patch should I apply ?

View attachment LittleBoy.iojones

PS My bootloader is chimera

Thanks in advance for your time and really nice work :clap:
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
not able to compile.
So no port 5, 6 or 7, which patch should I apply ?
No way to fix a dsdt with complier error messages. Save dsdt as Format: Disassembled ASL file and attach.
The display is on AppleIntelFramebuufer@2, Port 0x7; use azul-a patch.
 
Joined
Nov 4, 2012
Messages
9
Motherboard
Asus H97I-Plus
CPU
Intel i3 4170T
Graphics
Radeon R360
Mac
Classic Mac
Mobile Phone
Thanks toleda,

I had to re-install the system as I wasn't able to boot it anymore.

Here is my dsdt before to apply the patch.

Thanks for your help :)View attachment system.zip

PS I had to compress it or it wasn't fitting the files system of the forum.
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
I had to re-install the system as I wasn't able to boot it anymore.
Installing a text file into a system folder fails every time. Install only compiled binaries. If you remove wrong dsdt file, reinstall is not necessary.
Remove the "I' as the first character in your attached dsdt file.
The guide says apply 2 patches, what patches did you apply?
 
Joined
Nov 4, 2012
Messages
9
Motherboard
Asus H97I-Plus
CPU
Intel i3 4170T
Graphics
Radeon R360
Mac
Classic Mac
Mobile Phone
Hi Toleda,

Started everything from the start,

I've applied the patches: AMI-Clean_Compile-9Series and AMI-HD4600-AMD-Nvidia-A1 and I've one error when doing the compilation:

Code:
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(13768) : Error    4057 - Name already exists in scope (_DSM)
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(14769) : Warning  1099 - Unknown reserved name (_WDG)
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(14955) : Warning  1099 - Unknown reserved name (_WED)
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(14955) : Warning  1099 - Unknown reserved name (_WED)
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(14955) : Warning  1099 - Unknown reserved name (_WED)
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(15749) : Warning  1088 - Not all control paths return a value (_HID)
6/3/15, 7:05:03 PM, iASLByyO7A.dsl(15749) : Warning  1081 - Reserved method must return a value (Integer/String required for _HID)
6/3/15, 7:05:03 PM, ASL Input:  iASLByyO7A.dsl - 16322 lines, 555493 bytes, 6749 keywords
6/3/15, 7:05:03 PM, Compilation complete. 1 Errors, 8 Warnings, 0 Remarks, 64 Optimizations


Also coming back to the pdf regarding the Step 1:
Code:
[COLOR=#1A1A1A][FONT=Verdana]Step 1: HD4600 HDMI Audio kext edits
[/FONT][/COLOR][COLOR=#1A1A1A][FONT=Verdana]1. AppleHDA.kext (select one) [/FONT][/COLOR]
which one should I use in all the list and where I can find it ?

For the Step 2 which is the patching since I'm using version 10.10.3, I don't need to do the step 4 and 5 right ?

Thanks a lot for your help :)
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
I've one error
which one should I use in all the list and where I can find it ?
For the Step 2 which is the patching since I'm using version 10.10.3, I don't need to do the step 4 and 5 right ?
2nd request; error log is useless, attach dsdt with error.
With the exception of MultiBeast (Downloads - tonymacx86.com), each choice has link.
Correct.
 
Joined
Nov 4, 2012
Messages
9
Motherboard
Asus H97I-Plus
CPU
Intel i3 4170T
Graphics
Radeon R360
Mac
Classic Mac
Mobile Phone
Hi Toleda,

Here is my patched dsdt which I can't compile View attachment DSDT_patched.zip

For step 1 I copy from the multibeast the file AppleHDA-887_v100302.pkg and I've downloaded the file graphics_intel_hd5k-azul-a-90_patch.command

What is the way to patch this file and to replace my actual AppleHda with it ?

Thanks again for all your efforts
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
my patched dsdt which I can't compile

For step 1 I copy from the multibeast the file AppleHDA-887_v100302.pkg and I've downloaded the file graphics_intel_hd5k-azul-a-90_patch.command

What is the way to patch this file and to replace my actual AppleHda with it ?
See Post #482
Use MultiBeast to install 887 audio
No idea what is the correct azul patch, attach IOReg.
 
Joined
Mar 17, 2011
Messages
422
Motherboard
GA-Z77X-D3H rev1.1
CPU
i5 2500K SandyBridge
Graphics
2x XFX HD 6870 DualFan
Mac
Classic Mac
Mobile Phone
  1. iOS
@ toleda hey man,i would like to ask you something.So,all i did to get HDMI audio on my hack was to place SSDT-1 you provide on EFI partition (Clover install)as per instructions (that was way too easy,thanx!).My question is,editing the SSDT-1,can i get dual HDMI audio outputs as i have 2 cards in my build?Currently,only the top card (the one closer to CPU) gets HDMI audio.thank you again.
 
Status
Not open for further replies.
Top