Jump to content

Yosemite: Audio - Realtek ALC AppleHDA


toleda
 Share

793 posts in this topic

Recommended Posts

update: killall does not work... tried kextunload the realtecalc, library kernel not found.

Commands are not correct.

 

Activity Monitor/coreaudiod: quit (not killall) or

Terminal: sudo -S kextunload /System/Library/Extensions/AppleHDA.kext (not realtekalc)

Terminal: sudo -S kextload /System/Library/Extensions/AppleHDA.kext

 

Search Apple forums/no sound on wake for scripts.  

Link to comment
Share on other sites

The patch for clover works great.  I been installing OS X on various machines since Leo, can't believe its been 8 years.  But this is the closest I have even been to a Vanilla install.  I have Vanilla install on two systems now.  Everything seems to work fine with exception of audio after sleep.  Sleep works fine but when I wake some times I have audio and sometimes I don't have audio and need to reboot.


Commands are not correct.

 

Activity Monitor/coreaudiod: quit (not killall) or

Terminal: sudo -S kextunload /System/Library/Extensions/AppleHDA.kext (not realtekalc)

Terminal: sudo -S kextload /System/Library/Extensions/AppleHDA.kext

 

Search Apple forums/no sound on wake for scripts.  

Oh just read this after I posted the above.  So if I have realtekalc in clover I only have to unload AppleHDA.kext on wake to keep sound ?  Or do I have to unload it and then reload it ?

Link to comment
Share on other sites

Hi, thanks for solution.

 

But I have problem with Asus Z97-K motherboard (ALC887 onboard). I used 3. cloverALC/Clover patched method. Run script, then install realtekALC.kext form github.

Now sound is working, but after some time sound stops working. I can hear quiet clicks only.

 

I have such record on clover config.plist

<key>Audio</key>
  <dict>
    <key>Inject</key>
  <string>1</string>
</dict>

How I can fix it? 

Thank you.

Link to comment
Share on other sites

 I used 3. cloverALC/Clover patched method. Run script, then install realtekALC.kext form github.

One method or the other, not both

Install native AppleHDA.kext; one choice:

1. realtekALC/patch in place

2. cloverALC/Clover patched

  • Like 1
Link to comment
Share on other sites

One method or the other, not both

Install native AppleHDA.kext; one choice:

1. realtekALC/patch in place

2. cloverALC/Clover patched

Hm... i tried both, but it is not woking for me. Okay, I will try again.

Link to comment
Share on other sites

Hello Toleda,

 

I used cloverALC/Clover patched but I have no inputs or outputs available in the preferences panels. 

I installed 10.10 Yosemite MAS Retail, clover v.2953 dsdt edit HDEF Device ID 3

Only HDMI Audio is working

 

Thanks 

Edited by FrenchKickx
Link to comment
Share on other sites

Hello Toleda,

 

I used cloverALC/Clover patched but I have no inputs or outputs available in the preferences panels. 

I installed 10.10 Yosemite MAS Retail, clover v.2953 dsdt edit HDEF Device ID 3

Only HDMI Audio is working

 

Thanks 

 

 

 

 

I'm in the same boat. I can see in IORegistryExplorer that I have layout-id 

<01 00 00 00>

but in Clover I inject ID 3. I didn't change anything in Clover or anywhere prior the update to the official release. Sound was OK in beta updates.

iMac12,2_IOReg.zip

Link to comment
Share on other sites

I used cloverALC/Clover patched but I have no inputs or outputs available in the preferences panels.  

Confirm EFI/CLOVER/kexts/10.10/realtekALC.kext installed.  If missing, copy 10.9/realtekALC.kext to 10.10/

 I didn't change anything in Clover

Something changed.  Attach files, Post #1, Problem Reporting.

What am i doing wrong?

No idea. Attach files, Post #1, Problem Reporting.

Link to comment
Share on other sites

 

 

