Jump to content

El Capitan: Realtek ALC AppleHDA Audio


toleda
 Share

388 posts in this topic

Recommended Posts

After the 11.4 update my audio is gone.  Usually survives updates as Clover handles the patching.  I tried to re-run the new scripts but no luck.

 

1. Audio driver not loading after 10.11.4 upgrade.

2. See Sig

3. audio_cloverALC-110.command.zip

4. File: audio_codecdetect.command_v1.2

 

HDMI audio codec(s)

 

Onboard audio codec

Realtek: 0x10ec0899

 

Codec: ALC898

Device: HDEF@1B

Audio ID: 1

 

Valid audio codec, audio device and Audio ID; Audio/ALC Injection: OK

Finished

 

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

 

See attached files in my DropBox

https://www.dropbox.com/sh/aqedtkxkv4im8vy/AABGCIY3pTchT7mnZYs81VnMa?dl=0

 

 

Link to comment
Share on other sites

followed all your instructions.

Is there a question? Problem?

After the 11.4 update my audio is gone.

SIP enabled, no kext editing, unsigned kexts permitted.

csr-active-config is not useful, use 3 or 67.

Use one Post #1 audio install method. More than one method, audio failure.

Link to comment
Share on other sites

Hi All,

 

I used Toleda Script CloverALC-110command. I Use these Kext to patch entries:

<dict>
				<key>Comment</key>
				<string>t1-10.11-AppleHDA/Realtek ALC...</string>
				<key>Find</key>
				<data>
				gxnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				AAAAAA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-10.9-10.11-AppleHDA/Realtek ALC1150</string>
				<key>Find</key>
				<data>
				ixnUEQ==
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				AAnsEA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>t1-AppleHDA/Resources/xml>zml</string>
				<key>Find</key>
				<data>
				eG1sLnps
				</data>
				<key>Name</key>
				<string>AppleHDA</string>
				<key>Replace</key>
				<data>
				em1sLnps
				</data>
			</dict>

Audio is working after executing the script however I see Hebrew Characters in Sound Preferences:

 

330zfhd.png

 

Anybody knows why this is happening ? Thank you.

Link to comment
Share on other sites

SIP enabled, no kext editing, unsigned kexts permitted.

csr-active-config is not useful, use 3 or 67.

Use one Post #1 audio install method. More than one method, audio failure.

 

Thanks, I was playing around today and came to the same conclussion.  Fixed the flags to 0x3, rebooted, reran the scripts and all is well.

 

Thanks

Will

Link to comment
Share on other sites


File: audio_codecdetect.command_v1.2

HDMI audio codec(s)

Onboard audio codec
Realtek: 0x10ec0900

