We've recently figured out how to enable HDMI Audio on the Sandy Bridge Intel HD 3000 onboard graphics controller! This is a rather advanced procedure, and requires editing both your DSDT and the audio kexts. If you have a GA-H67N-USB3-B3 and want to test, or aren't up for the challenge, we've included pre-edited files at the end of this article.
Requirements:
- Mac OS X 10.7.x Lion
- Gigabyte Socket 1155 H61, H67, or Z68 Motherboard
- Intel Core i3/i5/i7 CPU featuring HD 3000 onboard graphics
- Current Desktop Models: i3-2105, i3-2125, i5-2405S, i5-2500K, i7-2600K
- Chimera v1.5 or later - available in MultiBeast 4.0: Lion Edition
- Mac mini 5,1 system definition - available in MultiBeast 4.0: Lion Edition
- AppleHDA.kext 2.1.1 or later (10.7.1)
- If you've used AppleHDA Rollback, get a new 2.1.1 here
- Plist Editor - like Plist Edit Pro
- Hex Editor - like Hex Fiend
- DSDT Editor - like DSDTSE
- Kext Installer - like KextBeast
NOTE: Most Gigabyte H61/H67/Z68 motherboards have Realtek ALC 889, so this guide will use that codec in the examples.
STEP 1: Edit AppleHDAHardwareConfigDriver.kext
The first step is to add your onboard audio information to the AppleHDA hardware configuration plugin.
1. Copy your unedited AppleHDA.kext to Desktop. Make sure it's v2.1.1 or later.
2, Right-click AppleHDA.kext and choose Show Package Contents1. Copy your unedited AppleHDA.kext to Desktop. Make sure it's v2.1.1 or later.
3. Open Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
4, Look for IOKitPersonalities > HDA Hardware Config Resource > HDAConfigDefault
5. Remove all configurations (1-17) except 0
6. Edit configuration 0 to match the following:
1. Open your /Extra/DSDT.aml with DSDTSE
2. Search for HDEF
3. Add "hda-gfx" "onboard-2" code snippet to Device (HDEF) section as shown.

4. Search for IGD0
5. Add "hda-gfx" "onboard-2" code snippet to Device (IGD0) section as shown.

6. Save and Compile
7. Replace your /Extra/DSDT.aml with the new one.
We'll be re-posting a series of guides updated for 10.7 Lion in the HDMI Audio section of the forum in the next week or so. These will show how to enable HDMI Audio on most compatible AMD and NVIDIA graphics cards. Special thanks to toleda for all the testing and research!
Good luck!
-tonymacx86 & MacMan
Related Posts:
Demystifying Mac OS X HDMI Audio
HDMI Audio + Video Solutions
6. Edit configuration 0 to match the following:
- CodecID: 283,904,137
- ConfigData: 21471C10 21471D40 21471E11 21471F01 21571C20 21571D10 21571E01 21571F01 21671C30 21671D60 21671E01 21671F01 21771C80 21771D20 21771E01 21771F01 21871C40 21871D90 21871EA1 21871F90 21971C50 21971D90 21971EA1 21971F02 21A71C60 21A71D30 21A71E81 21A71F01 21B71C70 21B71D40 21B71E21 21B71F02 21E71C90 21E71D61 21E71E4B 21E71F01 21F71CA0 21F71D71 21F71ECB 21F71F01
- FuncGroup: 3
- LayoutID: 889
STEP 2: Add Layout889.xml to AppleHDA.kext
The next step is to add codec-specific layout information to AppleHDA.
1. Navigate to AppleHDA.kext/Contents/Resources/layout12.xml
2. Right click layout12.xml, choose Duplicate
3. Rename layout12 copy.xml to layout889.xml
4. Open layout889.xml with Plist Edit Pro
5. Edit the top 2 sections to match the following:
2. Right click layout12.xml, choose Duplicate
3. Rename layout12 copy.xml to layout889.xml
4. Open layout889.xml with Plist Edit Pro
5. Edit the top 2 sections to match the following:
- LayoutID: 889
- CodecID: 283,904,137
STEP 3: Binary Patch AppleHDA.kext (Optional)
If you plan to use onboard audio in addition to HDMI audio, you must patch the AppleHDA binary. If not, skip this step.
1. Open AppleHDA.kext/Contents/MacOS/AppleHDA binary file using Hex Fiend
1. Open AppleHDA.kext/Contents/MacOS/AppleHDA binary file using Hex Fiend
2. Type command-F to initiate Find and Replace menu
3. Enter 85 08 EC 10 in Find field,
4. Enter 89 08 EC 10 in Replace field.
5. Click Replace All
6. Save file.

4. Enter 89 08 EC 10 in Replace field.
5. Click Replace All
6. Save file.

STEP 4: Install AppleHDA.kext
1. Place patched AppleHDA.kext on Desktop
2. Run KextBeast

2. Run KextBeast

STEP 5: DSDT Edits
In order for the system to recognize that you want audio from the HDMI port, you have to edit your DSDT. This next step assumes you have already installed a pre-edited DSDT from our DSDT Database.1. Open your /Extra/DSDT.aml with DSDTSE
2. Search for HDEF
3. Add "hda-gfx" "onboard-2" code snippet to Device (HDEF) section as shown.

