Contribute
Register

Interim Realtek Ivy Bridge Lion AppleHDA

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

Interim Realtek Ivy Bridge Lion AppleHDA


Update 3/18/2013 - When all else fails, AppleHDA rescue solution

The Interim Realtek Ivy Bridge Lion AppleHDA.kext is available for Snow Leopard, Lion and Mountain Lion on motherboards with Realtek audio codecs (ALC885/887/888/889/892/898) . Supports most analog and digital audio capabilities including analog 5.1, Dolby Digital 5.1 and DTS 5.1 surround sound.

Important - Only the Legacy (100202) version of the 887 and 888 is supported with this kext.
(See IOReg/AppleHDAControllerIOHDACodecDevice/IOHDACodecVendorID)

This kext supports two configurations:
1. 5 or 6 port analog audio on any Ivy Bridge motherboard
2. 3 port audio on any Ivy Bridge motherboard .

Benefits
1. Realtek ALC on board audio
2. 5/6 port or 3 port audio output
3. Front panel audio with auto mute
4. Optical Surround Sound
5. Improved audio quality
6. Less popping
7. Easy installation
8. Nearly native

Requirements
1. Snow Leopard (10.6+), Lion (10.7+) or Mountain Lion (10.8+)
2. Realtek audio codecs supported
a. ALC885
b. ALC887_v100202
c. ALC888_v100202
d. ALC889
e. ALC892
f. ALC898
3. dsdt w/HDEF/layout-id (no dsdt - Note 3)
4. HD Audio (Motherboard and Chassis)
a. BIOS - HD Audio Enabled
b. Front Panel Audio - HD Audio connector plugged into motherboard front panel audio connector

Which Audio ID?
1. Use Audio ID 2xy for 3 audio port motherboards
2. Use Audio ID 8xy for all audio solutions

Capabilities
Audio_Configurations_Interim_8xx.png

xy* can be 85, 87, 88, 89, 92 or 98.

Installation
1. Downloads/Interim_Ivy_Bridge_Lion_AppleHDA/See Read_Me_First-Interim_Ivy_Bridge_Lion_AppleHDA

Attachments
1. Interim_Ivy_Bridge_Lion_AppleHDA
Interim_Ivy_Bridge_Lion_AppleHDA.zip (below)

Enabling OSX Audio
1. Install Interim AppleHDA.kext
2. Install Enabler (a or b, not both)
a. Non-DSDT Audio Enabler
b. dsdt/HDEF edits

Non-DSDT Audio Enabler
HDAEnabler.kext: MultiBeast 4.6.1/Audio/Realtek ALC8xxNNon-DSDT Enabler/ALC..
MultiBeast - Lion 4.6.1 - Downloads - tonymacx86

[EasyGuide]
How to add HDEF to your dsdt

dsdt/HDEF edits
ALC898 Example
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)
                            {
                               0x82, 0x03, 0x00, 0x00   /*  Example, use table below for correct layout-id */
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

Audio IDs supported
a. Audio ID: 885, layout-id: 885 (dec), 375 (hex), 0x75, 0x03, 0x00, 0x00
b. Audio ID: 887, layout-id: 887 (dec), 377 (hex), 0x77, 0x03, 0x00, 0x00
c. Audio ID: 287, layout-id: 287 (dec), 11F (hex), 0x1F, 0x01, 0x00, 0x00
d. Audio ID: 888, layout-id: 888 (dec), 378 (hex), 0x78, 0x03, 0x00, 0x00
e. Audio ID: 288, layout-id: 288 (dec), 120 (hex), 0x20, 0x01, 0x00, 0x00
f. Audio ID: 889, layout-id: 889 (dec), 379 (hex), 0x79, 0x03, 0x00, 0x00
g. Audio ID: 289, layout-id: 289 (dec), 121 (hex), 0x21, 0x01, 0x00, 0x00
h. Audio ID: 892, layout-id: 892 (dec), 37C (hex), 0x7C, 0x03, 0x00, 0x00
i. Audio ID: 292, layout-id: 292 (dec), 124 (hex), 0x24, 0x01, 0x00, 0x00
j. Audio ID: 898, layout-id: 898 (dec), 382 (hex), 0x82, 0x03, 0x00, 0x00
k. Audio ID: 298, layout-id: 298 (dec), 12A (hex), 0x2A, 0x01, 0x00, 0x00


Notes
1. Use Applications/Utilities/Audio MIDI Setup to configure analog 5.1 surround sound with 3 Line Outs
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.
3. For Audio ID: 8xy, a Non-DSDT Enabler can be be installed in S/L/E with MultiBeast.

Credits
MacMan
maleorderbride
psydafke
 

Attachments

  • Interim_Ivy_Bridge_Lion_AppleHDA_v1.1.zip
    1.3 MB · Views: 2,855
Last edited by a moderator:
it's works.

MB: GA-B75M-D3H (ALC 887-100302)
CPU: Core i3-2105 (HD3000)
MEM: 16GB(8GBx2)
OS: Mac OSX 10.7.3

this applehda is 1.7.9a4. is it base 10.6.2 applehda?
 
You do a very good job toleda. :!:

But I have a question.

How can I activate the green audiojack at my 898 from the GA-Z77X-UD5H F7, or is there a bug in the board that can only listen on the orange and black audiojack?

Thanks,
scrump
 
I installed it in 10.7.4. My front two speakers work perfectly but I can't seem to get analog 5.1 working. When I open up the MIDI setup and go through with it, I can only hear sound from my front two speakers.
 
wh1tecastle said:
I installed it in 10.7.4. My front two speakers work perfectly but I can't seem to get analog 5.1 working. When I open up the MIDI setup and go through with it, I can only hear sound from my front two speakers.
Audio MIDI is not as substitute for a receiver. If the audio source is stereo, the output is stereo. If you want stereo on the other speakers, create an Audio MIDI Setup/Multi-Output device and select Built-in Output and the 2 Built-in Line Outputs.
 
wh1tecastle said:
I installed it in 10.7.4. My front two speakers work perfectly but I can't seem to get analog 5.1 working. When I open up the MIDI setup and go through with it, I can only hear sound from my front two speakers.

Okay, the Audio-Midi-Setup is right. You can see your devices e.g. Built-in Output, Built-in Line Output etc. In the left down corner there is a plus (+) which you click. It drops out a menu where you can choose two devices. An "Aggregate Device" and a "Multi-Output Device".

Bildschirmfoto 2012-06-14 um 00.14.43.png

Do you wish to hear 5.1 Sound, you must create an "Aggregate Device" with your three Outputs. But be patient, that you use multimedia software that is able to play 5.1 sources, if you don't do it, such as playing music with iTunes, you will only listen to your two front speakers.

So, if you want to have a fill up like Windows do, you have to create a "Multi-Output Device" with all your Outputs.

No matter what you use, you must first click on the device so that it is selected, and then do a right click on the device to activate the devices.

Bildschirmfoto 2012-06-14 um 00.32.14.png

But there is a limitation...you can't control the volume via software, you must doing it directly on your hifi system.

Okay, you can try to use "soundflower", it's a virtual device. Download it, install it, run it. A flower cames in the upper right corner. Click on it and choose your made device. Now, open Audio-Midi-Setup again, choose the Soundflower, right click and activate it.
Now, you are able to control the volume with e.g. the Apple Keyboard.
But the newest version has a bug, so I do not using it at the moment...

Hope it could help you a bit.



EDIT say:

sry, toleda was quicker than me...
 

Attachments

  • Bildschirmfoto 2012-06-14 um 00.14.43.png
    Bildschirmfoto 2012-06-14 um 00.14.43.png
    86.5 KB · Views: 4,605
  • Bildschirmfoto 2012-06-14 um 00.32.14.png
    Bildschirmfoto 2012-06-14 um 00.32.14.png
    20.2 KB · Views: 4,516
toleda said:
wh1tecastle said:
I installed it in 10.7.4. My front two speakers work perfectly but I can't seem to get analog 5.1 working. When I open up the MIDI setup and go through with it, I can only hear sound from my front two speakers.
Audio MIDI is not as substitute for a receiver. If the audio source is stereo, the output is stereo. If you want stereo on the other speakers, create an Audio MIDI Setup/Multi-Output device and select Built-in Output and the 2 Built-in Line Outputs.

I understand what you're saying, but my problem is that sound won't come out of the other speakers even if I create a multi output device.
 
wh1tecastle said:
I understand what you're saying, but my problem is that sound won't come out of the other speakers even if I create a multi output device.
scrump, your answer is better.

wh1tecastle, Audio MIDI Setup/Audio Devices/Configure Speakers
Select 5.1 Multichannel and set audio streams to speakers. Test speakers by selecting speaker; 5 seconds later, static plays on selected speaker (rumble on the sub). If you selected the line outs in the correct order, the rumble will be on the subwoofer.
 
When i test the speakers it only comes out of the front two still.
 
Status
Not open for further replies.
Back
Top