Contribute
Register

No Sound - Realtek ALC AppleHDA [Guide]

Status
Not open for further replies.
I believe i made the changes correctly, but i'm not so sure about moving and deleting the entries on steps 5 through 7. Can you check please? I've attached the original and edited zml files, and some screenshots.

Also, am i being daft or something? I can't seem to find my Layout ID anywhere on HDAHardwareConfigDriver/info.plist. I'm trying to delete the black port.

Thank you!
 

Attachments

  • Inflated zml.zip
    14.4 KB · Views: 82
  • Layout1.png
    Layout1.png
    134.2 KB · Views: 118
  • Platforms edited.png
    Platforms edited.png
    206.1 KB · Views: 138
  • Platforms original.png
    Platforms original.png
    208.4 KB · Views: 115
  • Info.plist
    26.5 KB · Views: 248
Last edited:
Can you check please?
No changes to layout1, PathMapID is 887
Why do you want to delete the black port?
Platforms:no idea why input devices (Item 0 and 1) were changed, do not touch.
Platforms: SPDIF is Item 5, not shown in screenshots, nodes that require edits.
All edits are not correct, start over.
 
Windows supports AC97, OSX/MacOS does not. The difference is pin detect, a hardware problem.
Is it possible to make a hardware fix? Using jumpers to make the correct pin be detected or something along those lines?

Either way, i was re-checking my zml files to do a step by step of my edits, and found that some values don't match.
Customization.pdf: 3. Manual Internal Speaker and Headphone Selection

From system information, Audio ID 1.
Open Terminal, Inflate layout1.zml.zlib
Open on PlistEditPro, Root>PathMapRef>Outputs:
0 - Headphone
1 - IntSpeaker
2 - LineOut
3 - SPDIF Out
PathMapID - 887

Noted that PathMapID is 887.

Open Terminal, Inflate Platforms.zml.zlib
Open on PlistEditPro, Root>PathMaps>1>PathMap:
0 - Array
1 - Array
2 - Array
3 - Array
4 - Array
5 - Array
PathMapID - 887

From Customization.pdf: 8. Edit this path map as follows:
⁃ Current
⁃ Item 0/NodeID/Number/27
⁃ Item 1/NodeID/Number/12
⁃ Item 2/NodeID/Number/2
⁃ New:
⁃ Item 0/NodeID/Number/27
⁃ Item 1/NodeID/Number/38
⁃ Item 2/NodeID/Number/37

Mine doesn’t match. Root>PathMaps>1>PathMap>1 has the following:
0>NodeID - 8
1>NodeID - 35
2>NodeID - 26

However, Root>PathMaps>2>PathMap>1 has 27, 12 and 2. But PathMapID is 287, not 887.

This leads me to believe that i might have made an installation error.
I used cloverALC and audio_cloverHDMI-120, my MB is an Asus Z170M-Plus. It has only pink, green and blue ports on the back. Asus says to use a chassis with HD audio module in the front panel to support an 8-channel audio output. I don't plan to install a HD audio module in the front panel, since I'm using a PowerMac G5 case (hence why i wanted to delete the black port to add Manual Internal Speaker and Headphone Selection). GPU is Zotac Nvidia 650GTX and processor is i7-7700K.

Should i re-install macOS using Clover config-audio_cloverALC-100series.plist.zip or ssdt injection with Audio ID: 1, ssdt_hdef-1-100-hdas.zip and run audio_cloverHDMI-120 afterwards, instead of using Multibeast or audio_cloverALC-120.command?

Thanks again for your patience with me and my silly questions, it's been about 8 or 9 years since i made my last hackintosh and i'm quite overwhelmed by all of this.
 
From Customization.pdf: 8.
Not correct, use Procedure 3. Manual Internal Speaker and Headphone Selection first.
Items 0 and 1 do not change.
Item 2 is split to become Item 2 (Internal Speakers: 9/34/24) and new Item 3 (Headphones: 9/34/25)
Procedure 8/New Item 3 changes Item 4 (Black: 21/13/3) to Item 5 (Black) which is removed.
Platforms/887: 6 Items before edits, 6 Items after edits
 
Last edited:
hi, I have had onboard audio work, after follow the guide install some hdmi audio support , none is work.
I checked each point you mentioned, all is right, but no sound!
please help me ..

