Contribute
Register

Optimized Realtek Lion 10.7.4 AppleHDA

toleda

Moderator
Joined
May 20, 2010
Messages
24,258
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

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)
                }
            }
Notes
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:
Joined
Feb 12, 2011
Messages
2
Motherboard
Hackintosh
CPU
3700k
Graphics
Gtx 580
Mac
Classic Mac
Mobile Phone
I still cant get any audio. I have the asus p8z77 deluxe and im having issues. Any suggestions? :beachball:
 
Joined
Apr 8, 2011
Messages
4
Mac
Classic Mac
Mobile Phone
I manually removed my Dsdt and the audio drivers, installed non-dsdt and correct drivers. Finally saw the audio show up in settings but the screen dims and says I must restart and now every time I get that message within a minute of logging in. What do I do?
 

dta

Joined
May 6, 2012
Messages
122
Motherboard
MSI Z77A-G43
CPU
Core i7 3770K
Graphics
Intel HD4000
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
Hey toleda, your update removed all the errors I've been getting on my MSI Z77A-G43. Great work! Audio now works absolutely flawlessly.
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,258
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
vaporizor92 said:
I manually removed my Dsdt and the audio drivers, installed non-dsdt and correct drivers. Finally saw the audio show up in settings but the screen dims and says I must restart and now every time I get that message within a minute of logging in. What do I do?
That is a kernel panic. Boot into safe mode (boot flag -x). Look at Console/All Messages to find log of crash and remove the kext that caused the problem. A better alternative is a fresh install, make a backup and then install audio.
 
Joined
Jan 9, 2012
Messages
5
Motherboard
Z68A=D3H-B3
CPU
I5 2500k
Graphics
6850
Mac
Classic Mac
Mobile Phone
  1. Android
Z68A-D3H-B3
i5 2500 k
saphire 6850
10.7.4

I've tried but no success, no choices for output devices.
I've tries to follow every guide I could find, always the same result
log says: applehda.kext no dependancy found

lan works, usb 3 works

I suspect that maybe I've tried at least 1 thing too many and it's time to start over
I notice that gigabyte now has a UEFI bios, would this make my life easier
if so would I have to reload....I'd hate to give up again
 
Joined
Jan 9, 2012
Messages
5
Motherboard
Z68A=D3H-B3
CPU
I5 2500k
Graphics
6850
Mac
Classic Mac
Mobile Phone
  1. Android
I was using a dsdt, but I installed the uefi bios to U1a(UEFI BIOS)
now I'm back where I started ,no sound , but I got here a lot quicker
and my log messages changed to
" 12-06-29 9:10:44.000 PM kernel: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 1656 goto Exit"

maybe thats because now I'm 10.7.2 again
and no downloaded dsdt
 
Top