Contribute
Register

[Easy Guide] ML: HDMI Audio/HD4000/7 Series MB

toleda

Moderator
Joined
May 20, 2010
Messages
24,261
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS

HD4000 HDMI Audio
Ivy Bridge/7 Series/Socket 1155/AMI BIOS - HD4000/AMD/Nvidia HDMI Audio

v2 Mavericks HDMI Audio Guides
See Post #1 Mavericks: HDMI Audio - AppleHDA [Guide]

v1 Mavericks HDMI Audio Guides
(Deprecated - 10/1/2014)
This guide is no longer supported
Do not expect a reply if you post to this thread.


Update 6/6/13 - New guide, see Easy Guide] ML: UEFI HDMI Audio


Update 3/22/13 - ML: HDMI Audio - HD4000/7 Series MB dsdt edits

toleda/audio_hdmi_hd4000 · GitHub
Configure MaciASL/Preferences/Sources/+ with URL:
Code:
https://raw.github.com/toleda/audio_hdmi_hd4000/master
HDMI Audio dsdt editing tool for OS X HDMI audio on 7 Series motherboards with HD4000 graphics. Based on the MaciASL built by SJ_UnderWater, the Apply button automatically makes the HDMI audio dsdt edits to your dsdt in less than a dozen steps. No editing of the patch file or dsdt required.

For HD4000 HDMI audio without dsdt edits, see ML: UEFI HDMI audio, no dsdt edits

Verify AMI dsdt (1st line)
DefinitionBlock ("./dsdt.aml", "DSDT", 2, "ALASKA", "A M I", 0x000000..)

Benefits

1. Automated HDMI audio dsdt editing
2. Installs HD4000 integrated graphics HDMI audio dsdt edits
3. Installs AMD/Nvidia discrete graphics card HDMI audio dsdt edits
4. No copy, no paste, no finding the right place to paste….

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 controls

Requirements
1. Intel
1a. Ivy Bridge 7 Series motherboards - Z77, H77, B75
1b. Not supported - X79
2. OS X
2a. Mountain Lion - 10.8 and newer
3. dsdt - no compile errors
4. Motherboard onboard audio codec
4a. Realtek supported audio codecs (8xy): 885, 887, 888, 889, 892, 898
4b. Unsupported audio codecs: ML HDMI audio works with any unsupported audio codec/no onboard audio
5. AppleHDA.kext (one of the following)
5a. ML: MultiBeast 5.2.1 or newer/Audio/Realtek ALC8xx/With DSDT/ALC...
5b. ML: Native AppleHDA.kext (unsupported audio codecs)

More Information
Special HDMI Audio Considerations
Detailed Instructions
See Mountain Lion HDMI Audio - AMI DSDT

Tools
1. MaciASL Download MaciASL from SourceForge.net
2. IORegistryExplorer see [Guide] How to Make a Copy of IOReg
3. CarbonCopyCloner or SuperDuper

Mountain Lion Audio ID (10.8 AppleHDA.kext_v2.3.0 or newer)
1. HD4000 HDMI audio/Audio ID: 3 for 3/5/6 port onboard audio

Attachments
1. HD4000/7 Series/Audio ID: 3/HDMI Audio Editing Kit
See toleda/audio_hdmi_hd4000 · GitHub

Mountain Lion HDMI Audio Edits - Summary
I. Preparation
II. dsdt edits
II A. Patch
II B. Save
II C. Install
III. kext edits
IV. Delete HDAEnabler...
V. Restart
VI. HDMI audio

Start of Procedure - Mountain Lion HDMI audio edits

I. dsdt edits - preparation
1. Backup dsdt.aml
2. Make bootable backup of system (CarbonCopyCloner or SuperDuper)
3. Make a copy of IOReg
4. Copy Downloads/.….._hdmi_audio_dsdt_editing_kit/ to Desktop
5. Copy Extra/dsdt.aml to Desktop/.….._hdmi_audio_dsdt_editing_kit/

II. dsdt edits - clean up
1. Optional: Fixes some Compiler Warnings and Messages
1a. Patch/Open Desktop/.….._hdmi_audio_dsdt_editing_kit/ami_clean_compile.txt/Apply/Close/Compile

II A. Apply Patch file - MaciASL
1. MaciASL/Open dsdt.aml
2. MaciASL/Patch/Open Desktop/.….._hdmi_audio_dsdt_editing_kit/hdmi_audio_ami….txt
3. MaciASL/Apply
4. MaciASL/Close
5. MaciASL/Compile

II B. Save dsdt - MaciASL
1. MaciASL/Save As… Desktop/.….._hdmi_audio_dsdt_editing_kit/dsdt.aml (add extension)