I used method 3 "audio_cloverALC-100.command" on alc1150 and after reboot i got kernel panic. I resolved the issue by replacing the applehda with the original one. :(

What am i doing wrong?

Could it be related to the fact that I have patched my DSDT for HDMI audio and have a SSDT for audio (see bellow):

 

==

SSDT:

-

/*

 * Intel ACPI Component Architecture
 * AML Disassembler version 20100331
 *
 * Disassembly of iASLCvlpXA.aml, Fri Oct 17 18:20:37 2014
 *
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x00000071 (113)
 *     Revision         0x01
 *     Checksum         0x43
 *     OEM ID           "toleda"
 *     OEM Table ID     "ssdthdef"
 *     OEM Revision     0x00003000 (12288)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20130725 (538117925)
 */
DefinitionBlock ("iASLCvlpXA.aml", "SSDT", 1, "toleda", "ssdthdef", 0x00003000)
{
    Method (_SB.PCI0.HDEF._DSM, 4, NotSerialized)
    {
        If (LEqual (Arg2, Zero))
        {
            Return (Buffer (One)
            {
                0x03
            })
        }
 
        Return (Package (0x04)
        {
            "layout-id", 
            Buffer (0x04)
            {
                0x01, 0x00, 0x00, 0x00
            }, 
 
            "PinConfigurations", 
            Buffer (Zero) {}
        })
    }
}
======
Link to comment
Share on other sites

 

Could it be related to the fact that I have patched my DSDT for HDMI audio and have a SSDT for audio (see bellow):

The ssdt is not necessary as the dsdt edits include HDEF; remove.

Ignored Post #236. attach requested files.

Method: cloverALC \ clover patched

DSDT/HDEF/layout-id/0x01, 0x00, 0x00, 0x00

Remove config.plist/Devices/Audio/Inject/3

Link to comment
Share on other sites

DSDT/HDEF/layout-id/0x01, 0x00, 0x00, 0x00

Remove config.plist/Devices/Audio/Inject/3

 

I did it, but I still see no sound. I also tried to boot without DSDT and with ID 3 injected with clover, but same result. 

New files attached after booting with recommended above.

 

I can see that there is a conflict between DSDT injection and clover, but why it was working perfectly with HDMI audio with the betas?

 

Thank you for your time Toleda.

 

 

Edit: Installed Yosemite 10.10 on another partition and run the script there. All went fine and audio was present. Copied the native AppleHDA to working partition and rebuilt cache and repaired permissions. 

All working, I just hope that this survives updates.

iMac12,2_v2.zip

Link to comment
Share on other sites

The ssdt is not necessary as the dsdt edits include HDEF; remove.

Ignored Post #236. attach requested files.

 

Hi Toleda,

 

I have reinstalled 10.10 again and just ran the script without doing pretty much anything else, but I still don't have the sound device working:

1. OS 10.10/Asus Maximus Formula VI, CPU-i7-4790, GTX-760

2. Used Clover patched method (3) with “audio_cloverALC-100.command”; 

       (Confirm Realtek ALC1150 (y/n): y

    Clover Audio ID injection (y/n): n

    Working dsdt/ssdt HDMI audio? (y/n): y

 

I have attached the requested files, let me know if any extra info is required.

 

Many thanks

config.plist.txt

ConsoleBootLogs.rtf

IoReg_and_DSDT.zip

Link to comment
Share on other sites

Hi! Fantastic guide here... 

 

Nothing shows up in System Preferences/Sound/Output or Input

 

OS X version: OS X Yosemite 10.10 App Store

motherboard model: Asus Rampage IV Black Edition

BIOS version: 0701 x64

processor: i7-4930k

graphics: R9 290X

Procedure: 3. cloverALC/Clover patched

Guide Used: http://www.insanelymac.com/forum/topic/298819-yosemite-audio-realtek-alc-applehda/

 

Note: I double-clicked on the command and it didn’t work so I sudo’d it, of course I mounted the EFI partition beforehand

I have an ALC1150 with layout 1

 

https://www.dropbox.com/s/rdurjsxntpw3hku/Realtek%20Report.zip?dl=0

Link to comment
Share on other sites

Anyone have an idea how to run ALC892 Asus Gryphone Z97 - 10.10?

Post #1, 3 choices.

I just hope that this survives updates.

My systems restarted with working onboard and HDMI audio after each DP, Beta and GM release.

No idea what caused your audio problem or what you did different to fix it.

which one to use to fix the sound?

Post 1, 3 choices, pick one.

don't have the sound device working:

The AppleHDA binary patch is missing, Download (View Raw) config-audio_cloverALC.plist.zip.

Copy config-audio_cloverALC.plist/KernelAndKextPatches/KextsToPatch/Item 7 (10.9/AppleHDA/Realtek ALC1150)

to same place in your config.plist.

Nothing shows up in System Preferences/Sound/Output or Input

same issue.fix as Marius_rg (above)

 

The 1150 AppleHDA patch is not working, manual edit required at this time.

The page editor forgets user name and date stamp, also requires manual edit.

Link to comment
Share on other sites

The page editor forgets user name and date stamp, also requires manual edit.

 

What do you mean by the above? How do I go about manually editing the page editor?

 

I manually copied the item 7 entry to the corresponding place in the clover config... still nothing...

Thanks for all your help man... Really appreciate it!

 

Here's my config right now: https://www.dropbox.com/s/zmbm87nqbbzhz10/config.plist?dl=0

Link to comment
Share on other sites

I manually copied the item 7 entry to the corresponding place in the clover config... still nothing...

config.plist is damaged.  Use Property_List_Editor_v5.3.zip

Use previous config.plist from earlier DropBox.

Attach config.plist

KextsToPatch
Item 7
0

Should be
KextsToPatch
Item 0
Item 1

The page editor comment was not directed to you,  I was highlighting the editor mashed the 5 replies together making it difficult to know what reply was to which user. Now fixed.

Link to comment
Share on other sites

I just have a question as I was trying it myself..
 
 
I patched PCI0/IGPU/_DSM as follows:
 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0A)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                 0x66, 0x01, 0x00, 0x00
                            }, 
                            "vendor-id", 
                            Buffer (0x04)
                            {
                                 0x86, 0x80, 0x00, 0x00
                            }, 
                            "AAPL,ig-platform-id", 
                            Buffer (0x04)
                            {
                                 0x03, 0x00, 0x66, 0x01
                            }, 
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }, 
                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x03, 0x00, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

 
 
