toleda
Moderator
- Joined
- May 19, 2010
- Messages
- 22,834
- Motherboard
- Asus Maximus VII Impact
- CPU
- i7-4770K
- Graphics
- RX 560 + HD4600
- Mac
- Classic Mac
- Mobile Phone
AMI HDMI Audio
OS X HDMI audio/AMI dsdt edits
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
toleda/audio_hdmi_uefi · GitHub
Configure MaciASL/Preferences/Sources/+ with URL:
Code:
https://raw.github.com/toleda/audio_hdmi_uefi/master
Update 3/22/13 - ML: HDMI Audio - New Guides
HD4000/7 Series MB dsdt edits - Desktop/Laptop/Intel NUC
toleda/audio_hdmi_hd4000 · GitHub
Configure MaciASL/Preferences/Sources/+ with URL:
Code:
https://raw.github.com/toleda/audio_hdmi_hd4000/master
HD3000/6 Series MB dsdt edits - Desktop
toleda/audio_hdmi_hd3000 · GitHub
Configure MaciASL/Preferences/Sources/+ with URL:
Code:
https://raw.github.com/toleda/audio_hdmi_hd3000/master
5 Series MB dsdt edits - Desktop
toleda/audio_hdmi_5series · GitHub
Configure MaciASL/Preferences/Sources/+ with URL:
Code:
https://raw.github.com/toleda/audio_hdmi_5series/master
Mountain Lion HDMI Audio - AMI dsdt, Extra/dsdt.aml (1st line)
DefinitionBlock ("./dsdt.aml", "DSDT", 2, "ALASKA", "A M I", 0x00000014)
Introducing a new simple and easy HDMI Audio dsdt editing tool for OS X HDMI audio. Based on MaciASL, the Apply button automatically adds the HDMI audio dsdt edits to your dsdt. This version edits AMI dsdts
Benefits
1. Automated HDMI audio dsdt editing
2. Installs HD3000 or 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 motherboard (7 Series)
1b. Sandy Bridge motherboard (6 series)
1c. Core i/Nehalem motherboard (5 Series)
2. OS X
2a. Mountain Lion - 10.8 and newer
2b. Lion - 10.7.4 and newer
3. dsdt - no compile errors and no exceptions
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 codec, no onboard audio
5. AppleHDA.kext (one of the following)
5a. ML: Native AppleHDA.kext (unsupported audio codecs)
5b. ML: MultiBeast 5.1.3 or newer/Audio/Realtek ALC8xx/With DSDT/ALC...
5c. Lion: MultiBeast 4.6.1 Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx/Patched AppleHDA/ALC...
6. OS X recognized and enabled graphics with HDMI codec.
7. Chimera - 1.11 or newer
Special HDMI Audio Considerations
1. AMD/Nvidia/Intel
1a. HDMI audio works with or without onboard audio working
1b. For unknown reasons, some systems do not successfully enable HDMI audio
2. AMD
2a. AMD and Nvidia dsdt edits are the same
2b. HDMI Device_ID and/or Framebuffer edits may be required.
2c. DVI ports do not support HDMI audio
2d. Surround sound (Encoded Digital Audio) does not work with GE=No
3. Nvidia
3a. AMD and Nvidia dsdt edits are the same
3b. All Nvidia HDMI device-ids native to ML AppleHDA
3c. HDMI audio available on all ports (DVI2HDMI adapter)
4. Intel
4a. dsdt edits are different for HD3000 and HD4000
4b. Framebuffer edits may be required for 1 or 2 HDMI outputs
4c. 2x HDMI audio available by deleting one audio output device (Line Out or Optical)
5. HDMI audio support not available with
5a. Multiple discrete graphics cards
5b. Discrete graphics cards installed in a slot other than the primary slot (X16)
Tools
1. MaciASL (dsdt editor) MaciASL - Browse Files at SourceForge.net
2. IORegistryExplorer see [Guide] How to Make a Copy of IOReg
3. Applications/Utilities/Console
4. Applications/TextEdit
5. Carbon Copy Cloner or SuperDuper
Mountain Lion Audio ID (10.8 AppleHDA.kext_v2.3.0 or newer)
1. AMD/Nvidia HDMI audio
1a. Audio ID: 1 for 5/6 port on board audio
1b. Audio ID: 2 for 3 port on board audio
2. HD3000/HD4000 HDMI audio
2a. Audio ID: 3 for 3/5/6 port onboard audio
Mountain Lion Audio ID (10.7.4 AppleHDA.kext_v2.2.0 only)
1. See Note 1 below
Lion Audio ID (10.7.4 AppleHDA.kext_v2.2.0 only, available at MultiBeast 4.6.1)
1. See Note 1 below
Installation - Detailed
1. See Downloads/ML_hdmi_audio_dsdt_editing_kit/Read Me First- ML_hdmi_audio_dsdt_edits-AMI
Attachments
1. ML_HDMI Audio Edits - AMI dsdts
1a. View attachment HD4000_AMI_EFI_hdmi_audio_dsdt_editing_kit.zip
1b. View attachment HD3000_AMI_EFI_hdmi_audio_dsdt_editing_kit.zip
1c. View attachment HD3000_AMI_BIOS_hdmi_audio_dsdt_editing_kit.zip
1d. View attachment 5-Series_AMI_BIOS_hdmi_audio_dsdt_editing_kit.zip
2. Special Configurations
2a. View attachment HD4000 graphics on 6 Series.zip
2b. View attachment HD3000 graphics on 7 Series.zip
Mountain Lion HDMI Audio dsdt Edits - Two Steps
1. Preparation
2. Apply dsdt edits
Mountain Lion HDMI Audio dsdt Edits - Preparation
1. Backup dsdt.aml
2. Make bootable backup of system (Carbon Copy Cloner or SuperDuper)
3. Make a copy of IOReg
Key Information/IOReg
1. Determine discrete graphics device names and address
1a. Example: PEG0@1
2. Determine integrated graphics device names and address (N/A - 5 series)
2a. Example: GFX0@2
3. Verify MEIDriver (6 and 7 Series only)
3a. Example: MEI device_id 3a1e
4. Verify HDEF
4a. Example: HDEF/layout-id 0x001 0x00 0x00 0x00
4b. If no HDEF, see ML: How to Add or Edit dsdt/HDEF
5. Determine motherboard audio codec device_id
5a. Example: IOReg/10ec0899
Evaluate HDMI Audio dsdt edit file with Key Information/IOReg
1. Example: 7 Series EFI
1a. layout-id: 0x01, 0x00, 0x00, 0x00 < 0x82, 0x03, 0x00, 0x00
1b. discrete graphics: PEGP@1 < PEGO@1
1c. integrated graphics: IGPU@2 < GFX0@2
Mountain Lion HDMI Audio - dsdt Edits
Edit Patch file - TextEdit
1. TextEdit/Open Desktop/.….._hdmi_audio_dsdt_editing_kit/hdmi_audio_ami….txt
2. TextEdit/Edit layout-id/01 to 02 or 03
3. TextEdit/discrete graphics/Find PEG0/Replace (table above) - if necessary
4. TextEdit/integrated graphics/Find GFX0/Replace (table above) - if necessary
5. Verify edits
6. Save
Apply Patch file - MaciASL1. MaciASL/File/Open dsdt.aml
2. MaciASL/Patch/Open Desktop/.….._hdmi_audio_dsdt_editing_kit/hdmi_audio_ami….txt
3. MaciASL/Patch/Apply
4. MaciASL/Compile
If necessary, Special Configuration/HD4000 graphics on 6 Series or HD3000 graphics on 7 Series
5. MaciASL/Patch/Open HD4000 graphics on 6 Series or HD3000 graphics on 7 Series
5a. MaciASL/Patch/Apply
5b. MaciASL/Compile
Verify Edits - MaciASL
1. MaciASL/Edit/Find HDEF (1x), represented as Device (HDEF)
2. MaciASL/Edit/Find PEGP (1x), represented as Device (PEGP)
3. MaciASL/Edit/Find GFX0 (1x), represented as Device (GFX0)
4. MaciASL/Edit/Find HDAU (1x), represented as Device (HDAU)
5. MaciASL/Edit/Find IGPU (1x), Next, until represented as Device (IGPU) - N/A 5 Series dsdt
Save dsdt - MaciASL
1. MaciASL/File/Save .aml As… Desktop/.….._hdmi_audio_dsdt_editing_kit/dsdt. aml (add extension)
Install dsdt.aml - MaciASL1. MaciASL/File/Save .aml As…Extra/dsdt.aml (add extension)
Mountain Lion HDMI Audio - Kext Edits
Mountain Lion HDMI Audio - Kext Edits
1. No kext edits required (AppleHDA.kext, AppleIntelFramebufferCapri.kext, AppleIntelSNBGraphicsFB.kext)
2. Exception; some supported AMD graphics may required framebuffer edits, see Lion HDMI Audio - Part 3a: Kext Edits - AMD (Mountain Lion procedure same as Lion)
Lion HDMI Audio - Kext Edits
1. Lion HDMI Audio - Part 3a: Kext Edits - AMD
2. Lion HDMI Audio - Part 3b: Kext Edits - Nvidia
3. Lion HDMI Audio - Part 3c: Kext Edits - Intel HD3000 Revised
Mountain Lion HDMI Audio - Verify S/L/E and org.chameleon.Boot.plist
1. Delete any and all audio enablers (HDAEnabler8??), helpers (ALC8??), etc.; AppleHDA.kext only.
2. Delete any and all graphics enablers and property injectors. DSDT injection only.
Mountain Lion HDMI Audio - Restart
Mountain Lion HDMI Audio - Verify HDMI Audio
1. System Preferences/Sound/Outputs
Troubleshooting
1. Verify HDMI device connected
1a. System Information/Graphics/Display/HDMI device name/Television/Yes
2. Verify Extra/dsdt.aml is
2a. a .aml file
2b. edited
3. Run IOReg
3a. Verify Devices (see Verify Edits - DSDT Editor above)
4. Problem Reporting
4a. Motherboard/processor/OS and version/graphics
4b. Procedure/Guide Used
4c. dsdt
4d. copy of IOReg
Notes
1. For Lion AppleHDA.kext (10.7.4, v2.2.0) Audio IDs see Optimized Realtek Lion 10.7.4 AppleHDA
dsdt Edits
-Read Me First- ML_hdmi_audio_dsdt_edits-Award
Credits:
VCH888; http://www.insanelymac.com/forum/index.php?showtopic=140941&view=findpost&p=1448833
proteinshake: http://www.insanelymac.com/forum/index.php?showtopic=280372
Last edited by a moderator: