Contribute
Register

Optimized AppleHDA for Realtek ALC 887/888b on Lion [OLD]

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

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

Important - 2/22/12 - A problem has been identified with the 887Beta_Lion_AppleHDA_v2.1.3-2. The fix is available now. Download and install 887Beta_Lion_AppleHDA_v2.1.3-4.

The ALC887 edited Lion AppleHDA.kext is available for Lion 10.7.2/.3 and motherboards with the Realtek ALC887 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 887 for full 887 analog audio on any 887 motherboard with or without discrete graphics card HDMI audio (Note 1) and layout_id 387 for 887 analog audio on a 887 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 ALC888B and ALC888S are actually the ALC887

Benefits
1. 887 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. ALC887 audio codec/Device_id: 10ec0887 (Note 4)
3. dsdt w/HDEF/Layout-id is 0x77 0x03 0x00 0x00
Note: For HD3000 HDMI audio; dsdt w/HDEF/Layout-id is 0x83 0x01 0x00 0x00

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

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

Attachment
1. 887Beta_Lion_AppleHDA
887Beta_Lion_AppleHDA_v2.1.3-4.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: 0x10ec0887
b. @1B,2/IOHDACodecVendorID: 0x10ec0887

HDEF Edits:
Audio ID:887, layout-id: 377
The default 887 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)
                            {
                                0x77, 0x03, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
Audio ID:387, layout-id: 183
The new 387 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)
                            {
                                0x83, 0x01, 0x00, 0x00
                            }, 

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

  • 887Beta_Lion_AppleHDA_v2.1.3-4.zip
    2.4 MB · Views: 1,277
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

I use main asus p8h67-v. it uses alc887 and when i install applehda.kext (I deleted ALC8xx and HDAEnabler in folder extra; edited my dsdt w layout-id 0x77 0x03 0x00 0x00) as ur guide but it doesn't work. After that i reinstall it but not still work..:( My device-ID: 1c20-8086..can u help me..thx u very much..:(
 
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

lollipop8x said:
I use main asus p8h67-v. it uses alc887 and when i install applehda.kext (I deleted ALC8xx and HDAEnabler in folder extra; edited my dsdt w layout-id 0x77 0x03 0x00 0x00) as ur guide but it doesn't work. After that i reinstall it but not still work..:( My device-ID: 1c20-8086..can u help me..thx u very much..:(
Attach your dsdt and a copy of IOReg.
 
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

these're my dsdt and a copy of ioregistry..can u fix it for me..thx u very much..:X:X
My PC: Core I5-2500; Asus P8H67-V; Audio ALC887(DeviceID: 1c20-8086)
 

Attachments

  • DSDT.zip
    491.4 KB · Views: 143
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

lollipop8x said:
these're my dsdt and a copy of ioregistry..can u fix it for me..thx u very much..:X:X
My PC: Core I5-2500; Asus P8H67-V; Audio ALC887(DeviceID: 1c20-8086)
Copy of IOReg?
 
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

toleda said:
lollipop8x said:
these're my dsdt and a copy of ioregistry..can u fix it for me..thx u very much..:X:X
My PC: Core I5-2500; Asus P8H67-V; Audio ALC887(DeviceID: 1c20-8086)
Copy of IOReg?
Sr..I uploaded again..:D coz i can't upload only file ioreg to topic..:(
 

Attachments

  • DSDT.zip
    491.4 KB · Views: 118
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

lollipop8x said:
Sr..I uploaded again..:D coz i can't upload only file ioreg to topic..:(
Delete the enabler in S/L/E (877HDA, HDAEnabler, something). It interferes with AppleHDA.kext.

Repair permissions and caches and restart.
 
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

toleda said:
lollipop8x said:
Sr..I uploaded again..:D coz i can't upload only file ioreg to topic..:(
Delete the enabler in S/L/E (877HDA, HDAEnabler, something). It interferes with AppleHDA.kext.

Repair permissions and caches and restart.
I deleted anything about audio ex: alc8xx, hdaenabler...but it doesn't work w my mac..:(
 
Re: Optimized AppleHDA for Realtek ALC 887 on Lion

lollipop8x said:
Delete the enabler in S/L/E (877HDA, HDAEnabler, something). It interferes with AppleHDA.kext.

Repair permissions and caches and restart.
I deleted anything about audio ex: alc8xx, hdaenabler...but it doesn't work w my mac..:(
Delete ALC8xxHDA and HDAEnabler.
 
Re: Optimized AppleHDA for Realtek ALC 887/888b on Lion

can u check ioreg for me again..i think i deleted enabler..:( but it didn't work w me..:((
 

Attachments

  • IOReg.zip
    434.7 KB · Views: 118
Status
Not open for further replies.
Back
Top