Jump to content

Yosemite: Audio - Realtek ALC AppleHDA


toleda
 Share

793 posts in this topic

Recommended Posts

Work on my Yosemite, ALC887 (MSI B85M-45) with Clover patch. The first time I tried it make my Mac can not boot, may be due the folder kexts/Other in the CLOVER bootloader while your scripts make a new 10.10 folder without any other kexts.

 

I have AMD Radeon 7790 1GB OC but I don't require HDMI output so I dont/can't check.

 

Nice solution.

Link to comment
Share on other sites

Configuration of AppleHDA.kext file needs to be modified to contain HDEF and layout-id of the card we are trying to support.

 

If the above is correct, why do we need to modify the native DSDT if by default it always loads AppleHDA.kext only this time around it will load our modified one ?

Sentence above is not correct.  The dsdt (ACPI Tables) must contain HDEF and layout-id.  Without the noted properties, AppleHDA.kext (native or patched) does not load.

I'm talking about front panel conectors.

Is the case/front panel HD Audio. or AC97?

AppleHDA.kext has invalid signature, omiting

No attachments.

Missed the script warning just before your password and Post #1:

Requirements

  1. OS X versions supported:
    1. Yosemite/10.10, see Notes 1 and 2, below

Note 1 applies to your system.

Link to comment
Share on other sites

used original OS X 10.10 AppleHDA pulled from installer

Unless you extracted AppleHDA.kext from 3 different packages in the installer and merged the 3 pieces, you do not have the native 10.10 AppleHDA.kext.  Run the installer over the current installation to install the complete native 10.10 AppleHDA.kext.

my attachments after add kext-dev-mode=1

Your system did not boot with the kext-dev-mode=1 argument, reason for omitting errors in script output.

Link to comment
Share on other sites

toleda, on 06 Nov 2014 - 5:11 PM, said:

Sentence above is not correct.  The dsdt (ACPI Tables) must contain HDEF and layout-id.  Without the noted properties, AppleHDA.kext (native or patched) does not load.

 

 

Ok, so if i am not using DSDT then what loads AppleHDA.kext ?

 

 

I decided to experiment with the options and see how far i get (between these attempts the system was re-imaged from fresh 10.10 install)

 

1a. Replaces the installed AppleHDA.kext with a codec specific AppleHDA.kext  - So i attempted this option first, i used MB 7.0.1 and installed ALC888 Legacy v100202 kext, rebooted. When i looked in DPCIManager no codecs were listed and of course no sound. I looked in org.chameleon.Boot.plist and HDEF HDALoader were there. I tried to change layout to 2 and then to 3, nothing ..no sound. 

 

PC Re-imaged back to fresh install

 

1b. HDAEnabler1.kext injects HDEF/layout-id (one of 5 techniques), requires a codec specific AppleHDA.kext - I went to your repo here and downloaded HDAEnabler1.kext and also downloaded the script audio_realtekALC-100.command.zip . Installed HDAEnabler1.kext and rebooted ..at this point i looked in DCPImanager and saw the codecs listed. At this point i ran the script and answered the question. It downloaded the ALC888 Legacy v100202 files and patched AppleHDA.kext. I rebooted and at this point i had sound. Wonderfull. Now the questions is why did i have to install HDAEnabler if Chimera has "built-in" HDAEnabler.dylib in /S/L/E/modules ? I thought the purpose of this was so that you don't have to install HDAEnabler separately ?

 

Can you please comment on the above questions /process ?

 

Thank you

Link to comment
Share on other sites

Hi All,

 

Complete Clover beginner here.

 

