Contribute
Register

Optimized Realtek Lion 10.7.3 AppleHDA

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,834
Motherboard
Asus Maximus VII Impact
CPU
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
Optimized Realtek Lion AppleHDA

Updated 5/9/2012 -
Optimized Realtek Lion AppleHDA available in MultiBeast


Updated 5/2/2012 - 885/887/888/889/892_Lion_AppleHDA

The Optimized Lion AppleHDA.kext is available for Lion 10.7.3 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.3 AppleHDA.kext
2. Front Mic (front pink port/Line In) working with passive microphones
3. PinConfig fixes
a. Only enabled audio devices present in System Information/Audio (Built-In)
b. Reduce sound assertions
4. ALC892 mute enabled
5. Encoded/Native AppleHDA binary deleted/Added as Customization Option

Clarification
1. Supports Optical 5.1 Surround Sound (DD/DTS - Note 3)

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
3. dsdt w/HDEF/layout-id (no dsdt - Note 4)
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
Supported_Audio_IDs.png

*8xy can be 885, 887, 888, 889, 892 or 898

2. Supported Realtek Audio Codecs and OS X Audio IDs
Codecs_and_Audio_IDs.png

** Two ALC887 versions supported - Rev 100302 and Rev 100202

3. Supported Audio Configurations
Audio_Configurations.png


4. Supported HDEF/layout-ids
HDEF_layout-id.png


Customization
Several customization options are available, 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

Installation
MultiBeast 4.4 & 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.
2. Select: Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx/Non-DSDT HDAEnabler/ALC8__
3. Always select:
System Utilities

Note: If you select a Patched AppleHDA, do not Select ALC8xxHDA or AppleHDA Rollback.

Optimized Realtek Lion 10.7.3 AppleHDA Links
1. 885_Lion_AppleHDA

2. 887_Lion_AppleHDA

3. 888_Lion_AppleHDA

4. 889_Lion_AppleHDA

5. 892_Lion_AppleHDA

6. 898_Lion_AppleHDA - When Available 898_Interim Solution

7. 892_Lion_Audio_Screenshots
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)
                }
            }
10.7.2/.3 Nvidia HDMI Audio Information
If your system boots to a black screen after installing this kext:
1. Reboot with GraphicsEnabler=No
2. Install your AppleHDA.kext backup
3. See this thread (TBA)

Notes
1. AMD/Nvidia HDMI audio dsdt and kext edits required
2. HD3000 HDMI audio dsdt and kext edits required.
3. 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, included in download.
4. For Audio ID: 8xy, a non-dsdt Enabler can be be installed in S/L/E with MultiBeast.

Credits
VHC888 http://www.insanelymac.com/forum/index.php?showtopic=140941
.:ErmaC:. http://www.insanelymac.com/forum/in...0ae2&showtopic=266531&view=findpost&p=1752351
blueking http://tonymacx86.com/viewtopic.php?p=244839#p244839
BigDonkey http://tonymacx86.com/viewtopic.php?p=244748#p244748
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
ALC889_edited_Lion_prefs-sound-input.png

opt_pref_output_hp.png

ALC889_edited_Lion_prefs-sound-output2.png
 

Attachments

  • opt_alc892_audio_screenshots.pdf
    973.2 KB · Views: 424
Last edited by a moderator:
i will try this and see if my front mic will work...
 
i have OSX MAC Lion 10.7.3 on GA-965p-Ds3 http://www.gigabyte.com/products/produc ... id=2456#ov

Mac osx ? I worked on this motherboard since version 10.5 without any problem, to Snow Leopard to 10.7.3 Lion current version the only problem I have is that not mute the AppleHDA kexts I use is (2.0.5f13) and HDAEnabler (1.0.0d1) DSDT.aml if someone can help me correct this small error will be very happy .... Mercy

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02) ALC883
 

Attachments

  • dsdt.aml
    13.3 KB · Views: 160
This kext will work on my HP proook with lion 10.7.3? I how Do I know which one of the kext is the right for my laptop? I new on this mac world!! thanks :headbang:
 
rolandcabral said:
i will try this and see if my front mic will work...

my front mic is working now...great job and thank you, keep it up!!! :clap: :headbang: :thumbup:
 
toleda said:
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
This interests me, but I haven't a clue as to what I need to do in the Platforms.xml file. Which part is SPDIFOut, for example?
 
Pol said:
i have OSX MAC Lion 10.7.3 on GA-965p-Ds3 http://www.gigabyte.com/products/produc ... id=2456#ov

Mac osx ? I worked on this motherboard since version 10.5 without any problem, to Snow Leopard to 10.7.3 Lion current version the only problem I have is that not mute the AppleHDA kexts I use is (2.0.5f13) and HDAEnabler (1.0.0d1) DSDT.aml if someone can help me correct this small error will be very happy .... Mercy

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02) ALC883
The Gigabyte website you linked says the audio codec on your motherboard is a ALC 888. Try the 888 version.
 
hackbookosx said:
This kext will work on my HP proook with lion 10.7.3? I how Do I know which one of the kext is the right for my laptop? I new on this mac world!! thanks :headbang:
Windows/Device Manager will tell you the audio codec of your laptop. It is unlikely you have a Realtek codec. See the HP ProBook threads in the 10.7 Laptops forum.
 
Status
Not open for further replies.
Back
Top