4. Search for IGD0
5. Add "hda-gfx" "onboard-2" code snippet to Device (IGD0) section as shown.

7. Replace your /Extra/DSDT.aml with the new one.
STEP 6: Compare Your Work (Optional)
Download and compare your files vs. these verified versons.
- DSDT - Gigabyte GA-H67N-USB3-B3 F7 with HDMI patches
- AppleHDA.kext - v2.1.1 - with Realtek ALC 889 + HDMI patches
STEP 6: Reboot
Reboot system with the HDMI cable plugged at boot. Use the 2nd HDMI slot on the GA-H67N-USB3-B3. Congratulations! You're done!

Good luck!
-tonymacx86 & MacMan
Related Posts:
Demystifying Mac OS X HDMI Audio
HDMI Audio + Video Solutions
For discussions on this and other topics, register today at tonymacx86.com!












41 comments:
Nice work TonyMac!
I have already the GA H67N USB3 with an GT220, with HDMI audio :). But it is also nice with only the HD3000. (+HDMI audio).
Is it possible to use the HD3000 chip and an PCIe GPU? So I can use the HD3000 and the GT220?
MultiBeast 4.1 ?
+1 on using pcie AND the hd3000
Thanks Tony! Great work. Just curios with this patch will both onboard audio and HDMI work or will this be only for HDMI audio?
Didn't work on my GA-H67N-USB3-B3 with bios F5 or F7
In sound preference no selection for
XVT373SV HDMI. Used the patched hdmi dsdt and the applehda.kxt above.
Disappointing !
@Anonymous
On the H67N-USB3-B3 board- you MUST use the 2nd HDMI slot. Then audio will show up. Also, remember to rebuild caches. It will work. ;)
On second hdmi port lion is very slow, not suitable and a mouse click takes effect 3 minutes later !
Of course used system utilities.
Tried différent option in org.chameleon.Boot.plist
Préviously could get the second hdmi port working but not for booting with lion (slow).
Must i understand that there is sound threw second hdmi port only ?
@Anonymous-
Sounds like you have other issues- all I know is that I've been using my GA-H67N-USB3 with HDMI Audio + Video over 2nd port, and I don't have those issues.
Hi Tony,
The headphone out jacks on the front and rear of my H67N-USB3-B3 F7 board have stopped working now. Instead the rear line out appears to work instead.
Is there any way of correcting this?
Thanks!
@Anonymous-
Try using the layout889.xml from values incorporated in ALC8xxHDA's info.plist- you will be able to achieve the same outputs as with AppleHDA Rollback. I'll see if we can add some kind of helper to MultiBeast.
Thanks a lot for your answer.
Right, AudioAUUC.kext ddoesn't load and so on.
I will continue checking.
So this isn't yet solved for laptops? Will it be?
I notice it says you have no output controls. I have that on my hd 3000 already for hdmi audio. But no sound comes out. So would installing patched kexts and editing the dsdt fix that?
@Anonymous-
Volume on HDMI audio through AppleHDA.kext is controlled via the external source.
Would it be possible to output audio via DVI on HD3000? Motherboard is a Gigabyte GA-H61M-D2-B3 (rev v1.0). Tried this solution but not working right now.
tonymacx86: what CPU, RAM are you using? I believe you don't have an graphic card? does the VGA connector work?
have same exact problem as anonymous with the h67n usb3 and the second hdmi and vga been extra slow and unworkable, AudioAUUC.kext not loading, bit stumped think the hdmi and vga was working in windows ill recheck now
what could it be
using on chimera 1.5.4 lion 10.7 fresh install the hdmi dsdt aml and the hda kext posted above installed with multi beast 4.0 and kextbeast
Is this Lion only or also for 10.6.8 ?
For me there are no advantages in switching to Lion.
Thanks for the hard work guys!
Does this method work in Snow Leopard as well, or is it a Lion-only solution?
@tonymacx86 (or anybody!) Do the patches to AppleHDA.kext described in this article (specifically pertaining to ALSO using onboad audio) include the digital/optical ports on the 889? I have been trying in vain to get sound out of these in Lion.
GA-H67N-USB3-B3
At first i didn't know that it works only when a second display is connected on the second hdmi connecter.
Sound works too threw second Hdmi connector.
Connected only on the second with only one display everything is very slow and not usable and hdmi has no sound.
Made all the changes on my GA-Z68MA-D2H-B3 and it made the system unusable (slow!!!). Anyone see anything similar?
I have a GA-Z68-MA-D2H-B3 with firmware Rev 8. I followed all the steps. I didn't get a selection for HDMI output in Sound, However, System Info shows that HDMI audio is available.
I have two monitors, a Samsung and a Vizio. The Samsung is DVI and shows up as the first entry under Displays. The second entry shows no connected monitor. The third entry is the Vizio connected by HDMI. I figured my connector should be "onboard-3" instead on "onboard-2", but making that change makes no difference.
Does HDMI output work only on connector 2?? No hope for my motherboard??
Yes Chris Burton, when only one monitor is connected on the hdmi connector. It works for me only with 2 monitors connected.
GA-H67N-USB3-B3
HDMI sound only on second connector threw monitor.
If only one monitor connected on second connector lion is very slow.
It is not like windows or linux os which allows to connect monitors everywhere.
Does rotation work on HDMI?
Testing & working on GA-Z68XP-UD3.
(DSDT edited, kext copied)
Nice to hear sound from the TV at last. :-)
Bruce
@ Bruce
Can you give me more detail how you did?
Do you have any PCIe graphic card installed?
Thanks
Dunno where you are with a usable machine, so I'll summarise the main steps I took.
(Only onboard video used - no separate graphics cards plugged in.)
The machine was unusable until I updated to F6 Bios, with MacMan's patched DSDT. Chimera 1.5.4 hadn't worked on its own to get a usable screen, but in combo with MultiBeast 4.02, I got a full-size, accelerated screen (albeit with the odd graphical glitch). I suspect the npci=0x2000 string was critical.
At that point, it was worth sorting out the sound, and the HDMI feed was the most useful to me. I cleared out the Apple8xxHDA and HDAEnabler889 enabler kexts and cleared caches, etc. Then I installed the AppleHDA kext linked to above, and the Sound PrefPane looked OK.
Using DSDTE, I copied the relevant text from MacMan's sample DSDT, then put it into my own machine's DSDT (ie, MacMan's "DSDT-GA-Z68XP-UD3-F6.aml").
Upon rebooting, I saw my TV listed as a sound output device. I played an MP3 (The Band Perry's "You Lie", as a bit of unnecessary detail), heard the music through my TV, and punched the air in joy…
Anything you'd like more detail on ?
Bruce
I have H67N-USB3-B3 F7, i5-2500k, with 10.7.2, connected to HDMI port below the USBs (I guess this is the second HDMI) installed Chimera, smbios for macmini (as described in the post) using the Multibeast version indicated in the post, tried the kext and DSDT from the links in the post, rebuild caches, rebooted and had no success.
The OS was slow, typing the first letter of my password I got a response after a minute.
I tried reinstalling everything with different combination, I got nowhere...
I will use the HDMI below the VGA card (I guess it is HDMI 1) and will use audio separately :-(
(Gigabyte GA-H67N-USB3-B3 specs matching customac mini build to the letter) Not sure, but it looks like changes were made in Lion 10.7.2. When I go to edit the DSDT, the IGD0 portion looks completely different. I also tried the DSDT for this mobo with HDMI (DSDT-GA-H67N-USB3-B3-F7-HDMI) from the database and can't boot. I think these were written for 10.7.1.
Please disregard my previous comment, I located the customac mini tuneup kit. I'll note it here for others: http://www.tonymacx86.com/viewtopic.php?p=209915#p209915
Awesome work Tony & Macman! I have an Intel DZ68DB mobo, Core i7 CPU featuring HD 3000 on-board Graphics and Realtek ALC 892 sound codec. Any changes to this guide I should take care of? i.e. my guess is CodecID should be different.
Thank you
Thanks Tony, you are best! But I have some problems(. I have: GA-H67N-USB3-B3, HD3000, 10.7.2, VGA monitor and TV with HDMI port. After installig DSDT for HDMI I got HDMI, but VGA don't work. How to fix it?
slight miss match in this post...
3. Enter 85 08 EC 10 in Find field,
4. Enter 89 08 EC 10 in Replace field.
but in the picture it's 10 EC.
--I'm not worthy
Thanks a Lot!
I'm on a ga-z68mx-ud2h-b3 using HD3000 and your patch worked fine!
you're the man ;)
Thank you very much for your work!
I've following issue:
HDMI Working
Onboard (Analog) NOT
Motherboard: GA-Z68MA-D2H-B3 (F8 Bios)
CPU: Intel Core i3-2105
Gfx: HD3000 Only
What I want to do is to switch between HDMI (Monitor Speakers) and Analog Out (Headphones) over the Sound Prefpane.
What I've done so far:
Patched fresh AppleHDA (downloaded above)
Installed Pre-Patched AppleHDA (Compared with my Version both are exactly the same)
Reinstalled AppleHDA Rollback & ALC8xxHDA with Multibeast.
Furthermore I've also re-checked if there is any fault with my patched DSDT (none found).
In no case I get sound over from the Analog Out, I've tried several settings in the Sound Pref.Pane and tried all Analog Out Ports at my Motherboard.
Any idea what this could be? Hope someone had this issue before and/or can help.
Thank you very much
alu
I have the card with a lion dz68db intel 10.7.2, can I use?
GA-Z68XP-UD4-F5 / i7-2600K / HD3000
Is MacPro 3,1 system definition OK to do the above procedure? Or do I have to change it to MacMini 5,1?
I will try the procedure, hoping that all things goes well.
I have same exact problem as anonymous with the h67n usb3 .will it be solved??
activevisual
Post a Comment