Codec: ALC1150
/Users/hasan/Desktop/Kurulum/audio_codecdetect.command: line 196: [: =: unary operator expected
usage: ioreg [-abfilrtx] [-c class] [-d depth] [-k key] [-n name] [-p plane] [-w width]
where options are:
-a archive output
-b show object name in bold
-c list properties of objects with the given class
-d limit tree to the given depth
-f enable smart formatting
-i show object inheritance
-k list properties of objects with the given key
-l list properties of all objects
-n list properties of objects with the given name
-p traverse registry over the given plane (IOService is default)
-r show subtrees rooted by the given criteria
-t show location of each subtree
-w clip output to the given line width (0 is unlimited)
-x show data and numbers as hexadecimal
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
/Users/hasan/Desktop/Kurulum/audio_codecdetect.command: line 240: [: =: unary operator expected
Device: Not supported
Device:
Audio ID: Not supported
Audio ID: 0

Unsupported Audio ID
Unsupported audio device
Try:
1. ssdt_hdef-1-.zip (or -2 or -3)
/Users/hasan/Desktop/Kurulum/audio_codecdetect.command: line 392: [: =: unary operator expected
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

Link to comment
Share on other sites

Hi Toleda,

Audio now works like a charm, thanks! But I have a "minor" problem, that it does not work after sleep. It because very very loud and more similar to a noise than a sound. Is it possible to solve it? 
Thank u so much

Link to comment
Share on other sites

Hi Toleda.

I have On board Audio Realtek® ALC887 8-Channel .
I put it working perfect with your method.

But i'm having one problem, sound snaps ( continuous clicks) after AppleHDA sleeps.
When i plays some sound, it plays without any problem, but after 2 minutes without sound, the sound card sleeps and starts doing continuous clicks until i play other sound again.

You have some method to prevent sound card from sleep?

Your reply is very appreciated.
Best regards
Nuno


Solved:
I found the solution:

Audio / AFGLowPowerState

<key>AFGLowPowerState</key>
<false/>

This helps remove cracking sounds at audio output after idle mode, so sound card is always on.

If some have this problem can use it in clover

Edited by psycmos
  • Like 1
Link to comment
Share on other sites

10.11.4 Clover FixHDA and inject 1 it works,still the only thing that no this error message when boot completely

The document “Sum 41 - What We're All About-xr9NmG68vPQ.mp4” could not be opened. An unknown error occurred (-101)

Link to comment
Share on other sites

Unsupported/Non-working Realtek ALC AppleHDA.kext

  1. (…)

X99/Intel High Definition Audio  (Workaround requires 1, 2, 3, 4, 5 and 6)

  1. Install 10.9.5 AppleHDA.kext_v2.6.3

 

Hi,

 

As I understand, the solution for x99 systems is still to use the AppleHDA kext from 10.9.5

Is there a way to use the one from 10.11.4? The other starts to get old and gives me (sometimes) random kernel panics under 10.11.4 (was fine under 10.11.3).

 

There must be a way to patch the recent AppleHDA to work on X99 systems. Any idea on where to start? What changed after the 10.9.5 version to stop to work?

Link to comment
Share on other sites

Hi, I wanted to ask what I could do to debug why 5.1 Surround (Analog or Optical Out) isn't activating / available.

 

I've tried both the audio_CloverALC patch, and also the AppleALC driver but both have the same results. While using Layouts 1-3 (specified through config.plist DSDT patch), I get the outputs in 2Ch stereo. There is never a mention of 5.1 in the Speakers Panel, in the Audio Midi Setup app, or using VLC (Audio->Audio Drivers->Built In Digital Output)

 

I have a Asus Z97-A motherboard which uses ALC892 for audio (6 ports on the back). I am running El Capitan 10.11.4.

Link to comment
Share on other sites

Any idea on where to start? What changed after the 10.9.5 version to stop to work?

OS X: x99 audio controller (device_id: 8d20) is not supported

Working: x99/8c20 with AppleHDA.kext_v2.6.3

Not working x99/8c20 with 10.10.3+/10.11 AppleHDA.kext

 

Try 8ca0, 9ca0, 9c20, a170 (replace 8c20 in config.plist/KernelAndKextPatches/KextsToPatch/10.9.4-10.10-/x99 ALC Onboard Audio)

More info: AppleHDAController native Intel ids

debug why 5.1 Surround (Analog or Optical Out) isn't activating / available.

VLC/optical: not working (Encoded Digital Audio selection, NA), use another player.

VLC/analog: Audio MIDI Setup/configure 5.1 aggregate device

See Surround Sound.pdf

  • Like 1
Link to comment
Share on other sites

OS X: x99 audio controller (device_id: 8d20) is not supported

Working: x99/8c20 with AppleHDA.kext_v2.6.3

Not working x99/8c20 with 10.10.3+/10.11 AppleHDA.kext

 

Try 8ca0, 9ca0, 9c20, a170 (replace 8c20 in config.plist/KernelAndKextPatches/KextsToPatch/10.9.4-10.10-/x99 ALC Onboard Audio)

More info: AppleHDAController native Intel ids

Thank you toleda.

 

I installed the native 10.11.4 AppleHDA, and followed your instructions (I used the solution that is not touching AppleHDA and creates one in L/E) and clover patches. I then added the X99 chipset patch in clover and tried 1D20, 0D0C, 9C20, 8C20, 9CA0, 8CA0, A170 and 9D70 without any success.

 

I will try again, with more ids, but by using the patched AppleHDA itself (in S/L/E) instead of using the alternative L/E method (to be as close as possible to my 10.9.5 working situation).

 

Regards.

Link to comment
Share on other sites

Audio - Realtek ALC AppleHDA, El Capitan Update

Realtek ALC/Desktop: 269*, 283*, 885, 887, 888, 892, 898 and 1150 on board audio (*BRIX/NUC only)

Supports OS X: 10.11, 10.10, 10.9 and 10.8 

 

Enables OS X Realtek ALC on board audio for Intel motherboards. El Capitan requires native AppleHDA.kext. Codec specific script edits binaries and installs specific files. Depending on user requirements, select one Realtek ALC Installation Method.

 

Change Log

..........................................................................................

  1. v1.1 - 11/28/15 - 100 Series/Skylake  (see Unsupported/Non-working Realtek ALC AppleHDA/1. 100 Series, below) and X99 update (see Unsupported/Non-working Realtek ALC AppleHDA/2. X99, below)
  2. v1.0 - 10/4/15 - El Captain Support

Realtek ALC Installation Methods (Select one method)

 

I. Realtek ALC AppleHDA Scripts

  1. Download script (select one script, Download/View Raw)
    1. audio_cloverALC-110.command.zip
      1. patch kernel cache
      2. no edits to any native AppleHDA.kext file
      3. 2-4 files added to Resources folder
      4. Clover only

..........................................................................................

 

Requirements

  1. OS X versions supported
    1. El Capitan/10.11.x
      1. Disable SIP: CsrActiveConfig=0x3​

...........................................................................................

 

Realtek Codecs and Applications (Codec/Device_ID/Application/Audio ID(s)/Audio Devices)

..........................................................................................

  1. ALC887/0x10ec0887_v003002/Desktop/1 or 2 or 3/All
    1. ALC887-L/0x10ec0887_v002002Desktop/1 or 2/All

..........................................................................................

 

Audio IDs

..........................................................................................

  1. Audio ID: 3 (Enables HD3000/HD4000/HD5xx HDMI audio)
    1. Stereo (2 inputs, 3 outputs/) and 5.1 digital surround (optical)
      1. Front Panel: Pink & Green
      2. Motherboard: Pink, Blue, Green, Black and SPDIF
        1. No Orange support
        2. if required, see More Info/2. Customization guide (below) 

Audio ID Injectionaudio_ALCInjection

..........................................................................................

  1. HDEF/Clover/config.plist/Devices/Audio/Inject/Audio_ID

..........................................................................................

 

Unsupported/Non-working Realtek ALC AppleHDA.kext

  1. 100 Series/Intel High Definition Audio (Workaround requires 1, 2, 3 and 4)
    1. Rename dsdt/HDAS to HDEF  (Select one method)
      1. Clover: Download/config-audio_cloverALC-100series.plist.zip
        1. Add config.plist/ACPI/DSDT/Patches/Rename HDAS to HDEF
      2. ssdt injection (Any bootloader. Select Audio ID and install)
        1. Audio ID: 1, ssdt_hdef-1-100-hdas.zip
        2. Audio ID: 2, ssdt_hdef-2-100-hdas.zip
        3. Audio ID: 3, ssdt_hdef-3-100-hdas.zi 
    2. Restart
    3. Install Realtek ALC Audio (see Realtek ALC Installation Methods)
    4. Restart

..........................................................................................

More Information audio_ALC_guides

  1. Capabilities - Realtek ALC AppleHDA_v2 [Guide].pdf
    1. Audio_ID Configurations, Surround sound, audio popping, USB start up problem 
  2. Customization - Realtek ALC AppleHDA_v2 [Guide].pdf
    1. Manual speaker and headphone selection, Substitute SPDIF-2 Wire Output 
  3. Screenshots - Realtek ALC AppleHDA_v2.pdf
    1. System Information/Audio/Intel High Definition Audio, System Preferences/Sound/Output 
  4. No Audio Devices - Realtek ALC AppleHDA [Guide].pdf
    1. No audio devices, no sound, no codec 
  5. No Sound - Realtek ALC AppleHDA [Guide].pdf
    1. Audio devices present, no sound when selected 
  6. No Audio After Sleep/Wake - Realtek ALC AppleHDA [Fixes].pdf
    1. No audio devices on wak 
  7. Surround Sound - Realtek ALC - AppleHDA [Guide].pdf
    1. Players, analog, optical

Uninstall Realtek ALC AppleHDA

 

  1. cloverALC, remove:
    1. S/L/E/AppleHDA.kext and install the native AppleHDA.kext
      1. or S/L/E/AppleHDA.kext/Contents/Resources/layout1.zml.zlib, layout2.zml.zlib, layout3.zml.zlib, Platforms.zml.zlib
    2. config.plist/.../KextsToPatch/AppleHDA (3x)
    3. EFI/CLOVER/kexts/10.xx or other/realtekALC.kext

..........................................................................................

 

Problem Reporting

..........................................................................................

  1. Clover
    1. EFI/Clover/config.plist
    2. DPCIManager/Misc/Boot Log (Tools 2.)
    3. EFI/Clover/ACPI/Patched/dsdt.aml (if installed)
    4. EFI/Clover/ACP Patched/ssdt.aml (if installed) 

Credit

lisai9093, Post #5, AppleHDA for El Capitan discussion

THe KiNG [HOW TO] Patch AppleHDA - Knowledge Base - Project OS X Forums

PikeRAlpha New style of AppleHDA.kext patching for Yosemite | Pike's Universum

abxite  http://applelife.ru/...06/#post-353647

TimeWalker75a, Post # 20, No sound after waking from sleep

RevoGirl

 

I want to say thank you for your contributions to osx86 community. I used your "audio_cloverALC-110.command.zip" to enable my ALC887 codec via the Clover method. Now if it's not too much trouble to ask, what files were updated using your patch? I ask this because I would like to save those files for backup purposes just in case I need to reinstall them again and your patch requires internet access to run properly. Thanks

  • Like 1
Link to comment
Share on other sites

OS X: x99 audio controller (device_id: 8d20) is not supported

Working: x99/8c20 with AppleHDA.kext_v2.6.3

Not working x99/8c20 with 10.10.3+/10.11 AppleHDA.kext

 

Try 8ca0, 9ca0, 9c20, a170 (replace 8c20 in config.plist/KernelAndKextPatches/KextsToPatch/10.9.4-10.10-/x99 ALC Onboard Audio)

More info: AppleHDAController native Intel ids

 

Ok, I reinstalled AppleHDA by patching the 10.11.4 kext directly, using your method. For some reason, if I use the Clover patches, the device is not recognized.

 

That being said, I have an excellent news: for the controller, I used 8CA0 to replace 8C20, and it works!!

 

That means that X99 systems can again use the latest AppleHDA (and not be stuck with the 10.9.5 version). You can include that in your next guide update.

KextsToPatch -> AppleHDAController -> Find "oIw=" Replace "II0="
 
Now, I need to get why keeping the genuine unpatched AppleHDA in /S/L/E and using the dummy AppleHDA-ALC1150 in /L/E and Clover patches (all done by your script) does not work (device is not recognized, not shown).
Link to comment
Share on other sites

Description of audio problem:

No devices found.

OS X version/motherboard model/BIOS version/processor/graphics

OSX 10.10

The computer is an Asus laptop K53SD from 2011, Chipset HM65 and CPU i7 2670QM.

Intel HD3000 and Nvidia GeForce 610M (disabled)

 

Procedure/Guide Used

I tried clover injection and kext patch, both with no success. I used ./audio_cloverALC-110_v1.0q10.command

Audio/ALC Injection (Tools 3.)
The output of audio_codecdetect.command (after clover injection, but still not working) is:

$ sudo ./audio_codecdetect.command
File: audio_codecdetect.command_v1.2

HDMI audio codec(s)
Intel:    0x80862805

Onboard audio codec
Realtek: 0x10ec0269

Codec: ALC269
Device: HDEF@1B
Audio ID: 1

Valid audio codec, audio device and Audio ID; Audio/ALC Injection: OK
Finished

Copy of IOReg

Attaching a screenshot of IOReg.

 

Installed S/L/E/AppleHDA.kext

I have the original AppleHDA

 

Screen shots:

attached DPCIManager/Status
attached System Information/Hardware/Audio/Intel High Definition Audio 

 

audio_cloverALC-100.command

$ sudo ./audio_cloverALC-110_v1.0q10.command 
 
Agreement
The audio_cloverALC-110 script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverALC-110 script is
provided as is and without any kind of warranty.
 
File: audio_cloverALC-110.command_v1.0q10
EFI partition is mounted
Boot/Arguments = kext-dev-mode=1 found
Confirm Realtek ALC269 (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): y

Download ALC269 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6166  100  6166    0     0   7429      0 --:--:-- --:--:-- --:--:--  7428
Edit config.plist/Devices/Audio/Inject/1
Edit config.plist/SystemParameters/InjectKexts/YES
Download kext patches
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1404  100  1404    0     0   5431      0 --:--:-- --:--:-- --:--:--  5420
Download config kext and install ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3665  100  3665    0     0  16111      0 --:--:-- --:--:-- --:--:-- 16145
Install /Volumes/ESP/EFI/CLOVER/kexts/10.10/realtekALC.kext
Install System/Library/Extensions/AppleHDA.kext/ALC269 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BTFirmwareUploader.kext
kext file:///System/Library/Extensions/AtherosL1cEthernet.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext

Install finished, restart required.
  

Clover
attached EFI/Clover/config.plist as config.txt

 

Please note that I have also tried the audio_realtekALC with the same result...

 

Thanks for the work. I really hope I can use this, because VoodooHDA is full of problems for me :(

 

 

 

post-89792-0-89922800-1459534736_thumb.png

post-89792-0-66576600-1459534758_thumb.png

post-89792-0-81771000-1459534774_thumb.png

config.txt

Link to comment
Share on other sites

would like to save those files for backup purposes just in case I need to reinstall them again and your patch requires internet access to run properly.

ALC887: layout/platforms files, edit .xml to .zml for installation in Resources folder.  Another suggestion, backup patched S/L/E/AppleHDA.kext.

used 8CA0 to replace 8C20, and it works!!

 

Now, I need to get why keeping the genuine unpatched AppleHDA in /S/L/E and using the dummy AppleHDA-ALC1150 in /L/E and Clover patches (all done by your script) does not work (device is not recognized, not shown).

Great work, thanks for the controller patch experiments.

Dummy will not work. Suggest Post #1/pikeralphaALC; installs /L/E/AppleHDA1150.kext with native S/L/E/AppleHDA.kext.

No devices found.

See Post #1

Realtek Codecs and Applications

1. ALC269/0x10ec0269/BRIX

 

This thread supports ALC269 for BRIX only

Mirone, likely, has a ALC269 solution for your system.

  • Like 3
Link to comment
Share on other sites

This thread supports ALC269 for BRIX only

Mirone, likely, has a ALC269 solution for your system.

Thanks Toleda for the quick reply! I will have a look, I just ignored that "BRIX" thing, but it was the key after all! Noob mistake  :blush:

Link to comment
Share on other sites

This post is specifically about C610/X99 audio controller; ALC1150 on X99 System (Clover patch replacing 8c20 by 8ca0 in config.plist/KernelAndKextPatches/KextsToPatch/10.9.4-10.10-/x99 ALC Onboard Audio).

 

Great work, thanks for the controller patch experiments.

Dummy will not work. Suggest Post #1/pikeralphaALC; installs /L/E/AppleHDA1150.kext with native S/L/E/AppleHDA.kext.

You're welcome! Thank you for your incredible dedication to all of this.

It did not work. Here is my report on different methods:

 

I. 1. audio_cloverALC-110.command.zip  => WORKS (Warning: script removed AppleHDAController kext clover patch, I had to add it back)
 
I. 2. audio_realtekALC-110.command.zip => WORKS (Note: I don't know if it removed the clover patch as I tried this first and apply the X99 patch after)
 
I.3. audio_pikeralphaALC-110.command.zip => DEVICE NOT RECOGNIZED (does not appear at all)
 
II. Piker-Alpha AppleHDA8series Script
-> tried with AppleHDA1150.kext in L/E/   => DEVICE NOT RECOGNIZED (does not appear at all)
 -> installed AppleHDA1150.kext in S/L/E/  => DEVICE NOT RECOGNIZED (does not appear at all)
 
We are making progress on the X99 case, as we know can use latest AppleHDA.
For some reason though, the Piker Alpha solutions (which I like the idea as it does not touch at all the AppleHDA.kext) are not working. Any thoughts on why or how to fix that?
 
 
The patch from Clover by replacing 8C20 by 8CA0 in AppleHDAController is great. I wonder if there is a way to make an SSDT (to patch DSDT) to change the device-id of the C610/X99 audio controller to 8CA0 and trick AppleHDAController this way, without patching it at all from Clover. I tried to change IONAme, device-id and a few things this way, and it showed changes in IORegistry, but it did not work (no sound) ; I probably did not do the right thing, or maybe it is simply not possible to do that from SSDT/DSDT.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...