Contribute
Register

Optimized AppleHDA for Realtek ALC 892 on Lion - Update

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
ALC892 edited Lion AppleHDA.kext

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


The ALC892 edited Lion AppleHDA.kext is available for Lion 10.7.2/.3 and motherboards with the Realtek ALC892 audio codec . Supports most Lion analog and digital audio capabilities. Users interested in capabilities beyond standard on board audio, such as, HDMI audio (discrete and HD3000 integrated), front panel audio and more, should consider this option. This kext supports three Audio IDs: Audio ID: 892 for full 892 analog audio on any 892 motherboard with or without discrete graphics card HDMI audio (Note 1), lAudio ID: 392 for 892 analog audio on a 892 Sandy Bridge motherboard with HD3000 HDMI audio (Note 2) and Audio ID 292 for 3 port 892 analog audio on any 892 motherboard with or without discrete graphics card HDMI audio (Note 1).

Changes
1.10.7.4 AppleHDA.kext
2.Ivy Bridge Audio Support

Benefits
1. 892 on board audio
2. HDMI audio, if configured
3. Front panel switching
4. Optical Surround Soundå
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 ALC892 audio codec
3. dsdt w/HDEF/Layout_id is 0x7C 0x03 0x00 0x00 (no dsdt, Note 4)
a. For HD3000 HDMI audio; dsdt w/HDEF/Layout_id is 0x88 0x01 0x00 0x00
b. For 3 port motherboard audio; dsdt w/HDEF/layout-id is 0x24 0x01 0x00 0x00

Which Audio ID?
1. Use Audio ID 292 for 3 audio port motherboards (on board, AMD or Nvidia HDMI audio)
2. Use Audio ID 392 only with HD3000 HDMI audio enabled
3. Use Audio ID 892 for all audio needs (on board, AMD or Nvidia HDMI audio)

Configurations
Audio_Configurations_892.png


Installation
Available in MultiBeast_v4.6 and newer
1. Select: Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx//Patched AppleHDA/ALC892
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/ALC892
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. 892_Lion_AppleHDA/Read_Me_First-892_AppleHDA.kext
-Read_Me_First-892_AppleHDA.kext .pdf
2. 892_Lion_Audio_Screenshots
opt_alc892_audio_screenshots.pdf
Customization
AppleHDA 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
9. HDMI audio (AMD/Nvidia/HD3000) - Lion HDMI Audio

10.7.2/.3 Nvidia HDMI Audio Issue
If your system boots to a black screen after installing this kext
1. Restore Original AppleHDA
a. Reboot with GraphicsEnabler=No
b. Install your AppleHDA.kext backup
2. See this thread (TBA)

Notes
1. HDMI audio dsdt and kext edits required, more information viewtopic.php?f=162&t=31664.
2. HD3000 HDMI audio dsdt and kext edits required.
3. SPDIFOut Encoded Digital Audio (Surround Sound) requires Dolby Digital/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 - no working solution at this time.
4. For Audio ID: 892, a non-dsdt Enabler can be be installed in S/L/E with MultiBeast.

HDEF Edits:
Audio ID:892, layout-id: 37C
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)
                            {
                                0x7C, 0x03, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
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

ALC889_edited_Lion_prefs-sound-output-1.png

ALC892_edited_Lion_prefs-sound-output2.png
 

Attachments

  • opt_alc892_audio_screenshots.pdf
    973.2 KB · Views: 774
  • -Read_Me_First-892_AppleHDA.kext .pdf
    29.9 KB · Views: 1,284
Last edited by a moderator:
Toleda how to increase the uptake of the microphone?
I have to edit "Platforms.xml" or "layout892.xml" sencibilidade for increased funding?
Used the AppleHDA.kext of version 2.1.3 and the microphone was high but with little noise in the background.
 
Joker77 said:
Toleda how to increase the uptake of the microphone?
I have to edit "Platforms.xml" or "layout892.xml" sencibilidade for increased funding?
Used the AppleHDA.kext of version 2.1.3 and the microphone was high but with little noise in the background.
I'll add that to the Customization thread that will be available in a couple of days.
 
Gronko said:
Thank you! To install I just remove my old AppleHDA.kext from /Extensions and install this new one?
Follow the instructions in -Read_Me_First-887_AppleHDA in Downloads/887_Lion_AppleHDA. Using a different installation method ensures failure.

Regarding HDEF, try this How to add HDEF to your dsdt
 
i have one big problem. when long time any applications didnt take some sound my alc892 begin noise as i run system without driver for sound. my mobe is asrock p67 pro3
 
Hey Toleda, big fan of your work. Thanks a bunch for all the time and effort you put in on these projects. If I've used the previous version of your 892 kext, what is the value in updating to the newest version?

thanks again,
nomad9
 
nomad9 said:
Hey Toleda, big fan of your work. Thanks a bunch for all the time and effort you put in on these projects. If I've used the previous version of your 892 kext, what is the value in updating to the newest version?

thanks again,
nomad9
Changes noted in first post.
 
Status
Not open for further replies.
Back
Top