Jump to content

Yosemite: Audio - Realtek ALC AppleHDA


toleda
 Share

793 posts in this topic

Recommended Posts

Problem with config.plist.  Attach both EFI/CLOVER/config.plist and config-backup.plist

 
I was able to get rid of the corrupted config.plist file by using 'plural', but I still don't get the ALC1150 working.
Attached is the corrected config.plist (SMBIOS specific info removed) and the script output.
 
Toleda, could you please have another look at it?! TIA

Archief.zip

Link to comment
Share on other sites

 

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

Hi toleda,

 

Thanks for your patience with me. 

 

I took the time and read post #1, and followed what i think is the correct link and procedure but at the end I got the same error message (please see below). 

 

Step 1. I downloaded "audio_CloverALC-master.zip" and then unzipped it. Step 2. unzipped "audio_cloverALC-100.command.zip ". Step 3. double click on "audio_cloverALC-100-v1.0.2.command" and entered my password at the prompt.

 

I tried it with and without Tick FixHDA patch Add injection ID (1) on Clover settings. I Trashed the pirate dmg and also restored the original "AppleHDA".

 

 

Procedure I followed:

 

3. cloverALC/Clover patched

 

Automatically detects codec and installs all audio files and patches for ALC onboard audio. Audio persists after most Software Updates.  Install once and done. Credit: abxite

  1. cloverALC/Clover patched
    1. Bootloaders: Clover
    2. Software Update: persistent, no action required
    3. More Info: toleda/audio_CloverALC
    4. Installation - cloverALC (See Note 3)
      1. Download: (View Raw) audio_cloverALC-100.command.zip
      2. Double click Downloads/clover-90_patch_v2.command
      3. Password?
      4. Verify Codec - y/n? (885, 887, 888, 889, 892, 898, 1150 only)
      5. Legacy_v100202 - y/n? (887, 888 only)
      6. Restart
      7. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device

Notes

  1. 10.10 and newer/Boot flags
    1. Clover/config.plist
      1. Mandatory, Add: Boot/Arguments/kext-dev-mode=1
      2. Remove: Boot/Arguments/npci=0x300

 

Error Message I received:

 

Last login: Mon Nov 17 23:12:26 on console

Teds-Mac-Pro:~ tedbrayan$ /Users/tedbrayan/Desktop/audio_CloverALC-master/audio_cloverALC-100-v1.0.2.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.2

Verify EFI partition mounted, Finder/Devices/EFI

Password:

/Users/tedbrayan/Desktop/audio_CloverALC-master/audio_cloverALC-100-v1.0.2.command: line 176: [: ==: 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]

 
Thanks for your help.
Link to comment
Share on other sites

I was able to get rid of the corrupted config.plist file by using 'plural', but I still don't get the ALC1150 working.

No audio patches in KextsToPatch, is that what you removed?  If yes, run the patch again.  Edit the 1150 patch as noted in Post #1.  Reply with Terminal output, config.plist, debug.log and IOReg.

Link to comment
Share on other sites

@Huckleberry Pie,

 

I also noticed a kp after updating to 10.10.1 on my desktop rig (with Pike's helper AppleHDA888.kext installed in S/L/E).

 

To fix

1.  Boot into Yosemite in safe mode and delete AppleHDA888.kext in S/L/E

2.  Reboot normally into Yosemite and reapply Pike's script

./AppleHDA8Series.sh -b AppleHDA

3.  Reboot and audio works again :).

  • Like 1
Link to comment
Share on other sites

Without FixHDA.  See Post #1, Problem Reporting.  Attach requested files.

 

Hi toleda,

 

I have the files ready but I can't find option for an attachment. I never post an attachment here before. I'll post the files as soon as i figured out how to post an attachment.

 

Thanks for your help.

Link to comment
Share on other sites

@Huckleberry Pie,

 