Then for PCI0/HDEF/_DSM I have:
 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }, 
                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x03, 0x00, 0x00, 0x00
                            }, 
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

 
 
I compiled and replaced. I rebooted and my graphics works fine. I just can't get it to make audio over HDMI. Graphics over HDMI is fine and always was fine. Just not audio.. So I read somewhere that for audio I need to patch AppleIntelFrameBufferCapri.kext.
 
So I patched AppleIntelFrameBufferCapri.kext:
 
In a hex editor, I searched for:
 

030066010102040200000004 
000000010000004010070000 
100700000000000000000000 
000000000000000000000000 
050300000200000030000000 
020500000004000007040000 
030400000004000081000000 
040600000004000081000000

and I replaced it with:

030066010102040200000004 
000000010000004010070000 
100700000000000000000000 
000000000000000000000000 
050300000200000030000000 
020500000008000006000000 //this line changed..
030400000004000081000000 
040600000004000081000000

I installed the kext, I ran `sudo nvram -c`. I tested, still only graphics works. No audio over HDMI.

 

The ALC270 v1 kext is what I'm using.. From this post: http://www.insanelymac.com/forum/topic/294644-updating-yours-applehda/?p=2071017

 

Any ideas what I made a mistake on?

 

This is what I see:

 

oUZEpNF.pngwZGk8ZO.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...