Jump to content
toleda

El Capitan: Realtek ALC AppleHDA Audio

388 posts in this topic

Recommended Posts

Advertisement

Works here too, ALC1150, Z87, El Cap, Chameleon.

 

It complains on startup about extra characters at line 177 but still works ok.

Share this post


Link to post
Share on other sites

The thing you must do - before running the GREAT  audio_realtekALC-110.command, is to check if you already have set the layout-id to Audio-ID  1,2 or 3.

Mostly it was set before to other layout-id , like 12  (x0C) or 885. (in dsdt HDA part or by injection chameleon other injectors like bootloaders or kexts)

If you set the rigtht AUDIO ID (= layout-id) all other things (the patch, backup old unpatched kext) will be made by the patch script.

 

Look this part above about the many ways (1. to 5., below listed)  to set the AUDIO-ID (= layout-id) - you only have use ONE of that:

Audio ID Injectionaudio_ALCInjection : 01,02 or 03

  1. HDEF/kext/no dsdt/HDAEnabler_.kext = Audio_ID
  2. HDEF/dsdt/layout-id = Audio_ID,
  3. HDEF/ssdt/layout-id = Audio_ID
  4. HDEF/Clover/config.plist/Devices/Audio/Inject = Audio_ID
  5. HDEF/Chameleon/Extra/org.chameleon.Boot.plist
    1. HDAEnabler = Yes
    2. HDEFLayoutID = 01000000 or 02000000 or 03000000
    3.  

 

If  you use dsdt way - in list above 2. , it  looks like:

  Device (HDEF)

         .....
 
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00    // in the past often was set to x0C or others
                            }, 
 
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
          ....
                }
            }

Share this post


Link to post
Share on other sites

I have ACL892 but cant make it work, can you please help me step by step?

first of all what method u wanna use ?

Clover way or AppleHDA.kext way?

Share this post


Link to post
Share on other sites

first of all what method u wanna use ?

Clover way or AppleHDA.kext way?

 

 

"Piker-Alpha/patch alias" but it's not important, please help me with your method. I use MSI H77GMA45 with ACL892. 

Thanks

Share this post


Link to post
Share on other sites

Hi! your post helps is very cool. The only "but" that I have is the method to obtain the native AppleHDA not work for El Capitan. The installation package of El Capitan has changed. I got looking at the search box but it had not been for that I would not have found. Thank you. :thumbsup_anim:

Share this post


Link to post
Share on other sites

I have a Realtek ALC889

I'm still using an AppleHDA patched kext (i'm using it since Osx Lion) and it works very well also with El Capitan .

 

BTW i will give a try ....

Share this post


Link to post
Share on other sites

the method to obtain the native AppleHDA not work for El Capitan.

Run the El Capitan Installer over the current EL Capitan install to restore native AppleHDA.kext.

Share this post


Link to post
Share on other sites

Hello,

 

I have a P5Q motherboard with a ALC 888S-VD sound card. This model is excluded from the above tuto. It makes days that I'm looking for a solution to get it working on el Capitan. Has someone any clue for this issue ?

 

Thank you 

Share this post


Link to post
Share on other sites

Hello Toleda

 

Thank you for the very quick answer. Here is below my sound card détails:

 

Audio device: 0x80863A3E

Sub device: 0x104382FE

Code ID: 0x10EC0888

Revision: 0x0101

Codec name: Realtek ALC888S-VD

 

Your support is very ap​preciated

Share this post


Link to post
Share on other sites

Code ID: 0x10EC0888

Revision: 0x0101

Codec is 888/00101

Legacy is 888/00201

Run either Post #1/Realtek ALC AppleHDA Scripts

Answers:

Legacy: y

Continue: y

Reply with script/Terminal/Export Text As...

Share this post


Link to post
Share on other sites

Thanks Toleda. The sound panel is ok now.

However, I have a strange behavior from my computer. The first time after applied your patch and restarted, the sound was bad. I shut down the computer and after 1 night, I started it again. then the sound was very good and thought the problem was definitely resolved. After restarted again, the issue rise again : bad sound. It comes again with an issue with the time clock which is not accurate (too slow).

Don't you have any idea on the reason of such behavior ?

Share this post


Link to post
Share on other sites

It comes again with an issue with the time clock which is not accurate (too slow).

Don't you have any idea on the reason of such behavior ?