I also noticed a kp after updating to 10.10.1 on my desktop rig (with Pike's helper AppleHDA888.kext installed in S/L/E).

 

To fix

1.  Boot into Yosemite in safe mode and delete AppleHDA888.kext in S/L/E

2.  Reboot normally into Yosemite and reapply Pike's script

./AppleHDA8Series.sh -b AppleHDA

3.  Reboot and audio works again :).

That's what I did too, but thanks anyway. I really do wish it was a tad more seamless as what Toleda claimed.

Link to comment
Share on other sites

No audio patches in KextsToPatch, is that what you removed?  If yes, run the patch again.  Edit the 1150 patch as noted in Post #1.  Reply with Terminal output, config.plist, debug.log and IOReg.

Nope, there was something wrong in the USB section. After correcting that, I re-ran the script with the output posted above.

Link to comment
Share on other sites

I really do wish it was a tad more seamless as what Toleda claimed.

Post #1: "2. Piker-Alpha AppleHDA8series

installs an audio support kext for ALC onboard audio. AppleHDA.kext remains native and the technique survives most Software Updates."

Fails when the AppleHDA binary API changes, i.e., 10.9.2 and 10.1.1.

Clover patched AppleHDA method has worked after every Software Update to date.

I have the files ready but I can't find option for an attachment.

"More reply options"

After correcting that, I re-ran the script with the output posted above.

Download the latest script.  Run the script and attach new files.

  • Like 1
Link to comment
Share on other sites

Hi, Toleda!

 

I think I need some help here: I'm following your instructions verbatim (or at least think I am) and that should be a cakewalk - no pun intended - since them instructions are pretty straightforward. Unfortunately, i've tried now a few times and no dice. I use the Clover (using legacy mode) method. Can you take a look at my files and point me where and if I'm doing anything wrong? No need to correct them, just point me the errors I'm failing to see, please, because I think I hit a brick wall and can go no further. Thank you very much!

 

All the best!

Link to comment
Share on other sites

Can you take a look at my files and point me where and if I'm doing anything wrong? 

3 issues (so far)

1. dsdt, no HDEF/hda-gfx injection

2. dsdt/HDEF/layout-d/4 and config.plist/Devices/Audio/Inject/3; inject in one place. (if dsdt, answer n to script/Clover ID Injection)

3. config.plist/KernelAndKextPatches/KextsToPatch is damaged. KextsToPatch must be Array not Dictionary (remove 0 entry)

 

Script was updated this week,  download the latest.

See Post #1, Problem Reporting and attach requested files.

not sure where to start as I already have an existing Chameleon install.

Install Clover on a USB stick.  Look at the default config.plist, Deselect/Set to NO every property you are sure you don't need. Install the dsdt/ssdts to EFI. Assuming your profile is accurate, set Graphics/Inject/Nvidia/Yes. Boot current 10.10 partition. 

  • Like 1
Link to comment
Share on other sites

Please find the attached zip file containing requested files under problem reporting of post #1.

As the script says, there is no IOReg/HDEF. Without HDEF, no OS X audio.

Fixes, choose one:

1. config.plist/ACPI/DSDT/Fixes/FixHDA_8000

2. Install attached ssdt in EFI/CLOVER/ACPI/patched/

 

Reply with new IOReg.

SSDT-1.aml.zip

Link to comment
Share on other sites

As the script says, there is no IOReg/HDEF. Without HDEF, no OS X audio.

Fixes, choose one:

1. config.plist/ACPI/DSDT/Fixes/FixHDA_8000

2. Install attached ssdt in EFI/CLOVER/ACPI/patched/

 

Reply with new IOReg.

Hi toleda,

 

I went with Fix 2.  It moved things forward, and I was happy to see something finally happening, but after the script was completed I then rebooted the computer. I went straight to System Preferences to check the audio, but found out that even though the installation went really well I still don't have audio.

 

Please find the attached zip file containing updated requested files under problem reporting of post #1.

 

