Contribute
Register

Optimized AppleHDA for Realtek ALC 885/889a on Lion - Update

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,830
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
ALC885 edited Lion AppleHDA.kext


Update 6/25/2012 -
10.7.4 AppleHDA.kext available in MultiBeast 4.6.0 and newer


The ALC885 edited Lion AppleHDA.kext is available for Lion 10.7.2/.3 and motherboards with the Realtek ALC885 audio codec . Supports most Lion analog and digital audio capabilities. 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 layout_id 885 for full 885 analog audio on any 885 motherboard with or without discrete graphics card HDMI audio (Note 1).

Verify the audio codec device_id for compatibility rather the product name (Note 3). For example, the ALC889a is actually the ALC885

Changes
1. 10.7.4 AppleHDA.kext

Benefits
1. 885 on board audio
2. HDMI audio, if configured
3. Front panel audio with auto mute
4. Optical Surround Sound (Note 2)
5. Improved audio quality
6. Less popping
7. Easy installation
8. Nearly native

Requirements
1. 10.7.2 or newer - 64 bit kernel
2. ALC885 audio codec/Device_id: 10ec0885 (Note 3)
3. dsdt w/HDEF/Layout-id is 0x75 0x03 0x00 0x00

Configurations
Audio_Configurations_885.png


Installation
Available in MultiBeast_v4.6 and newer
1. Select: Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx//Patched AppleHDA/ALC885
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/ALC885
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

Attachments
1. 885_Lion_AppleHDA/Read_Me_First-885_AppleHDA.kext
-Read_Me_First-885_AppleHDA.kext.pdf
Customization
AppleHDA customization, see Customizing the Optimized Lion AppleHDA.kext
1. Add SPDIFIn - Standard Feature of 885 Optimized AppleHDA
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 - Standard Feature of 885 Optimized AppleHDA
9. HDMI audio (AMD/Nvidia/HD3000) - Lion HDMI Audio

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. HDMI audio dsdt and kext edits required, more information viewtopic.php?f=162&t=31664.
2. 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 selecting Encoded Digital Audio in the VLC/Audio/Audio Device menu.
3. IORegistryExplorer/Search: IOHDACodecDevice (either result is OK)
a. @1B,0/IOHDACodecVendorID: 0x10ec0885
b. @1B,2/IOHDACodecVendorID: 0x10ec0885

HDEF Edits:
Audio ID:885, layout-id: 375
The default 885 layout-id is for maximum onboard choices.
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)
                            {
                                0x75, 0x03, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
Credits
VHC885 http://www.insanelymac.com/forum/index.php?showtopic=140941
Galan-od http://www.tonymacx86.com/viewtopic.php?p=344481#p344481
 

Attachments

  • -Read_Me_First-885_AppleHDA.kext.pdf
    27.9 KB · Views: 630
Last edited by a moderator:
ok the 885_Lion_AppleHDA.zip is working on my GA-X38-DQ6 but gives Sound assertion
in kernel.log

if i use ALC885_889a.kext and AppleHDA.kext from Toleda
http://www.insanelymac.com/forum/index. ... pic=140941
then the sound assertion is not appears in the kernel.log
seems that the info.plist on ALC885_889a.kext has something that removes sound assertion on boot time.
but that happens if i use both files in /System/Library/Extensions
if only use AppleHDA.kext always on kernel.log i got Sound Assertion messages.

so the question is do we really need the ALC885_889a.kext
or not ? Do we care for sound assertion or not ?

thanks.
 

Attachments

  • kernel_1.rtf
    2.2 KB · Views: 172
  • kernel_2.rtf
    719 bytes · Views: 470
sanguinarypc said:
ok the 885_Lion_AppleHDA.zip is working on my GA-X38-DQ6 but gives Sound assertion
in kernel.log

if i use ALC885_889a.kext and AppleHDA.kext from Toleda
http://www.insanelymac_.com/forum/index ... pic=140941
then the sound assertion is not appears in the kernel.log
seems that the info.plist on ALC885_889a.kext has something that removes sound assertion on boot time.
but that happens if i use both files in /System/Library/Extensions
if only use AppleHDA.kext always on kernel.log i got Sound Assertion messages.

so the question is do we really need the ALC885_889a.kext
or not ? Do we care for sound assertion or not ?
thanks.
VCH888, the author of ALC885_889a.kext, does a great job with pinconfigs. As long as you get the audio performance you expect, don't worry about the sound assertions. The best approach is the use ALC885_889a.kext, with the native AppleHDA.kext. The alternative is the the 885 edited AppleHDA.kext instead of ALC885_889a.kext, and the native AppleHDA.kext.
 
Thanks for the info @Toleda :headbang: :thumbup:
 
Hey all, total newb and just installed 10.7.3 on my EP54-UD3P today.

I've tried everything I can find and nothing works. As best I can tell, I followed the instructions here correctly and still have no output device on my system. What the heck am I missing?! :banghead:

Screens attached. Any help/advice is greatly appreciated!
 

Attachments

  • Screen Shot 2012-05-09 at 10.25.15 PM.png
    Screen Shot 2012-05-09 at 10.25.15 PM.png
    47.3 KB · Views: 967
  • Screen Shot 2012-05-09 at 10.23.22 PM.png
    Screen Shot 2012-05-09 at 10.23.22 PM.png
    36.7 KB · Views: 898
  • Screen Shot 2012-05-09 at 10.23.00 PM.png
    Screen Shot 2012-05-09 at 10.23.00 PM.png
    46.1 KB · Views: 963
  • Screen Shot 2012-05-09 at 10.22.06 PM.png
    Screen Shot 2012-05-09 at 10.22.06 PM.png
    73.5 KB · Views: 933
  • Screen Shot 2012-05-09 at 10.31.35 PM.png
    Screen Shot 2012-05-09 at 10.31.35 PM.png
    25.6 KB · Views: 950
..and yes, I did try it this way too
 

Attachments

  • Screen Shot 2012-05-09 at 10.44.41 PM.png
    Screen Shot 2012-05-09 at 10.44.41 PM.png
    48.1 KB · Views: 997
toleda said:
w33ble said:
..and yes, I did try it this way too
Delete S/L/E/ALC8xxHDA.kext. dsdt/HDEF does not look the same as dsdt/HDEF in the first post.

Gave that a shot, still no love. dsdt/HDEF is identical to the one in the first post now, re-installed the AppleHDA kext a couple times (even deleting the existing kext once), still nothing. Short of buying a cheap USB sound card, is there anything else I can try?
 

Attachments

  • Screen Shot 2012-05-10 at 9.42.56 AM.png
    Screen Shot 2012-05-10 at 9.42.56 AM.png
    115 KB · Views: 910
Status
Not open for further replies.
Back
Top