toleda
Moderator
- Joined
- May 19, 2010
- Messages
- 22,918
- Motherboard
- Asus Maximus VII Impact
- CPU
- Core i7-4770K
- Graphics
- RX 560 + HD4600
- Mac
-
- Classic Mac
-
- Mobile Phone
-

Optimized Realtek Lion 10.7.4 AppleHDA
Patched AppleHDA available in MultiBeast 4.6.0 and newer
The Optimized Lion AppleHDA.kext is available for Lion 10.7.4 and motherboards with the Realtek ALC audio codecs (885/887/888/889/892/898) . Supports most Lion analog and digital audio capabilities including analog 5.1, Dolby Digital 5.1 and DTS 5.1 surround sound. . Users interested in capabilities beyond standard on board audio should consider this option for HDMi audio (discrete and HD3000 integrated), front panel audio and more.
This kext supports three configurations:
1. 5 or 6 port analog audio on any motherboard with or without discrete graphics card HDMI audio (Note 1),
2. 5 or 6 port analog audio on Sandy Bridge motherboards with HD3000 HDMI audio (Note 2)
3. 3 port audio on any motherboard with or without discrete graphics card HDMI audio (Note 1).
Changes
1. 10.7.4 AppleHDA.kext
2. Ivy Bridge Audio Support
3. Optimized ALC898 added
4. Supports new 887_v100302 and 888_v100302 codecs (Note 7)
Benefits
1. Realtek ALC on board audio
2. HDMI audio, if configured
3. Front panel audio with auto mute
4. Optical Surround Sound (Note 5)
5. Improved audio quality
6. Less popping
7. Easy installation
8. Nearly native
Requirements
1. 10.7.2 or newer - 64 bit kernel
2. Realtek audio codec
a. ALC885 & ALC889A
b. ALC887, ALC888B & ALC888S
c. ALC888 & ALC1200
d. ALC889
e. ALC892
e. ALC898
3. dsdt w/HDEF/layout-id (no dsdt - Note 6)
4. HD Audio (Motherboard and Chassis)
a. BIOS - HD Audio Enabled
b. Front Panel Audio - HD Audio connector plugged into motherboard front panel audio connector
Which Audio ID?
1. Use Audio ID 2xy for 3 audio port motherboards
2. Use Audio ID 3xy only with HD3000 HDMI audio enabled
3. Use Audio ID 8xy for all audio needs (on board, AMD or Nvidia HDMI audio)
Capabilities
1. Supported Audio IDs

*8xy can be 885, 887, 888, 889, 892 or 898
2. Supported Realtek Audio Codecs and OS X Audio IDs

** ALC877 and ALC888 versions supported - Rev 100202 and Rev 100302 (Note 7)
3. Supported Audio Configurations

4. Supported HDEF/layout-ids

Customization
See Customizing the Optimized Lion AppleHDA.kext
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
Installation
Available in MultiBeast_v4.6 and newer
1. Select: Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx//Patched AppleHDA/ALC8__
If no DSDT or no DSDT/HDEF, select both 1 and 2. If DSDT installed, skip Step 2
2. Select: Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx/Non-DSDT HDAEnabler/ALC8__
3. Always select: System Utilities
Installation Notes
1. Backup S/L/E/AppleHDA.kext before System Update
2. If a Patched AppleHDA selected, do not Select ALC8xxHDA or AppleHDA Rollback.
3. if a DSDT is installed, do not install an enabler
Optimized Lion AppleHDA.kext - Information and Problem Reporting
1. Optimized AppleHDA for Realtek ALC 885/889a on Lion - Update
2. Optimized AppleHDA for Realtek ALC 887/888b on Lion - Update
3. Optimized AppleHDA for Realtek ALC 888 on Lion - Update
4. Optimized AppleHDA for Realtek ALC 889 on Lion - Update
5. Optimized AppleHDA for Realtek ALC 892 on Lion - Update
6. Optimized AppleHDA for Realtek ALC 898 on Lion - New
7. 892_Lion_Audio_Screenshots
View attachment opt_alc892_audio_screenshots.pdf
[EasyGuide]
How to add HDEF to your dsdt
dsdt/HDEF edits
ALC889 Example
Code:
Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D,
0x05
})
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"layout-id",
Buffer (0x04)
{
0x79, 0x03, 0x00, 0x00 /* Example, use table below for correct layout-id */
},
"PinConfigurations",
Buffer (Zero) {}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
1. AMD/Nvidia HDMI audio dsdt and kext edits required
2. HD3000 HDMI audio dsdt and kext edits required.
3. Use Applications/Utilities/Audio MIDI Setup to configure analog 5.1 surround sound with 3 Line Outs
4. Requires Platforms.xml edit, adds Grey LineOut and deletes SPDIFOut. Use Audio MIDI Setup to configure analog 7.1 surround sound with 4 Line Outs
5. SPDIFOut Encoded Digital Audio (Surround Sound) requires DD/DTS source, DD/DTS player (Plex, XBMC, Boxee) and DD/DTS sound system. Audi MIDI Setup/Audio Devices/Digital Output/ always shows 2 Channel Stereo. VLC encoded digital audio requires optional Optical Surround/AppleHDA binary, see Customization above.
6. For Audio ID: 8xy, a non-dsdt Enabler can be be installed in S/L/E with MultiBeast.
7. Mute is not available on 887_v100302 and 888_v100302
Credits
VHC888 http://www.insanely-mac.com/forum/index.php?showtopic=140941
RevoGirl http://revogirl.wordpress.com/2012/01/15/how-to-patch-applehda-for-892-and-898-one-file/#respond
Galan-od http://www.tonymacx86.com/viewtopic.php?p=344481#p344481
Screenshots



Last edited by a moderator: