Jump to content

El Capitan: Realtek ALC AppleHDA Audio


toleda
 Share

388 posts in this topic

Recommended Posts

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)
          ....
                }
            }
  • Like 1
Link to comment
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

  • Like 1
Link to comment
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 ?

Link to comment
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

Link to comment
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 !

 

  • Like 1
Link to comment
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.

Link to comment
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?

Link to comment
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…

Link to comment
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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...