I ran ML with Chimera the past year (didn't do System Updates the past few months to avoid issues), decided to move to Clover with Yosemite. I can not get audio to work, I tried going with the "cloverALC/Clover patched" method.

 

Did a completely fresh install (repartitioned, installed 10.10), this is what I started with:

- Fresh OS install

- Clover installed to EFI

- FakeSMC & Ethernet kexts in EFI/EFI/Clover/kexts/10.10/

- That's all, no SSDT or DSDT patches or anything else installed

 

What I've done:

- Run the "audio_cloverALC-100-v1.0.1-2.command" script following along. (ALC1150 - Yes, Audio_ID1)

- Rebooted

- Confirmed the Device_ID, Codec Name and Audio_ID

 

Audio does not work. My current situation:

- System Prefernces/Sound/Output shows only my AirPlay devices

- Front or back panel audio does not work

- If I mount the EFI partition I can see a new "realtekALC.kext" kext under /EFI/Clover/kexts/10.10/

- My motherboard BIOS has a few audio effects, which I can hear, so I believe there is not a hardware issue

 

I'm sorry, but I don't really grasp what is going on in the background, so I just tried following toledo's guide to the best of my capabilities. Don't care about audio over HDMI. All I really need is to get audio from the integrated card's back panel stereo jack.

 

Any ideas would be greatly appreciated, I have no clue how to continue or what to try.

 

 

System:

- ASROCK z87e-itx

- EVGA GTX 760 (using the DVI port)

- Samsung EVO 840

- 2 sticks of 8GB 1600 RAM

 

post-958233-0-48987600-1415450207_thumb.png

post-958233-0-42587000-1415450209_thumb.png

post-958233-0-52831700-1415450210_thumb.png

post-958233-0-68242100-1415450211_thumb.png

Link to comment
Share on other sites

 added in clover configurator.

Did you fix AppleHDA.kext?  To  verify the boot argument is set, hit the space bard at the Clover GUI, the new screen will show Options; confirm kext-dev-mode=1.  If not present, config.plist has a problem.

 

Attach new files every time you make a change to your system.

Can you please comment on the above questions /process ?

No dsdt/HDEF.  As noted previously, install HDEF with one of three methods,  HDAEnabler.dylib injects layout-id, not HDEF.

Any ideas would be greatly appreciated

With the information provided, no idea.

No disrespect intended, a screenshot of IOReg is useless.  See Post #1, Problem Reporting, attach all requested files.

Link to comment
Share on other sites

With the information provided, no idea.

No disrespect intended, a screenshot of IOReg is useless.  See Post #1, Problem Reporting, attach all requested files.

 

Sorry about that, here are my files attached. Many thanks for your support!

 

1. OSX 10.10 (14A389) / ASROCK Z87E-ITX / BIOS: 2.50 / Core i5 4670k / EVGA GTX 760 (02G-P4-2765-KR)

2. Clover method "audio_cloverALC-100-v1.0.1.command"

ezaboti.zip

Link to comment
Share on other sites

Hi. I'm trying to get audio working on my Z97N-Gaming 5 board with Clover (ALC1150). I think I've messed up something, just not sure what. I tried to follow the instructions at https://github.com/toleda/audio_CloverALC, and it looked somewhat successful, but I didn't manage to get audio working. I think I missed the part where I should have replaced <09ec10> with <0009ec10> in the config.plist. I tried a lot of things after that, which I should have written down, because I now can't remember it all. I guess I'm learning the hard way at the moment.

 
Here's what I'm trying to do now:
- I placed the original AppleHDA.kext from S/L/E/ in the kexts/10.10/ folder in the EFI partition.
- I then ran audio_cloverALC-100-v1.0.1.command. I get the error: No audio codec detected.
- When I open IORegistryExplorer and search for HDEF, it says layout id: <00 00 00 00>. In System Report under Audio, I also see "Intel High Definition Audio. Audio ID: 0".
 
Can I do anything to fix this mess I've made? Or will I have to reinstall OS X?
Link to comment
Share on other sites

Alright, I managed to fix the problem using the info at https://github.com/toleda/audio_ALCInjection, particular the guide in "[Guide] Add HDEF-Clover.pdf".

 

The problem was that I had Inject=No instead of Inject=1 in my config.plist under Devices/Audio. I manually edited the file, and ran audio_cloverALC-100-v1.0.1.command again. I then edited replaced <09ec10> with <0009ec10> in the config.plist, restarted, and now it works :)

Link to comment
Share on other sites

Hello everyone.

 

HELP PLEASE.

 

System specs;

Motherboard: Rampage 4 Black Edition, Video Card: NVIDIA GeForce GTX 770, Audio: Realtek 1150, OS: Yosemite 10.10.1., Bootloader: Clover (Clover_v2k_r3021)

 

I downloaded "Clover Audio - Update Persistent.dmg" and followed the instruction to patch "AppleHDA" but all I got is the Error message below. Any help will be appreciated. Thanks

 

 

Last login: Sat Nov 15 12:09:09 on ttys000

/Volumes/Clover\ Audio\ \(UP\)/cloverALC-90_v2.command ; exit;

Teds-Mac-Pro:~ te$ /Volumes/Clover\ Audio\ \(UP\)/cloverALC-90_v2.command ; exit;

 

Agreement

The audio_cloverALC-90_v2 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-90_v2 script is

provided as is and without any kind of warranty.

 

File: audio_cloverALC-90_v2.0.command_v2.0.3

Verify EFI partition mounted, Finder/Devices/EFI

Password:

/Volumes/Clover Audio (UP)/cloverALC-90_v2.command: line 170: [: ==: unary operator expected

Error: no IOReg/HDEF; BIOS/audio/disabled or ACPI problem

No system files were changed

To save a Copy to this Terminal session: Terminal/Shell/Export Text As ...

logout

 

[Process completed]

 

Link to comment
Share on other sites

Thank you for great work, toleda.

It seems everything is installed fine and shows in system profile and sound in system preference but no audio is coming out from green. only black is playing audio which is for rear speaker. (i got 6 ports) do i have to change anything in my dsdt? I removed pin layout as instructed in my dsdt.

Link to comment
Share on other sites

Not my work.  See post #1.  

Thanks for taking the time. I read post #1 but I don't know what I'm missing. I followed these steps; 1. Tick FixHDA patch on Clover settings.     2. Add injection ID (1, 2, 3) on Clover settings.   3. Double click 90_patch_v2.command.    4. Entered password at prompt. 

 

Any help will be greatly appreciated.  Thanks

 

Link to comment
Share on other sites

no audio is coming out from green. only black is playing audio which is for rear speaker.

Is there a choice for Internal Speakers?

I followed these steps

Not correct.  Undo what ever you have done. Trash the pirate dmg.  See Post #1; use the correct links and procedure.

Link to comment
Share on other sites

hi, i have no audio after sleep (can play music if i play song about a first 30 sec after wake up),

 

i read guide dolnor/EAPD-Codec-Comander and cant understand what i need to do,

 

can somone tell me from which info.plist get lines to edit CodecCommander-Info.plist? applehda? IOaudiofamily? or else?

 

lines i mean bundle identifier, bundle name, bundle version... etc. because they are different accordingly which info.plist i read from - AppleHda.kext info.plist or IOAudioFamily.kext info.plist.

look here:             #333            

Link to comment
Share on other sites

Is there a choice for Internal Speakers?

Yes, it shows as the picture attached. none of them plays sound out of green.

Upper line out plays out of black.

lower line out plays out of orange.

post-564408-0-36794400-1416179654_thumb.png

Link to comment
Share on other sites

For some reason the script returns a lot of errors, what could be wrong?!?

Mac:~ ron$ /Users/ron\ 1/Downloads/audio_cloverALC-100-v1.0.1.command ; exit;
 
Agreement
The audio_cloverALC-100 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-100 script is
provided as is and without any kind of warranty.
 
File: audio_cloverALC-100.command_v1.0.1
Verify EFI partition mounted, Finder/Devices/EFI
Password:
Confirm Realtek ALC1150 (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): y

Download ALC1150 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21366  100 21366    0     0  77129      0 --:--:-- --:--:-- --:--:-- 77413
Edit config.plist/Devices/Audio/Inject
Found non-key inside <dict> at line 170
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Edit config.plist/KernelAndKextPatches/KextsToPatch
Download kext patches and merge to config.plist ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1335  100  1335    0     0   7073      0 --:--:-- --:--:-- --:--:--  7101
Edit config.plist/SystemParameters/InjectKexts/YES
Found non-key inside <dict> at line 170
Found non-key inside <dict> at line 170
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Edit config.plist/Boot/Arguments/kext-dev-mode=1
Found non-key inside <dict> at line 170
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Found non-key inside <dict> at line 170
Error Reading File: /tmp/config.plist
Install /Volumes/EFI/EFI/CLOVER/kexts/10.10/realtekALC.kext
Download config kext and install ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3451  100  3451    0     0  17895      0 --:--:-- --:--:-- --:--:-- 17880
/Volumes/EFI/EFI/CLOVER/kexts/10.10/realtekALC.kext deleted
Install System/Library/Extensions/AppleHDA.kext/ALC1150 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
JMicronATA.kext has no Info.plist file.
JMicronATA.kext has no Info.plist file.
JMicronATA.kext has no Info.plist file.
JMicronATA.kext has no Info.plist file.
JMicronATA.kext has no Info.plist file.
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AtherosE2200Ethernet.kext
JMicronATA.kext has no Info.plist file.
kext file:///System/Library/Extensions/FakeSMC.kext/Contents/PlugIns/LPCSensors.kext/ is in hash exception list, allowing to load
JMicronATA.kext has no Info.plist file.
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GPUSensors.kext
JMicronATA.kext has no Info.plist file.
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CPUSensors.kext
JMicronATA.kext has no Info.plist file.
kext file:///System/Library/Extensions/FakeSMC.kext/ is in hash exception list, allowing to load
JMicronATA.kext has no Info.plist file.
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
JMicronATA.kext has no Info.plist file.

Install finished, restart required.
To save a Copy to this Terminal session: Terminal/Shell/Export Text As ...
logout

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...