II C. Install dsdt.aml - MaciASL
1. MaciASL/Save As…Extra/dsdt.aml (add extension)

III. kext edits
1. No kext edits required (AppleHDA.kext, AppleIntelFramebufferCapri.kext, AppleIntelSNBGraphicsFB.kext)

IV. Verify S/L/E and Extra/org.chameleon.Boot.plist
1. Delete all audio enablers (System/Library/Extensions/HDAEnabler…), helpers (ALC8..), etc.; AppleHDA.kext only (native or MultiBeast)
1a. Ex., delete S/L/E/HDAEnabler1.kext and/or HDAEnabler8xx.kext
2. Delete any property injectors GraphicsEnabler=Yes is OK. DSDT injection only.
2a. Ex., EFI/property-type injection in Extra/org.chameleon.Boot.plist
3. Repair permissions and cache (Ex., Disk Utility, Kext Beast, Kext Utility, Kext Wizard, etc.)

V. Restart

VI. Verify HDMI Audio
1. System Preferences/Sound/Outputs
P8Z77 I Deluxe/i7-3770K/HD4000 DP audio/NVidia HDMI audio/AirPlay Mirroring









Troubleshooting

1. Verify HDMI device connected
1a. System Information/Graphics/Display/HDMI device name/Television/Yes
2. Verify Extra/dsdt.aml is
2a. .aml file
2b. edited
3. Run IOReg/Verify Devices (PEGP, GFX0, HDAU, HDEF and IGPU)
3a. Device (IGPU) may not be present if HD4000 Graphics is not enabled
3b. Device (GFX0) and Device (HDAU) may not be present if no discrete graphics
4. Problem Reporting
4a. Motherboard/BIOS version/processor/graphics/OS and version
4b. Procedure/Guide Used
4c. dsdt
4d. copy of IOReg
 
Last edited by a moderator:
Joined
Nov 13, 2012
Messages
2
GA-B75M-D3H - i3 3225 - HD 4000 Graphics

Worked perfectly, this is the write up which is easiest to follow. Thanks.
 
Joined
Dec 29, 2012
Messages
4
Motherboard
pc
CPU
i7
Graphics
HD 4000
Mac
Classic Mac
Mobile Phone
I am getting an error during compiling:
Object not found or not accessible from scope: Scope (_SB.PCI0.PEG0)

How do I fix this?

EDIT SOLVED
I changed the name from PEG0 to PEGP and it worked.

Next question, what if I enabled HD4000 using a string injection, how could I delete that?

EDIT2

I got it working, truly was an easy guide, I was just overthinking it. Still have string injection in there... and STILL WORKS

Mobo P8Z77-V
CPU i7 3770k
Mountain Lion 10.8.2
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,261
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
I got it working, truly was an easy guide, I was just overthinking it. Still have string injection in there... and STILL WORKS
String injection disables all other parameters in org.chameleon.Boot.plist; delete device-properties in Extra/org.chameleon.Boot.plist.
Enjoy.
 
Joined
Aug 13, 2012
Messages
8
Motherboard
GA-Z77X-UD5H
CPU
I5 3570K
Graphics
MSI 570GTX TWIN FROZR II 1280M
Mac
Classic Mac
Mobile Phone
Hi,

Thanks for the guide !
I still get these 4 errors when I compile.

Screen Shot 2013-01-12 at 7.37.20 PM.png

Should be easy to solve I guess... but I'm still a newbie with DSDT patching.
Does somebody have an idea how to fix these errors.

View attachment DSDT_12jan.aml.zip

Thanks a lot !
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,261
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
I still get these 4 errors when I compile.
Did you edit the hdmi_audio_ami_efi_hd4000-3.txt patch file? If yes, that is why you have a complier problem. If no, attach the native dsdt.
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,261
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
The dsdt from the post already has the HDMI audio edits. Applying the edits twice fortunately results in the errors you saw. A dsdt HDMI audio edited twice is not useable, delete that version.

Since the dsdt is not a dsdt extracted from your system, verify the BIOS version of the linked dsdt is the same as the BIOS installed on your system. If you cannot confirm the BIOS versions are the same, use MaciASL/DSDT Editor to extract the dsdt from your system. For information, see Post #1, Requirements 3a, No dsdt?
 
Joined
Aug 13, 2012
Messages
8
Motherboard
GA-Z77X-UD5H
CPU
I5 3570K
Graphics
MSI 570GTX TWIN FROZR II 1280M
Mac
Classic Mac
Mobile Phone
I followed your instructions and it's working now !
Thanks a lot for the help.
 
Top