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
Customizing the Optimized Lion AppleHDA.kext
There have been numerous requests for additional AppleHDA.kext functionality. Often the requests can be satisfied with changes to the property lists embedded in AppleHDA.kext. This guide offers solutions for removing the automatic switching on inputs and outputs, adding and changing speaker configurations and increased SPDIF digital audio flexibility. All solutions are based on the Optimized AppleHDA.kexts for the 885, 887, 888, 889, 892 and 898 (soon) Realtek audio codecs.
Guidelines
1. This is not a how to guide. It shows what something looks likes before and what it should look like after the edit. The how is left to the reader.
OS X Surround Sound
1. OS X volume control and mute (OSD, System Preferences, keyboard, mouse, Apple Remote, etc.)
a. Supports volume control/mute for connected analog stereo speakers only
b. No volume control/mute support for digital audio or aggregate devices
i. Use the controls and/or remote for the audio device attached making sound
ii. There is no known way around this; don't ask. For DD/DTS, this restriction is the same for Windows
2. Surround Sound in OS X requires
a. DD/DTS source (movies, iTunes/AC3 only)
b. DD/DTS player (Plex, XBMC, Boxee, VLC - see 5 below)
c. DD/DTS sound system.
3. Analog 5.1/7.1 Surround Sound http://www.tonymacx86.com/viewtopic.php?f=16&t=848
4. Audi MIDI Setup/Audio Devices/Digital Output/ always shows 2 Channel Stereo.
5. VLC encoded digital audio requires the edited Optical Surround/AppleHDA binary.
Requirements
1. 10.7.2 or newer - 64 bit kernel
2. Any optimized AppleHDA.kext v2.1.3 or newer
Tools
1. Property List Editor -
a. Mac OS X Retail Install Disc v10.6 or v10.6.3 (Optional Installs/Xcode)
b. sveinbjorn http://sveinbjorn.org/install_property_list_editor_app_on_mac_os_x_lion
2. PListEdit Pro http://www.fatcatsoftware.com/plisteditpro/
3. Applications/TextEdit
Table Of Contents
0. AppleHDA.kext Assumptions, Structure and Documents
1 Add SPDIFIn
2. Manual Mic and Front Mic Selection
3. Manual Speaker and Headphone Selection
4. Add Boost to input (Mic/Rear. Mic/Front and/or Line In)
5. Substitute Gray (Side) for Black (Rear)
6. Add Line Out (Gray/Rear -Rear Speakers) for analog 7.1 Surround Sound
7. Substitute SPDIF-2 Wire Output
8. SPDIF Optical Output/Encoded Digital Audio - Not available for 892 or 898
9. HDMI audio (AMD/Nvidia/HD3000) - Lion HDMI Audio
Appendix:. AppleHDA.kext Reference
Editing Tip
1. To ensure successful pasting of printed data into a plist
a. paste first to TextEdit and make plain text (Format/Plain Text)
b. copy from TextEdit and paste into plist
Attachments
1. View attachment Customizing the Optimized Lion AppleHDA.kext.pdf.zip
2. View attachment 885_Lion_AppleHDA.zip
Credits
THe KiNG http://www.projectosx.com/forum/index.php?showtopic=465
VHC888 http://www.insanlynac.com/forum/index.php?showtopic=140941
Note: In the link above, replace the second n with m in insanlynac.com. It is not in the original text, must be a new feature.
Change Log
v0.1 - 5/28/12 - Draft
v0.2 - 6/13/12 - Added Download