1. there is a inner speaker, but no hdmi output in System Preferences/Sound
2.
  • os,10.12
  • mother board, asus z170i-pro-gaming
  • bios, 3016
  • cpu, i7-7700k
  • graphic, use hd630; installed nvidia gtx 1060 , not use
  • guide,
    (https://github.com/toleda/audio_hdm...[Guide]_HD5x0-hdmi_audio_(clover_or_ssdt).pdf)
    on (https://github.com/toleda/audio_hdmi_100series)
    Code:
    Ocean-de-macmini-2:post-install ocean$ ./audio_cloverALC-120_v1.0d.command
    Agreement
    The audio_cloverALC 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 script is
    provided as is and without any kind of warranty.
    File: audio_cloverALC-120.command_v1.0d
    Release Mode
    EFI partition is mounted
    System Integrity Protection status: enabled (Custom Configuration).
    
    Configuration:
        Apple Internal: disabled
        Kext Signing: disabled
        Filesystem Protections: disabled
        Debugging Restrictions: enabled
        DTrace Restrictions: enabled
        NVRAM Protections: enabled
        BaseSystem Verification: enabled
    
    This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.
    
    OK to patch
    Confirm Realtek ALC1150 (y/n): y
    Clover Audio ID Injection (y/n): y
    Use Audio ID: 3 (y/n): y
    
    Download ALC1150 files ...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 23555  100 23555    0     0  35286      0 --:--:-- --:--:-- --:--:-- 35261
    Edit config.plist/Devices/Audio/Inject/3
    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  1418  100  1418    0     0   2571      0 --:--:-- --:--:-- --:--:--  2573
    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   7029      0 --:--:-- --:--:-- --:--:--  7034
    Install /Volumes/EFI/EFI/CLOVER/kexts/10.12/realtekALC.kext
    Install System/Library/Extensions/AppleHDA.kext/ALC1150 zml files
    Fix permissions ...
    Kernel cache...
    rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
    kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
    kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelMausiEthernet.kext
    kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext HackrNVMeFamily-10_12_3.kext
    kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
    kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
    kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
    kext file:///System/Library/Extensions/JMicronATA.kext/ is in hash exception list, allowing to load
    kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
    KernelCache ID: 7EE0427B3E8CF19399FC5407B5939774
    symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
    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 ...
  • ioreg , see attachment i7-7700k-io12.ioreg.zip
  • kext, see
    AppleHDA.kext.zip
  • not installed
  • how to get [Console/All Messages/kernel Sound Assertions]?
  • DPCIManager/Status
Screen Shot 2017-03-12 at 2.35.11 AM.png
system info
Screen Shot 2017-03-12 at 2.36.01 AM.png
device
Screen Shot 2017-03-12 at 2.20.05 AM.png
  • clover config config.plist.zip
  • boot log bootlog.log.txt
  • speaker, 2.0 box, work fine in dual-boot windows 10
  • audio port, mother board , green,
  • select inner speaker
 

Attachments

  • i7-7700k-io12.ioreg.zip
    627.5 KB · Views: 111
  • AppleHDA.kext.zip
    1.7 MB · Views: 126
  • config.plist.zip
    2.9 KB · Views: 128
  • bootlog.log.txt
    34 KB · Views: 217
checked each point you mentioned, all is right, but no sound
Audio ID: 3 is not correct for your motherboard.
Run cloverALC
Answer Use Audio ID: 3 (y/n): n, enter 1 when asked.
Reply with new files.
 
Platforms/887: 6 Items before edits, 6 Items after edits
Ok, done.

Customization.pdf said:
Note: An existing audio output device must be deleted to add Headphones as an audio output device. See Procedure 9.
9. 2x HD3000/HD4000 HDMI Audio/Delete Audio Output Device: Deletes an existing audio output device to allow an additional HDMI audio output to be present (AppleHDA supports a total of 4 audio output devices).
A. Edit Platforms.xml/zml
Item 5 (Black: 21/13/3) deleted.
B. Edit HDAHardwareConfigDriver/info.plist or realtekALC/Info.plist
AppleHDA.kext>Contents>PlugIns>AppleHDAHardwareConfigDriver.kext>Contents>Info.plist
Open on PlistEditPro, can't find CodecID, or correct LayoutID. Went into Menu Edit>Find>Find, search for 21571c20 21571d10 21571e01 21571f01, no match found.
 

Attachments

  • Archive.zip
    18 KB · Views: 84
  • info-plist.png
    info-plist.png
    252.4 KB · Views: 121
  • Platforms.png
    Platforms.png
    207.5 KB · Views: 142
Audio ID: 3 is not correct for your motherboard.
Run cloverALC
Answer Use Audio ID: 3 (y/n): n, enter 1 when asked.
Reply with new files.

I known to driven an audio device connected to on-board green jack need Audio ID 1, but I want to driver a tv audio device through HDMI cable sometimes.

I am very confuse with those guide.
In this https://github.com/toleda/audio_hdmi_100series/blob/master/[Guide]_HD5x0-hdmi_audio_(clover_or_ssdt).pdf, Requirements 6, audio id, 3 only.
In this https://www.tonymacx86.com/threads/audio-hdmi-audio-applehda-guide.143760/#post886766,
Part C: Bootloader OS X HDMI Audio,
HD5x0 (Credit: RehabMan)
  1. Configuration (verify)
    1. Audio ID (select one)
      • Desktop/Audio ID:3 with patched AppleHDA.kext

Shall I restore native AppleHDA.kext and delete realtekALC.kext before re-run cloverALC?
 
Last edited:
My mistake, corrected; Audio ID: 1 with native AppleHDA.kext.
See HDMI Audio AppleHDA/cloverHDMI

Alright, after restore native AppleHDA.kext , change Audio ID to 1 and re-run cloverALC script, I got onboard audio works again, but hdmi output still missing.

By the way, those project/guide are great but like a big puzzle!
similar name: audio_pikeralphaALC, audio_realtekALC, audio_cloverALC, audio_ALCinjection...
similar pdf manual, and reference each other.
 
Status
Not open for further replies.
Back
Top