No.

Share this post


Link to post
Share on other sites

Hello everyone,

 

Can someone please tell me what I`m doing wrong?

 don't have sound yet and, I tried all Three Methods that you suggested in the first post of this topic.

 

1. method: realtekALC/patch kext in place

audio_realtekALC-110.command.zip  - didn`t help

You can see the log in "audio_realtekALC-110_v1.0h.command.txt.zip"

 

2. method: cloverALC/patch kernel cache  - didn't help

 

3. method: Piker-Alpha/patch alias  - didn't help

When i tried ./AppleHDA8Series.sh -a 887 -l 3 -d /System/Library/Extensions

in terminal, I got message "/System/Library/Extensions/FakeSMC.kext was installed improperly and cannot be used."

Do I need to reinstall it somehow or just delete from Extensions and change with other FakeSMC?

 

Then, I tried to manually select model of my Realtek with:

./AppleHDA8Series.sh -b AppleHDA

then i choose the second option (Realtek ALC  887 (0x10EC0887 / 283904135)) and with layout-id : 0 -

I got message "Looking in: /System/Library/Extensions/FakeSMC.kext for ConfigData

Error: ConfigData NOT found!"

You can see the log in "terminal-layout 0.txt"

 

When I tried to change layout-id from 0 to 1, I got a message that everything is OK and "ConfigData for Realtek ALC 887 found!",  but after restart I still don't have a sound card installed. I got the same message also for layout-id=2 and 3

You can see the log in "terminal-layout 1.txtterminal-layout 2.txt and terminal-layout 3.txt"

 

I will also upload a log file from IOReg, DPCIManager and Console file from last boot.

 

My configuration is:

System Version: OS X 10.11 (15A284) / Kernel Version: Darwin 15.0.0 / 

MSI H61M-P31 (audio by Realtek ALC887, network by Realtek 8111E) / Intel i5-2500k / 8GB DDR3 / Saphire HD5870 / HDD1: 64GB SSD / HDD2: 2TB 3.5" 

 

 

Thank you all guys in advance for all your time and effort.

iMac.spx.zip

DSDT.aml.zip

nOOb’s iMac.ioreg.zip

system.log.zip

terminal-layout 0.txt

Terminal-layout 1.txt

Terminal-layout 2.txt

Terminal-layout 3.txt

Share this post


Link to post
Share on other sites

No.

 

I finally found the solution.

I have analyzed both logs when the computer had good and bad sound. With Excel, I have compared each lines and found some différences. On the first log, the CPU was loaded with a certain speed and on the other log, the CPU speed was different. See below:

 

Log1                                                                                                 Log2

 

FSBFrequency=422MHz DMIvalue=333330kHz FSBFrequency=633MHz DMIvalue=333330kHz

Finally: Bus=333295kHz CPU=3000MHz Finally: Bus=499937kHz CPU=3000MHz

 

 

 

 I have then fixed the correct speed by copying the data of the Log1 into Clover (CPU part / Frequency MHz and Bus Speed kHZ).

 

I have restarted my computer and everything is going fine now.

 

CONCLUSION: Check your CPU speed in Clover !

 

Share this post


Link to post
Share on other sites