Thank you so much.

Files.zip

Link to comment
Share on other sites

Install Clover on a USB stick.  Look at the default config.plist, Deselect/Set to NO every property you are sure you don't need. Install the dsdt/ssdts to EFI. Assuming your profile is accurate, set Graphics/Inject/Nvidia/Yes. Boot current 10.10 partition.

Yeah, but I'm running on a legacy BIOS system. Is there anything I need to consider in that case, like options and whatnot?

Link to comment
Share on other sites

don't have audio.

HDEF is working.  One more step.

From the script/Terminal output:

 

NOTE: ALC1150 only, make edit before restarting
config.plist/KernelAndKextPatches/KextsToPatch/ALC1150/Replace edit required
Before: <09ec10>, After: <0009ec10> or 
Before: CewQ, After: AAnsEA==
 
For the first edit, use Clover Configurator, Xcode, Property List Editor, etc.
If those tools are not available, use TextEdit with the second edit only.

Is there anything I need to consider in that case, like options and whatnot?

Search for a Clover Install guide with the same generation hardware as your system. 

  • Like 1
Link to comment
Share on other sites

HDEF is working.  One more step.

From the script/Terminal output:

 

NOTE: ALC1150 only, make edit before restarting
config.plist/KernelAndKextPatches/KextsToPatch/ALC1150/Replace edit required
Before: <09ec10>, After: <0009ec10> or 
Before: CewQ, After: AAnsEA==
 
For the first edit, use Clover Configurator, Xcode, Property List Editor, etc.
If those tools are not available, use TextEdit with the second edit only.

Search for a Clover Install guide with the same generation hardware as your system. 

Hi toleda,

 

Hey!! I have sound. Unlike hollywood superhero, You're a real live superhero (Toleda the cyber superhero). 

 

Do you know why the sound is breaking up?

 

Thank you very  much

Link to comment
Share on other sites

toleda,

Thank you for providing this script for Clover audio. Got it to work for my ALC885/ALC889a sound on my GA-EX58-UD5 board.

 

I had to make a change in your v100 script to get it to complete without errors. It would abort when installing the zml files.

The following is the last few lines of the script's output:

Install System/Library/Extensions/AppleHDA.kext/ALC885 zml files
rm: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml.zlib: No such file or directory
 not supported with this script
No system files were changed
To save a Copy to this Terminal session: Terminal/Shell/Export Text As ...

Looking at the script, it appeared the 885 codec choice would fall through the case switch and exit, so I added (in red) the following, starting at line 825:

I also changed the codec reporting variable.

Not really sure this is all proper, but it worked for me.

sudo install -m 644 -o root -g wheel /tmp/$gCodec/Platforms.xml.zlib  $gHDAContentsDirectory/Resources/Platforms.zml.zlib

sudo install -m 644 -o root -g wheel /tmp/$gCodec/layout1.xml.zlib  $gHDAContentsDirectory/Resources/layout1.zml.zlib 

case $gCodec in

# Added:
885);;

887|888|889|892|898 )
sudo install -m 644 -o root -g wheel /tmp/$gCodec/layout2.xml.zlib  $gHDAContentsDirectory/Resources/layout2.zml.zlib

sudo install -m 644 -o root -g wheel /tmp/$gCodec/layout3.xml.zlib  $gHDAContentsDirectory/Resources/layout3.zml.zlib
;;
1150 )
sudo install -m 644 -o root -g wheel /tmp/$gCodec/layout2.xml.zlib  $gHDAContentsDirectory/Resources/layout2.zml.zlib
;;

* )
echo "$gCodec not supported with this script"
echo "No system files were changed"
echo "To save a Copy to this Terminal session: Terminal/Shell/Export Text As ..."
exit 1
;;

esac

Thanks for all the work you do!

 

kind regards,

MAJ

 

EDIT: Bummer. Don't know how to add red color to text in code tags.  :(

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...