Contribute
Register

Mountain Lion HDMI Audio - Award DSDT

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,920
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
2787035531_066ba1ee85.jpeg

Award HDMI Audio
OS X HDMI audio/Award 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 3/22/13 - ML: HDMI Audio - New Guides


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

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 Award/Gigabyte dsdts from the tonymacx86 - DSDT Database

Mountain Lion HDMI Audio - Award dsdt, Extra/dsdt.aml (1st line)
DefinitionBlock ("./dsdt.aml", "DSDT", 1, "GBT ", "GBTUACPI", 0x00001000)

Benefits
1. Automated HDMI audio dsdt editing of Award BIOS/dsdt
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
3a. tonymacx86 - DSDT Database
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
4c. 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 available at MultiBeast 4.6.1)
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-Award

Attachments
1. ML_HDMI Audio Edits - Award dsdts
1a. View attachment HD4000_Award_hdmi_audio_dsdt_editing_kit.zip
1b. View attachment HD3000_Award_hdmi_audio_dsdt_editing_kit.zip
1c. View attachment ML_5-Series_Award_hdmi_audio_dsdt_editing_kit.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 graphics device names and address
1a. Example: pci-bridge@3 (5 Series)
1b. Example: Discrete Graphics - PEG0@1 (6 Series)
2, Determine integrated graphics device name and address (N/A - 5 series)
2a. Example: GFX0@2 (6 Series)
3. Verify MEIDriver (6 Series)
3a. Example: MEI device_id 3a1e
4. Verify HDEF
4a. Example: HDEF/layout-id 0x79 0x03 0x00 0x00
5. Determine motherboard audio codec device_id
5a. Example: IOReg/10ec0889

Evaluate HDMI Audio dsdt edit file with Key Information/IOReg
1. Example: 6 Series BIOS
1a. layout-id: 0x01, 0x00, 0x00, 0x00 < 0x79, 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_award….txt
2. TextEdit/Edit layout-id/01 to 02 or 03
3. TextEdit/Edit (_ADR, 0x….. - if necessary
4. Verify edits
5. Save

Apply Edits - MaciASL
1. MaciASL/File/Open dsdt.aml
2. MaciASL/Patch/Open Desktop/.….._hdmi_audio_dsdt_editing_kit/hdmi_audio_award….txt
3. MaciASL/Patch/Apply
4. MaciASL/Compile
If necessary, Special Configuration/HD4000 graphics on 6 Series
5. MaciASL/Patch/Open HD4000 graphics on 6 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 - MaciASL
1. MaciASL/File/Save .aml As…Extra/dsdt.aml (add extension)

Mountain Lion HDMI Audio - Kext Edits

Mountain Lion HDMI Audio - Kext Edits (10.8+/AppleHDA.kext_v2.3.0 or newer)
1. No kext edits required (AppleHDA.kext, AppleIntelFramebufferCapri.kext, AppleIntelSNBGraphicsFB.kext)
2. Exception; some unsupported 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 (10.7.4 or 10.8+/AppleHDA.kext_v2.2.0 only)
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
z77i_deluxe_hd4000_hdmi_audio.png


Troubleshooting
1. Verify HDMI device connected
a. System Information/Graphics/Display/HDMI device name/Television/Yes
2. Verify Extra/dsdt.aml is
a. a .aml file
b. edited
3. Run IOReg
a. Verify Devices (see Verify Edits - DSDT Editor above)
4. Problem Reporting
a. Motherboard/processor/OS and version/graphics
b. Procedure/Guide Used
c. dsdt
d. 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:
Joined
Oct 22, 2012
Messages
88
Motherboard
GA-Z68X-UD3H
CPU
i5-3570
Graphics
HD 7970
Mac
  1. MacBook Pro
Classic Mac
  1. Xserve
Mobile Phone
  1. iOS
HEy toleda, i know you are the master regarding audio.
im using DSDT-GA-Z68X-UD3H-B3-F12.aml from dtst database.
i have pny nvidia gt640
gigabyte z68x-ud3h-b3 rev 1.3 f12 bios
intel 3570 non k version
for now chimera 2.1 and ML 10.8.4
i tried to open the pdf and github told me that the file wasn't available, so can you help me editting my dtsd?
usb issue solved with legaci usb from unibeast.Screen Shot 2013-09-08 at 12.44.46 PM.png
Thanks in advance Wolf
PD thats is how my audio pannel looks, i think im also missing some outputs.
 
Joined
Apr 7, 2011
Messages
16
Motherboard
Mac OS X
CPU
Core i5 2500K
Graphics
ATI Radeon HD6870
Mac
Classic Mac
Mobile Phone
Thanks Toleda for redirecting me here.

I patched Award DSDT GA-P67X-UD3-B3-F7 with AWARD-BIOS-HD3000-6_series in MaciASL. Saved DSDT, executed kextbeast and rebooted. No changes.

Should I replace something in IOreg ? in your script ? According to your explanations, I found this with IOreg :
Graphics device Name GFX0@0
HDEF layout ID 01 00 00 00

thanks in advance.
 

toleda

Moderator
Joined
May 19, 2010
Messages
22,920
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 patched Award DSDT GA-P67X-UD3-B3-F7 with AWARD-BIOS-HD3000-6_series in MaciASL. Saved DSDT, executed kextbeast and rebooted. No changes.
KextBeast is not mentioned in Post #1. Follow the instructions exactly. Reply with edited dsdt.
 
Joined
Apr 7, 2011
Messages
16
Motherboard
Mac OS X
CPU
Core i5 2500K
Graphics
ATI Radeon HD6870
Mac
Classic Mac
Mobile Phone
KextBeast is not mentioned in Post #1. Follow the instructions exactly. Reply with edited dsdt.

Used this guide HD3000-hdmi_audio_dsdt_edits_v1.1 it says :
V. Install dsdt.aml - MaciASL
22. MaciASL/File/Save As... /ACPI Machine Language Binary/Extra/dsdt.aml (add extension)
VI. Restart
23. Repair permissions and cache (Ex., Disk Utility, Kext Beast, Kext Utility, Kext Wizard, etc.)
24. Restart


Patched DSDT is here : http://xx.xx.xx.xx:1337/share/cEhoB2Mm6a-pBHXY/DSDT.aml
 

toleda

Moderator
Joined
May 19, 2010
Messages
22,920
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
Used this guide HD3000-hdmi_audio_dsdt_edits_v1.1 it says :
My mistake on both questions. You can edit the layout-id to 0x03, 0x00, 0x00, 0x00 manually, compile and install or edit a clean dsdt (restart MaciASL) as the patch files have been updated. Install the edited dsdt, restart and reply with the edited dsdt and IOReg.
 
Joined
Apr 7, 2011
Messages
16
Motherboard
Mac OS X
CPU
Core i5 2500K
Graphics
ATI Radeon HD6870
Mac
Classic Mac
Mobile Phone

toleda

Moderator
Joined
May 19, 2010
Messages
22,920
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
Joined
Apr 7, 2011
Messages
16
Motherboard
Mac OS X
CPU
Core i5 2500K
Graphics
ATI Radeon HD6870
Mac
Classic Mac
Mobile Phone
Status
Not open for further replies.
Top