Contribute
Register

Optimized AppleHDA for Realtek ALC 888 on Lion - Update

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,845
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
2787035531_066ba1ee85.jpeg
ALC888 edited Lion AppleHDA.kext


Update 6/25/2012 -
10.7.4 AppleHDA.kext available in MultiBeast 4.6.0 and newer
Select 888_v100202 or 888_v100302


The ALC888 edited Lion AppleHDA.kext is available for Lion 10.7.2/.3 and motherboards with the Realtek ALC888 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 two layout ids: layout_id 888 for full 888 analog audio on any 888 motherboard with or without discrete graphics card HDMI audio (Note 1) and layout_id 388 for 888 analog audio on a 888 Sandy Bridge motherboard with HD3000 HDMI audio (Note 2)

Verify the audio codec device_id for compatibility rather the product name (Note 4). For example, the ALC1200 is actually the ALC888

Changes
1. 10.7.4 AppleHDA.kext
2. Ivy Bridge Audio Support

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

Requirements
1. 10.7.2 or newer - 64 bit kernel
2. ALC888 audio codec/Device_id: 10ec0888 (Note 4)
3. dsdt w/HDEF/Layout-id is 0x78 0x03 0x00 0x00 (no dsdt - Note 5)
a. For HD3000 HDMI audio; dsdt w/HDEF/Layout-id is 0x84 0x01 0x00 0x00

ALC888 Versions (IOReg/AppleHDAController/IOHDACodecDevice/IOHDACodecVendorID)
1. Rev 100202
2. Rev 100302

Configurations
Audio_Configurations_888.png


Installation
Available in MultiBeast_v4.6 and newer
1. Select: Drivers & Bootloaders/Kexts & Enablers/Audio/Realtek ALC8xx//Patched AppleHDA/ALC888_v100202 or ALC888_v100302
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/ALC888
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. 888_Lion_AppleHDA/Read_Me_First-888_AppleHDA.kext
-Read_Me_First-888_AppleHDA.kext.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
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. 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 the edited Optical Surround/AppleHDA binary. See the Customization Guide - Above
4. IORegistryExplorer/Search: IOHDACodecDevice (either result is OK)
a. @1B,0/IOHDACodecVendorID: 0x10ec0888
b. @1B,2/IOHDACodecVendorID: 0x10ec0888
5. For Audio ID: 888, a non-dsdt Enabler can be be installed in S/L/E with MultiBeast.

HDEF Edits:
Audio ID:888, layout-id: 378
The default 888 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)
                            {
                                0x78, 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
 

Attachments

  • -Read_Me_First-888_AppleHDA.kext.pdf
    29.1 KB · Views: 1,006
Last edited by a moderator:
Need some help
I'm using the latest AppleHDA.kext (from the first post) but still I have everything in Output/Input devices but no sound at all. I'm attaching the ioreg if someone can see where is the mistake.
p.s. I also tried editing the PCIconfig data (exported from Win 7) in the AppleHDAConfigDriver.kext info.plist but again without any success.

Wolfdale.ioreg
 
WolfDale said:
Need some help
I'm using the latest AppleHDA.kext (from the first post) but still I have everything in Output/Input devices but no sound at all. I'm attaching the ioreg if someone can see where is the mistake.
p.s. I also tried editing the PCIconfig data (exported from Win 7) in the AppleHDAConfigDriver.kext info.plist but again without any success.

Wolfdale.ioreg
There is something about MSI motherboards that I don/t understand. Console/All Messages/Select all "kernel Sound assertions"/Save Selection As... , verify and attach.
 
I will also attach the codec dump, verbs, pciconfig, etc. if you need them:
 

Attachments

  • console-Kernel sound assertion.log
    13.1 KB · Views: 249
  • codecdump, verbs, etc..zip
    43.3 KB · Views: 176
Hey , I installed the kext as per the intructions ( with NON-DSDT enabler ) . I have the input/output devices listed. But there is no sound . Please help

My motherboard is 945gct-hm (livermore8)
 
nagarajsv said:
Hey , I installed the kext as per the intructions ( with NON-DSDT enabler ) . I have the input/output devices listed. But there is no sound . Please help

My motherboard is 945gct-hm (livermore8)
IORegistryExplorer/File/Save a Copy As..., open file to verify, attach.
 
Status
Not open for further replies.
Back
Top