Can someone please tell me what I`m doing wrong?

Audio ID injection not set,;see Post #1, Audio ID Injection (required)

You can see the log in  "audio_realtekALC-110_v1.0h.command.txt.zip"; not attached

Pike's script /10.11 not supported; see Piker-Alpha AppleHDA8sries Script, Step 7

For addition support; see Post #1, Problem Reporting

restarted my computer and everything is going fine now.

Thanks.

Share this post


Link to post
Share on other sites

Hey, Toleda!
Can you help me?
I have
MB: ASUS P6TSE with ALC1200

Video: GTX 770(4gb, GIGABYTE)
Proc: intel core i7 920 @2.67
Is there any way to enable HDMI audio?
OSX 10.10

Share this post


Link to post
Share on other sites

I have a strange bug behavior.

System: Asus X99 Deluxe, Yosemite OS X 10.10.5 (14F1021), as well as on El Capitan 10.11.1

Using AppleHDA 2.6.3-toledaALC1150

Using Clover Audio Inject (layout 1), SSDT to fix ALZA to HDEF and Clover kextpatch for AppleHDAController 208C to 208D (X99 ALC Onboard Audio).

 

This worked fine for a long time, and I realized today that the front left and right speakers are not working (when they were in the past), more exactly the volume is very very low. I check audio configuration, and it is not from there.

I switched speakers to be sure it was not from the speakers themselves, and it is not.

For some reasons, now, the volume for the integrated output is way way lower than the others (so low that it is not usable).

The volume for the 2 other integrated line outputs are fine.

 

Any idea on what is happening?

Share this post


Link to post
Share on other sites

Not strange; external amp, expected

See X99-DELUXE | Motherboards | ASUS USA/Flawless audio. . . /Audio Amplifier. . .

Install 1150 edited Dolnor/EAPD-Codec-Commander

Ha!

 

I was using codec commander (for sleep problems), and when I moved from Chameleon to Clover, I put it in Clover kexts… I still had sound on the 5.1 system, so I did not pay attention, but it stopped loading as it has to be in S/L/E to work properly apparently… I just moved it back in S/L/E and miracle it works again.

 

Thank you toleda!

 

Any chance to see the 10.11 AppleHDA working on the X99 (patched of course)? 10.9.4 one is still working fine, but for how long…

Share this post


Link to post
Share on other sites

Audio through my analog ports is working after audio_cloverALC-110.command, but I am struggling to customize the install to get the S/PDIF output working. I really prefer to use the digital outputs for sound quality, so I bought this small addition to go with my board:

 

http://www.amazon.com/gp/product/B0035J9Z7W?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00

 

It connects the S/PDIF header from the board to ports on the back of the case. It definitely has power, as the laser for the optical output is working. I have tried both the optical and coaxial S/PDIF outputs from the attached board. Seeing that neither was working, I tried to follow the instructions here:

 

https://github.com/toleda/audio_ALC_guides/blob/master/Customization%20-%20Realtek%20ALC%20AppleHDA_v2%20%5BGuide%5D.pdf

 

The relevant section says:

 

7. Substitute SPDIF-2 Wire Output: Replaces SPDIFOut Optical with motherboard SPDIF 2 wire SPDIF audio output device

Credit: intamara: Lion HDMI Audio - Part 2a: DSDT Edits/Discrete - AMD/Nvidia - Page 29, Post 289
A. Edit Platforms.xml/zml
1. Open Item/PathMapID
2. Open the current SPDIFOut (last item)
3. Edit this path map as follows:
4. Current:
⁃ Item 0/NodeID/Number/30
⁃ Item 1/NodeID/Number/6
5. New:
⁃ Item 0/NodeID/Number/17
⁃ Item 1/NodeID/Number/16
B. Edit HDAHardwareConfigDriver/info.plist or realtekALC/Info.plist
1. Open Item/CodecID
2. Verify CodecID/LayoutID
3. Edit ConfigData (1150 only, edit each entry, 21 to 01)
⁃ Find: 21171cf0 21171d00 21171e00 21171f40
⁃ Replace: 21171ca0 21171d01 21171e43 21171f99
⁃ Find: 21e71c90 21e71d61 21e71e4b 21e71f01
⁃ Replace: 21e71cf0 21e71d00 21e71e00 21e71f40
C. Save, install and restart
 
It appears that I can edit Platforms.zml as described, but I can't find the same items in the Platforms.xml to edit. Also, the structure of the HDAHardwareConfigDriver/info.plist seems to be different than is described, and I cannot figure out how to achieve the edits listed. I must say that I am a bit confused about the item numbers, as everything in the plists is an item. According to the guide, Realtek 887 is item 1. Specs for the motherboard say Realtek 887, and so did the audio_cloverALC-110.command install script. DPCIManager lists the audio codec as Realtek 888B, but apparently this is the same as 887.
 
ASUS H97M-PLUS — BIOS v2404, i3-4370, ASUS GeForce GTX 750 Ti STRIX
 
Had to do some workarounds to attach files as some formats are not allowed for posts on this board. Hopefully this will be enough information for someone with more knowledge to assist me.
 
One last thought. In the tools listed for inflating and deflating the zlib files here:
 
 
The instructions for the perl script leave a .xml file that Xcode reads as xml. To get it to read as a plist, I just appended .plist to the file, which worked great. Then I thought, why not just add this when inflating the .xml. This also worked. Here are the commands:
 
Last login: Sat Oct 24 16:41:19 on ttys000
Anachronauts-iMac:~ anachronaut$ cd /Users/anachronaut/Desktop/New\ Folder 
Anachronauts-iMac:New Folder anachronaut$ perl zlib.pl inflate Platforms.xml.zlib>Platforms.xml.plist
Anachronauts-iMac:New Folder anachronaut$ perl zlib.pl inflate Platforms.zml.zlib>Platforms.zml.plist
Anachronauts-iMac:New Folder anachronaut$

Run the El Capitan Installer over the current EL Capitan install to restore native AppleHDA.kext.

 

I extracted the AppleHDA.kext from the El Capitan installer. It was only in one place, and seems to be complete. It is working on my computer after the audio_CloverALC110.command script.

Clover_config_plist.txt

DPCIManager_Misc_Boot_Log.txt

DPCIManager_Status.tiff

info_plist.tiff

Platforms_xml.tiff

Platforms_zml.tiff

System_Report_Audio1.tiff

System_Report_Audio2.tiff

Anachronaut’s iMac IOReg.tiff

platforms_xml_plist.txt

Platforms_zml_plist.txt

AppleHDAHardwareConfigDriver_Info.txt

Audio Clover 110 audio script.txt

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By RogerDodger93
      Salve a tutti ragazzi,
      Mi sono appena iscritto e innanzi tutto vorrei esprimere la mia gratitudine per l'aiuto offerto. Il mio problema come da titolo riguarda il mio Pavilion Power 15 più precisamente il modello cb015nl. Ho notato che c'era un altro topic su un modello simile ma immagino che anche se i modelli sono simili non è detto che siano compatibili quindi ne ho creato uno per il mio modello. Per arrivare al dunque, sono riuscito ad installare con successo Mojave 10.14 ma ho riscontrato diversi problemi una volta avviato l'OS. Quello che non riesco a far funzionare è l'indicatore della batteria, il power managment (Stop non funziona e la luminosità), la porta ethernet e credo che la scheda wifi sia incompatibile, le gesture del trackpad, e l'audio che con una scheda audio esterna funziona a meraviglia e l'ultimo grosso problema è che non riesco a far partire clover senza la usb di installazione, ho installato clover bootoader sull'hd dove ho mojave ma niente senza la usb mi parte il bootloader di hp/windows. Premetto che sono partito con una copia di mojave scaricata dall'appstore. Vi allego il report di HackInfo sperando che possa essere d'aiuto per il troubleshooting
      HackInfo_Report.zip
    • By Slice
      Some users claim that using VoodooHDA they hear loud bump at system start and sound in system comes with noise.
      Although this can be repaired with existing drivers I propose a version that do this automatically.
      It started silently and have very clear output. The file is compiled as 32/64 and works from 10.6 up to 10.12.
      VoodooHDA.kext-289.zip
      The sources is in my signature.
       
      There is a VoodooHDA,prefPane compatible with Sierra
      VoodooHDA.prefPane-289.zip

       
      Now there is a version 2.9.0 by Zenith432.
      It can work with multichannel sound and play it on 5.1 analog system.

      VoodooHDA.kext-2.9.0d8.zip
      27.04.2017 
      d10 - Fix issues involving AudioControls
      VoodooHDA.kext-2.9.0d10.zip
       
      20.11.2018
      Fix issue with scratch on slow CPU
      VoodooHDA.kext-291SSE.zip
       
    • By fru1tyJuice
      I have decent sound and nice volume after installing apple.alc with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]  and then rebooting the machine, but after the next reboot is my max volume very low I can barely  hear something from Spotify with max volume and on YouTube nothing.
      I have already tryed it to reinstall the kext a few times but after the second reboot is my sound always gone ... 
       
      Someone any ideas ?
       
      Soundchip alc887
       
      Hardware: i5 7500, Msi B250m pro vdh, currently using the GPU from the i5, (no Mojave driver for my 1050ti).
    • By danny1m
      hi can someone help I'm getting sutter on usb audio in high Sierra ryzen build I'm going to be using this machine hopefully for audio production 
      any help welcome I've seen the very helpful https://www.insanelymac.com/forum/profile/557433-mald0n/ help with this issue previously great if anyone can pint me in the right direction of a guide to fix or something 
      heres the ioreg and tables.
       
      https://drive.google.com/open?id=1TwRiR4rKPLiJITzTTR4oIydCskWItIk3
×