Contribute
Register

Optimized AppleHDA for Realtek ALC 888 on Lion [OLD]

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

5/2/12 - An update is available for this AppleHDA.kext; see 888_Lion_AppleHDA

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

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/.3 - 64 bit kernel
2. ALC888 audio codec/Device_id: 10ec0888 (Note 4)
3. dsdt w/HDEF/Layout-id is 0x78 0x03 0x00 0x00
Note: For HD3000 HDMI audio; dsdt w/HDEF/Layout-id is 0x84 0x01 0x00 0x00

Capabilities
1. Downloads/888Beta_Lion_AppleHDA/See Read_Me_First-888_AppleHDA.kext

Installation
1. Downloads/888Beta_Lion_AppleHDA/See Read_Me_First-888_AppleHDA.kext

Attachments
1. 888Beta_Lion_AppleHDA
888Beta_Lion_AppleHDA_v2.1.3-2.zip

10.7.2 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
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. IORegistryExplorer/Search: IOHDACodecDevice (either result is OK)
a. @1B,0/IOHDACodecVendorID: 0x10ec0888
b. @1B,2/IOHDACodecVendorID: 0x10ec0888

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)
                }
            }
Audio ID:388, layout-id: 184
The new 388 layout-id is for HD 3000 HDMI + most onboard choices.

Code:
            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        0x05
                    })
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-2"
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x84, 0x01, 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
 

Attachments

  • 888Beta_Lion_AppleHDA_v2.1.3-2.zip
    2.4 MB · Views: 1,029
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

Works well on my Gigabyte GA-P55-UD3R board with Realtek ALC 888 both in Lion and MLion.
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

Don't work on my Realtek ALC888.

I have an Acer Aspire 6930G and the pinconfig aren't the same. I have changed the pinconfig in AppleHDAController without any changes.
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

Hi there,

will there be an integration in a new version of Multibeast with the optimized AppleHDA?

greetings
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

nudelsuppen said:
Hi there,
will there be an integration in a new version of Multibeast with the optimized AppleHDA?
Likely, depends on testing results, no timeframe.
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

Can anyone help me?
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

Finally got sound without HDaEnabler.kext on my P5Q mum's. After DSDT editing sound comes clearer w/o overdrive when i have my guitar connected.... going further....
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

toleda--perhaps you would be kind enough to look at my ioregistry explorer. i have an MSI G31TM-P21 mobo, which according to MSI has an ALC888S codec.

i have removed all the audio kexts from S/L/E and then installed the 888 kext. i modified my dsdt as directed.

thanks in advance

ken
 
Re: Optimized AppleHDA for Realtek ALC 888 on Lion

sorry, for some reason the ioreg output didn't upload properly. i see that ".ioreg file is not allowed". i changed the extension to .txt so that the upload would work. hopefully when you change the extension back to .ioreg you can view it properly.

i'll try again
 

Attachments

  • MSI G31TM-P21.txt
    1.2 MB · Views: 202
Status
Not open for further replies.
Back
Top