Jump to content

El Capitan: Realtek ALC AppleHDA Audio


toleda
 Share

388 posts in this topic

Recommended Posts

Unfortunally it doesn't work for me on El Captain 10.11.1 with Clover and no EFI partition.
I'm using this command file:
audio_cloverALC-110_v1.0k.command

Can anyone help me to understand what is wrong, or suggest me another method to get it work?
Tks in advance!


Motherboard Gigabyte = GA-EP43-DS3L
Audio Specs:

  1. Name= Realtek ALC888S-VD
  2. Codec ID= 0x10EC0888
  3. Revision= 0x0001
  4. Audio Device= 0x80863A3E
  5. Sub Device= 0x1458A002


    2/4/5.1/7.1-channel
    Support for S/PDIF In/Out

Attached log files:

ALC-110_va.0k_command - Terminal Saved Output.txt

config.plist.txt

Link to comment
Share on other sites

i used voodooHDA and now i have sound and also mic working. I just need the Audio HDMI to work now...

AppleHDA.kext only, off topic.

Unfortunally it doesn't work for me on El Captain 10.11.1 with Clover and no EFI partition.

You have an EFI folder. Codec is disabled, verify BIOS/HD Audio/Enabled.

Attach all files, Post #1, Problem Reporting.

Link to comment
Share on other sites

Sorry for incomplete report on another post, my BIOS don't have a HD Audio option, toleda. I only have an Azalia Codec option setted up as [Auto].
I don't think that is a BIOS config related problem, because i have a 10.8.5 installed on another disk and the audio is working with a modified AppleHDA.kext in S/L/E.

 

1 - Problem:

i can't apply patch to ALC888S and Card not recognised
Pref Pane Sound.tiff

 

2 - OS X version: 10.11.1

  Motherboard Gigabyte = GA-EP43-DS3L

  BIOS: Award modular BIOS v6.00PC

  Processor Name: Intel Q9550 Core2 Quad @ 2.83 GHz 

  L2 Cache: 12MB

  Total Cores: 4

  FSB: 1333 Mhz

  RAM: 4Gb

 

Audio Specs:

  Name= Realtek ALC888S-VD

  Codec ID= 0x10EC0888

  Revision= 0x0001

  Audio Device= 0x80863A3E

  Sub Device= 0x1458A002

 

  2/4/5.1/7.1-channel

  Support for S/PDIF In/Out

 

Video Specs:

  Chipset Model: AMD Radeon HD 6850 X2

  Type: GPU

  Bus: PCIe

  PCIe Lane Width: x16

  VRAM (Total): 1024 MB

  Vendor: ATI (0x1002)

  Device ID: 0x6739

  Revision ID: 0x0000

  EFI Driver Version: 01.00.3180

 

 

3 - Procedure Guide: 

Realtek ALC AppleHDA Scripts:

audio_cloverALC-110.command.zip


4 - Sevilio_Mac_IOReg.zip

5 - Copy Of Console/All Messages  (last boot)/File/Save a Copy As..
(i dont know how to get this one)

6 - Installed S/L/E/AppleHDA.kext -

(too slow to upload file, but can i assure you that is the system original one)

 

7 - Screen shots:

DPCIManager Status.tiff
System Information.tiff

 

8 - Terminal/Shell/Export Test As. . . 

log_audio_cloverALC-110_v1.0k.command.txt

 

10 - Clover

config.plist.txt

DPCIManager-Boot Log.rtf

DSDT.aml.zip

 

Thanks!

Link to comment
Share on other sites

Please help.  Here is the info required in the problem reporting procedure:

 

1.  No audio devices listed

 

2.  OS X version/motherboard model/BIOS version/processor/graphics:

 

El Capitan 10.11.1

 

GIGABYTE GA-Z77X-UD5H-WB LGA 1155 Intel Z77 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard

 

BIOS Version: F14

 

Intel Core i7-3770K Ivy Bridge 3.5GHz (3.9GHz Turbo)

 

GIGABYTE GV-N670OC-2GD GeForce GTX 670 2GB 256-bit GDDR5

 

3.  Procedure/Guide Used:

 

I used the Realtek ALC AppleHDA Script and the instructions from:

 

http://www.insanelymac.com/forum/topic/308387-el-capitan-realtek-alc-applehda-audio/

 

I used the script:

audio_cloverALC-110_v1.0j.command

 

Thanks for the help in advance.  Toleda, you are doing amazing things.  Everything should be in the zip attached, but please let me know if I didn't include anything you need to help.  I feel like I must be close to a solution.  

 

-mvgilpatrick

Problem Reporting.zip

Link to comment
Share on other sites

can't apply patch to ALC888S and Card not recognised

Script says: No audio codec detected

However, IOReg, run a day later, shows HDEF

Edit dsdt/HDEF/layout-id from 0x78, 0x03, 0x00, 0x00 to 0x01, 0x00, 0x00, 0x00 

Restart. Run the script again and reply with new files.

No audio devices listed

Pike method installed. Two installed audio methods ensure audio failure. Remove S/L/E/AppleHDA898.kext.

Verify S/L/E/AppleHDA.kext is native. Run script again.

Reply with new files.

Link to comment
Share on other sites

 

Pike method installed. Two installed audio methods ensure audio failure. Remove S/L/E/AppleHDA898.kext.

Verify S/L/E/AppleHDA.kext is native. Run script again.

Reply with new files.

 

Thank you for the help!!!  The AppleHDA898.kext was actually in the L/E folder and not the S/L/E folder.  I deleted it, along with the realtekALC.kext file in my kexts folder of the EFI/CLOVER/kexts/10.11 folder on the EFI partition.  I also deleted all the AppleHDA "kexts to patch" in my config.plist.  I then used ##### to reinstall the native AppleHDA.kext to my S/L/E folder.  I then restarted and patched with the audio_cloverALC-110_v1.0j.command script.  

 

This worked.  I'm sure I didn't need to go to all the effort to remove all the patches and kexts in the EFI partition, however I didn't want to take any chances.

 

Again, like I said before, toleda, you are doing amazing things here and deserve more than you probably get.

 

-mvgilpatrick

Link to comment
Share on other sites

Hi toleda,

 

so far I was using your script to patch my AppleHDA but now I build my own codec-verb and layout to fully support my board.

For this I have a question to your customizations.

Is there any reason why you disable the devices if there are not in use (inside layout)?

 

And therefor this post isn't totally off-topic:

A little bug report for https://github.com/toleda/audio_ALC892/blob/master/892.zip/hdacd.plist

 

Item 10 - 283904146 Layout 1

21471c10 21471d40 21471e11 21471f90 
21470c02 
21571c20 21571d10 21571e01 21571f01 
21671c30 21671d60 21671e01 21671f01 
21771cf0 21771d00 21771e00 21771f40 
21871c40 21871d90 21871ea0 21871f90 
21971c60 21971d90 21971e81 21971f02 
21a71c50 21a71d30 21a71e81 21a71f01 
21b71c70 21b71d40 21b71e21 21b71f02 
21b70c02 
21e71c90 21e71d61 21e71e4b 21e71f01 
21f71cf0 21f71d00 21f71e00 21f71f40 
21171cf0 21171d00 21171e00 21171f40
Item 11 - 283904146 Layout 2

21471c10 21471d40 21471e11 21471f90 
21470c02 
21571cf0 21571d00 21571e00 21571f40 
21671cf0 21671d00 21671e00 21671f40 
21771cf0 21771d00 21771e00 21771f40 
21871c40 21871d60 21871e01 21871f01 
21971c60 21971d90 21971ea0 21971f90 
21a71c50 21a71d10 21a71e01 21a71f01 
21b71c70 21b71d40 21b71e21 21b71f02 
21b70c02 
21e71c90 21e71d61 21e71e4b 21e71f01 
21f71cf0 21f71d00 21f71e00 21f71f40 
21171cf0 21171d00 21171e00 21171f40
Link to comment
Share on other sites

Hi,

 
Bit of a noob here. This is my first mackintosh, and it's based on Skylake. So bound to give trouble :)
I get no sound outputs in sound prefs, and thus obviously no sound at all.
El Cap 10.11.1, Skylake 6600k, Asus Z170m Plus, which has ALC887. GTX970 gfx. Newest bios, installed using Pikes patch.
 
I installed via the Clover script last night, newly downloaded from the repo. As I had messed with it before, I made sure that the AppleHDA kext was newly replaced from the installer.
Script output:
 
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.0l
Password:
Sorry, try again.
Password:
EFI partition is mounted
System Integrity Protection status: enabled (Custom Configuration).

Configuration:
Apple Internal: disabled
Kext Signing: disabled
Filesystem Protections: disabled
Debugging Restrictions: disabled
DTrace Restrictions: disabled
NVRAM Protections: disabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

OK to patch
Confirm Realtek ALC887 (y/n): y
ALC887 v_0x100302 (Current)
Enable HD4600 HDMI audio (y/n): n
Audio ID: 0 is not supported, continue (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 0 (y/n): n
Audio IDs:
1 - 3/5/6 port Realtek ALCxxx audio
2 - 3 port (5.1) Realtek ALCxxx audio (n/a 885)
3 - HD3000/HD4000/HD5xx HDMI and Realtek ALCxxx audio (n/a 885 & 887/888 Legacy)
Select Audio ID: 1

Download ALC887 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24502  100 24502    0     0  18531      0  0:00:01  0:00:01 --:--:-- 18534
Edit config.plist/Devices/Audio/Inject/1
Set: Entry, ":Devices:Audio:Inject", Does Not Exist
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   4093      0 --:--:-- --:--:-- --:--:--  4093
Install /Volumes/EFI/EFI/CLOVER/kexts/10.11/realtekALC.kext
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  10500      0 --:--:-- --:--:-- --:--:-- 10531
Install System/Library/Extensions/AppleHDA.kext/ALC887 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RT2870USBWirelessDriver.kext
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleGraphicsDevicePolicy.kext
kextcache updated critical boot files, requesting launchd reboot

Install finished, restart required.
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.

[Process completed]

I can't figure out how to share files on the forum, here's a dropbox link:

https://www.dropbox.com/s/tql9z24qv9awihc/audiostuff.zip?dl=0

 

Hope you can help, and thanks in advance!

 

Mathias

Link to comment
Share on other sites

 

dsdt/HDEF/remove codec-id and device-type

after edit:

                    Store (Package (0x04)
                        {
                            "layout-id", 
                            Unicode ("\x01"), 
                            "device-type", 
                            "PinConfigurations", 
                            Buffer (One)
                            {
                                 0x00                                           
                            }
                        }, Local0)

 

Sorry for the long time without news, i had a very busy week at work.

I tried to edit exactly as you said above, but MaciASL return a error when i tried to compile the code, so its still no candy for me.  :|

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

First, thank you for your efforts at making AppleHDA audio work on a Hackintosh. Everything you do, and the help you provide, is much appreciated.

 

I have successfully built a Hackintosh running El Capitan using the Gigabyte ZA-Z97X-UD7 motherboard and a Quad Core i7 CPU.  Now I am trying to get a Hackintosh running using the Gigabyte GA-X99-SLI and a 6-core CPU.  I currently have it running except for the audio.  I have followed your instructions at the beginning of this thread and I was successful at getting the audio device to show up (both in System Report and in System Preferences/Sound).  Applications and the OS "think" there is a sound device there. However, no sound comes out of the system. 

 

This is a Quad Boot system that is also running Win 8.1, Win 10, and CentOS 6.5 and audio works with all of the other operating systems, so I know there isn't anything wrong with the system.  In order to boot in El Capitan (by the way, on 10.11.1), I need to use npci=0x2000 as a boot flag (0x3000 also works, but I understand that disables audio, and it also hangs occasionally, so I am using 0x2000).

 

I hope you can help me sort out what is the audio issue!  Thank you in advance. I will try to attach all the information you requested.

 

Specs (this is a workstation for running Autodesk Flame and Smoke, as well as Avid Media Composer, by the way)

GA-X99-SLI

Core i7 5930K 6-core CPU

32 GB RAM (4 x 8)

OS X 10.11.1

Clover Bootloader

PNY Nvidia GTX 980 Ti

Currently also has a Blackmagic Design Decklink SDI video card installed -- it was not installed when I attempted to patch the audio

BIOS:  version F1 (original shipping version. There is a beta BIOS available that adds support for 16 GB RAM sticks)

 

 

Prodedure used to install: 
TonyMac Install OS X El Capitan to Any Supported Intel-based PC 

Addition of VoodooTSCSync.kext to deal with 6-core

##### 8.0

Audio Fixes:  From TonyMac "No Audio Devices Realtek ALC AppleHDA Guide"

Also: http://www.insanelymac.com/forum/topic/308387-el-capitan-realtek-alc-applehda-audio/

 

I hand-patched the Clover config.plist file with the additions suggested in this post (in config-audio_cloverALC-x99.plist).  I chose to patch the AppleHDA kext itself versus patching the kernel cache.

 

Edit:  Forgot to mention that I needed to add another kext called Test2.kext, which is apparently required to resolve an early boot up failure [OsxAptioFixDrv: AllocateRelocBlock(): can not allocate relocation block (0x16687 pages below 0x100000000) ].  By the way, I still get this "can not allocate relocation block" error if I add too many PCI-e cards to the system.  I need to resolve this in order to put a 40 Gigabit Ethernet card in the system, along with a video I/O card such as AJA or Decklink.  But that is a separate issue I think.

post-235726-0-42992700-1449152412_thumb.png

post-235726-0-27458300-1449152420_thumb.png

IOReg_hackpro6core.zip

AppleHDA.kext.zip

ConsoleAll Messages.log.zip

Clover_config.plist.zip

DPCIManager_BootLog.txt

audio_cloverALC-110_v1.0l.command.zip

audio_realtekALC-110_v1.0l.command.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...