Jump to content

toleda

toleda

Member Since 17 May 2010
Offline Last Active Yesterday, 03:02 PM
*****

Topics I've Started

Yosemite AppleHDA HDMI Audio

27 September 2014 - 08:25 PM

Yosemite AppleHDA HDMI Audio

Most audio codecs/most graphics systems

 

Yosemite HDMI audio support with Intel HD3000/HD4000/HD4600, AMD HD5xxx/HD6xxx/HD7xxx/R7/R9, Nvidia 4xx/5xx/6xx/7xx, Intel/AMD and Intel/Nvidia graphics configurations. This guide provides files and instructions for enabling native OS X AppleHDA HDMI audio. Yosemite dsdt/ssdt HDMI audio support Mavericks, Mountain Lion, Lion and Snow Leopard installations.

 

Change Log

v1.0 9/26/2014 - Yosemite Release

Iris Pro/HD5000/HD4600/Desktop HDMI audio: dp8 or newer, beta3 or newer

Iris Pro/HD5000/Mobile HDMI audio: dp8 or newer, beta3 or newer

HD4600/Mobile - no native 10.10 support

see Experimental bin-patch for HD4600 (mobile GT2) | Pike's Universum

Pike's Solution/Clover, see Post #38, credit: azlvda

 

Yosemite HDMI Audio Guides 

  1. Select the matching processor graphics/motherboard series
  2. AMD/Nvidia HDMI audio is installed with every Desktop configuration

dsdt/ssdt HDMI audio

  1. HD4600/9 Series/8 Series
    1. [Guide]_HD4600-hdmi_audio_(dsdt_or_ssdt)_v2.pdf.zip
    2. Limited 9 Series Support
  2. HD4000/7 Series/6 Series
    1. [Guide]_HD4000-hdmi_audio_(dsdt_or_ssdt)_v2.pdf.zip
  3. HD3000/7 Series/6 Series
    1. [Guide]_HD3000-hdmi_audio_(dsdt_or_ssdt)_v2.pdf.zip
  4. 5 Series/X58/X79
    1. [Guide]_5series-hdmi_audio_(dsdt)_v2.pdf.zip
  5. Discrete Graphics (in addition to appropriate motherboard guide above)
    1. [Guide]_AMD-hdmi_audio_v2.pdf.zip
    2. [Guide]_Nvidia-hdmi_audio_v2.pdf.zip

Bootloader HDMI audio

  1. All: Clover
    1. with dsdt/ssdt from above
    2. audio_CloverHDMI
  2. HD4000/HD3000
    1. Chameleon/Chameleon Installer/Custom/Settings/HDEF/LayoutID=3
  3. AMD/Nvidia (1st 2 ports only)
    1. Chameleon/Chameleon Installer/Custom/Settings/EnableHDMIAudio=Yes

HD2000/HD2500/HD4400 not supported

Downloads: Click link, Click View Raw

 

Before You Start

  1. OS X does not provide HDMI audio controls (No volume, no mute, no balance, etc.)
  2. The connected HDMI device (TV, receiver, etc.) provides any and all audio control
  3. Remove S/L/E/HDAEnabler1.kext or S/L/E/HDAEnabler2.kext (if present)
  4. Remove any property-type injection (Extra/org.chameleon.Boot.plist, Clover/config.plist)

Tools

  1. MaciASL http://maciasl.sourceforge.net/
  2. DCPIManager http://sourceforge.n...ts/dpcimanager/
  3. IORegistryExplorer (select one)
    1. IORegistryExplorer_v2.1.zip (View Raw)
    2. IOJones Download

Requirements

  1. S/L/E/AppleHDA.kext
    1. Native S/L/E/AppleHDA.kext/No onboard audio
      1. Clean OS X install/AppleHDA.kext
        1. OS X Combo Update/AppleHDA.kext extraction does not work
    2. Realtek ALC AppleHDA.kext (885, 887, 888, 889, 892, 898, 1150)
    3. Any patched Mountain Lion AppleHDA_v2.5.2 and newer
    4. HD4600 HDMI audio
      1. Chameleon: audio_hdmi_hd4600-hda-100_patch.command.zip
      2. Clover: config-hdmi_hd4600-100.plist.zip
  2. Graphics
    1. Intel HD Graphics (1st generation and prior, not supported)
      1. HD3000 (SNB framebuffer edits may be required)
      2. HD4000 (Capri framebuffer edits may be required)
      3. HD4600 (Azul framebuffer edits required)
      4. Intel SNB/Capri/Azul edits
        1. Chameleon: graphics_Intel_framebuffers
        2. Clover (select framebuffer-100.plist): audio_CloverHDMI
    2. AMD HD5xxx/HD6xxx/HD7xxx
      1. AppleHDAController and AMD50000Controller/MD60000Controller/MD60000Controller edits may be required, see Editing custom personalities for ATI Radeon HD[45]xxx
    3. Nvidia 4xx/5xx/6xx/7xx
      1. GTS450, GTX550ti, GTX 560ti not supported natively
  3. Intel Motherboards
    1. 9 Series - Z97, H97, B75 ...
    2. 8 Series - Z87, H87, B85 ...
    3. 7 Series - Z77, H77, B75 ...
    4. 6 Series - Z68, P67, H67, H61 ...
    5. 5 Series - P55, H55 ...

Problem Reporting (post to this thread with requested information attached)

  1. Description of HDMI audio problem
    1. OS X version/motherboard model/BIOS version/processor/graphics
    2. Procedure/Guide Used
    3. Copy of IOReg or IOJones (see Tools/3. above)
    4. Chameleon
      1. Extra/org.chameleon.Boot.plist
      2. DPCIManager/Misc/Boot Log
      3. Extra/dsdt.aml (if installed) 
      4. Extra/ssdt.aml (if installed)
    5. Clover
      1. EFI/Clover/config.plist
      2. EFI/Clover/misc/debug.log (Set config.plist/Boot/Debug/YES)
      3. EFI/Clover/ACPI/Patched/dsdt.aml (if installed) 
      4. EFI/Clover/ACPI/Patched/ssdt.aml (if installed)

Credit:

TimeWalker75a Post #118, Intel HD Graphics 4600 (Haswell) working displayport

PikeRAlpha Haswell HDAU solution | Pike's Universum

bcc9 Post #11, http://www.insanelym....ort/?p=1934889

VCH888, Post 760 ALC889A, Gigabyte (Intel): now having a working front mic - Page 38 - Sound - InsanelyMac Forum

Who wrote getcodec.sh?

27 July 2014 - 03:05 AM

Found getcodec.sh in my Downloads folder.  Great script that I would like to use with credit to the developer. 

Yosemite: Audio - Realtek ALC AppleHDA

14 June 2014 - 02:24 AM

Yosemite: Audio - Realtek ALC AppleHDA

For Realtek ALC885 through ALC1150 on board audio codecs

 

Enables Realtek ALC on board audio for Intel motherboards running Yosemite. Requires installed native AppleHDA.kext. Codec specific script edits binaries and installs specific files. Depending on user requirements, 3 Realtek ALC AppleHDA installation techniques are available.

 

Change Log

  1. v3.2 - 11/29/2014: BRIX/ALC269, BRIX Pro/ALC283 and NUC/ALC283 Support, see Note 6.

  2. v3.1 - 11/15/2014: x99 audio, see Post #237, Haswell-E mach_kernel patch (5960X, 5830K and 5820K)

  3. v3.0 - 10/15/2014 - Yosemite  Release

  4. v2.1- 8/12/2014 - 9 Series/EAPD added to 887, 892, 898, 1150, credit: kidalive

  5. v2.0 - 8/12/2014 - v2 AppleHDA.kext patch scripts available; easier, simpler and faster.

  6. v1.1 - 6/130/14 - Yosemite/Realtek ALC AppleHDA Support Kext Available - credit PikeRAlpha
  7. v1.0 - 6/14/14 - Yosemite (DP - initial support)

Yosemite/New Feature

  1. 9 Series AppleHDA.kext support

New User/First Time/Yosemite Audio

  1. Determine motherboard audio codec (Realtek ALCxxx)
    1. Source: User manual, specifications, website
    2. Supported: ALC885, 887, 888, 889, 892, 898 or 1150
    3. Audio Codec is: ALCxxx
  2. Recommended Audio Selections
    1. Chameleon/Clover Injection
    2. Audio ID: 1
    3. ALCxxx

Requirements

  1. OS X versions supported:
    1. Yosemite/10.10, see Notes 1 and 2, below
  2. Realtek ALC, one of the following Device_ID - Codec Name
    1. Supported motherboard on board audio codecs
      1. 10ec0885 - ALC885/ALC889a
      2. 10ec0887 (v100202 and v100302) - ALC887/ALC888b
      3. 10ec0888 (v100202 and v100302) - ALC888/ALC888s
      4. 10ec0889 - ALC889
      5. 10ec0892 - ALC892
      6. 10ec0899 - ALC898
      7. 10ec0900 - ALC1150
    2. Verification, see Notes 3, below
  3. Supported Audio-IDs (Audio_ID = layout-id), select one
    1. Audio IDs
      1. Audio_ID: 1 - 5/6 port Realtek ALC onboard audio and HD5K/AMD/Nvidia HDMI audio
      2. Audio_ID: 2 - 3 port Realtek ALC onboard audio and HD5K/AMD/Nvidia HDMI audio
      3. Audio_ID: 3 - 3/5/6 port Realtek ALC onboard audio and HD3K/HD4K/AMD/Nvidia HDMI audio
    2. Details
      1. Audio_IDs: 1 and 2 support analog 5.1 surround sound, 3 does not
      2. Audio_IDs: 1, 2 and 3 require HDMI audio dsdt edits/ssdts for HDMI audio
  4. Audio_ID Injection, select one
    1. Supported Realtek ALC Injection methods, see toleda/audio_ALCInjection
      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 Installer/Customize/Setting/HDEF Layout/
    2. Verification, see Notes 4, below

Realtek ALC AppleHDA Audio Patch Methods v2 - select one

  1. realtekALC/patch in place- new script detects the codec and patches the native AppleHDA.kext for ALC onboard audio. Run the same script to restore audio after Software Update

  2. Piker-Alpha AppleHDA8series - installs an audio support kext for ALC onboard audio. AppleHDA.kext remains native and the technique survives most Software Updates. Credit: Piker-Alpha

  3. cloverALC/Clover patched - automatically detects codec and installs all audio files and patches for ALC onboard audio. Audio survives most Software Updates.  Install once and done. Credit: abxite

1. realtekALC/patch in place

 

New script detects the codec and patches the native AppleHDA.kext for ALC onboard audio. Run the same script to restore audio after Software Update.

  1. realtekALC/patch in place
    1. Bootloaders: Chimera, Chameleon, Clover
    2. Software Update: run same script after update restart
    3. More Info: toleda/audio_RealtekALC
    4. Installation - realtekALC
      1. Download: (View Raw) audio_realtekALC-100.command.zip
      2. Double click: Downloads/audio_realtekALC-100.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. Enable HD4600 HDMI audio - y/n? (887, 892, 898, 1150 only)
      7. Restart
      8. Verify Patched AppleHDA kext installed
        1. S/L/E/AppleHDA.kext_vx.x-toledaALCxxx
      9. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device

2. Piker-Alpha AppleHDA8series

 

installs an audio support kext for ALC onboard audio. AppleHDA.kext remains native and the technique survives most Software Updates. Credit: Piker-Alpha

  1. Piker-Alpha AppleHDA8series
    1. Bootloaders: Chimera, Chameleon, Clover
    2. Software Update: persistent, no action required
    3. More Info: toleda/audio_pikeralphaALC
    4. Installation - AppleHDA8Series
      1. Piker-Alpha/AppleHDA8Series.sh
      2. Download Zip
      3. $ cd Downloads/AppleHDA8Series.sh-master
      4. Chameleon/Chimera/Clover - no AppleHDA binary patch
        1. $ ./AppleHDA8Series.sh -b AppleHDA
        2. $ ./AppleHDA8Series.sh -b AppleHDA -b AppleHDAController
      5. Clover - with AppleHDA kext patch(es)
        1. $ ./AppleHDA8Series.sh
      6. Password
      7. Codec
      8. Layout
      9. Install S/L/E
      10. Reboot
      11. Verify ALC AppleHDA8Series kext installed
        1. S/L/E/AppleHDAxxx
      12. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device

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. 1150 Only: see note 5. before restarting
      7. Restart
      8. 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=0x3000
    2. Chameleon/Extra/org.chameleon.Boot.plist
      1. Mandatory:, Add: Kernel Flags//kext-dev-mode=1
      2. Remove Kernel Flags/npci=0x3000
  2. AppleHDA.kext version matters
    1. AppleHDA.kext can be the same as or earlier than the installed OS X version
    2. AppleHDA.kext does not work if newer than the installed OS X version
  3. Audio Codec Verification/DPCIManager see Tools 2.
    1. See Status/Codec ID/Revision, note Codec ID
    2. Verify Requirements/2. Realtek ALC/1. Supported audio codecs, above
  4. Audio_ID verification/IORegistryExplorer see Tools 3.
    1. Search: HDEF
    2. Locate: layout-id (right pane, scroll down)
    3. Verify:
      1. <01 00 00 00> or
      2. <02 00 00 00> or
      3. <03 00 00 00>
  5. ALC1150 only: edit config.plist/KernelAndKextPatches/KextsToPatch/"10.9 or 10.10/AppleHDA/Realtek ALC1150"

    1. Clover Configurator/Property List Editor/Replace/

      1. Before: <09ec10>
      2. After: <0009ec10>
    2. TextEdit/Replace
      1. Before: CewQ
      2. After: AAnsEA==
  6. BRIX/ALC269, BRIX Pro/ALC283 and NUC/ALC283 Support
    1. Installation methods
      1. realtekALC/patch in place
      2. Piker-Alpha AppleHDA8series (N/A)
      3. cloverALC/Clover patched
    2. Audio Devices
      1. ALC269 - BRIX/Headphones and SPDIF out
      2. ALC283 - BRIX Pro and NUC/Headphones (Microphone is not supported)
      3. HDMI audio with dsdt edits or ssdt: see HDMI Audio AppleHDA

Unsupported/Non-working Realtek ALC AppleHDA.kext

  1. 887_v100201 and earlier
  2. 888_v100201 and earlier
  3. Asus P67H67 3xxx BIOS: Phantom codec
    1. Workaround: 2xxx BIOS downgrade, 7/8 Series upgrade
  4. MSI motherboards, pre Sandy Bridge
    1. Workaround: 6/7/8 Series upgrade
  5. AC97 (Front Panel)
    1. Workaround: HD Audio

Realtek ALC Speakers

  1. Audio ID: 1 and 3, match speaker connector color to same motherboard/case port color
  2. Audio ID: 2 (3 port motherboard audio)
    1. Plug black connector into blue motherboard port for rear speakers
    2. Plug green connector into green motherboard port for front speakers
    3. Plug orange connector into pink motherboard port for center/sub speakers
    4. Front panel: Match connector color to same case port color

Optional Installs

  1. Configure 5.1 Surround Sound Aggregate Device (Not available with Audio ID: 3)
    1. Applications/Utilities/Audio MIDI Setup/Audio Devices/+/Create Aggregate Device
    2. Select (in order)
      1. Built-in Output
      2. Built-in Line Output (1st)
      3. Built-in Line Output (2nd)
    3. Configure Speakers
      1. Multichannel
      2. 5.1 Surround
    4. Apply/Done
  2. Connect Audio Input to Audio Output
    1. Line In - http://www.rogueamoeba.com/freebies/

More Information - toleda/audio_ALCInjection

  1. Realtek ALC AppleHDA Capabilities.pdf
    • ex., Audio_ID Configurations, Surround sound, audio popping, USB start up problem
  2. Realtek ALC AppleHDA Customization.pdf
    • ex., Manual speaker and headphone selection, Substitute SPDIF-2 Wire Output
  3. Realtek ALC AppleHDA Screenshots.pdf
    • ex., System Information/Audio/Intel High Definition Audio, System Preferences/Sound/Output
  4. Realtek ALC AppleHDA No Audio.pdf
    • ex., No audio devices, no sound, no codec

Tools

  1. MaciASL
  2. DPCIManager
  3. IORegistry Explorer (choose one)
    1. IORegistryExplorer_v2.1.zip
    2. IOJones
  4. Kext Install utilities, i.e., Kext Wizard, Kext Utility, DPCIManager, etc.

Troubleshooting - toleda/audio_ALCInjection

  1. See Realtek ALC AppleHDA - No Audio.pdf
  2. See Realtek ALC AppleHDA Capabilities.pdf

Problem Reporting (Post to this thread with requested information attached)

  1. Description of audio problem
    1. OS X version/motherboard model/BIOS version/processor/graphics
    2. Procedure/Guide Used
    3. Copy of IOReg - IOReg_v2.1/File/Save a Copy As…, verify file (no ioreg.txt)
    4. Copy Of Console/All Messages  (last boot)/File/Save a Copy As..

    5. Installed S/L/E/AppleHDA.kext or AppleHDA8Series AppleHDAxxx kext
    6. Terminal/Shell/Export Test As. . .  (if script used)
      1. audio_realtekALC-100.command
      2. AppleHDA8Series.sh
      3. audio_cloverALC-100.command
    7. Chameleon
      1. Extra/org.chameleon.Boot.plist
      2. DPCIManager/Misc/Boot Log
      3. Extra/dsdt.aml (if installed) 
      4. Extra/ssdt.aml (if installed)
    8. Clover
      1. EFI/Clover/config.plist
      2. EFI/Clover/misc/debug.log (Set config.plist/Boot/Debug/YES)
      3. EFI/Clover/ACPI/Patched/dsdt.aml (if installed) 
      4. EFI/Clover/ACPI/Patched/ssdt.aml (if installed)

Credit

THe KiNG [HOW TO] Patch AppleHDA - Knowledge Base - Project OS X Forums

PikeRAlpha New style of AppleHDA.kext patching for Yosemite | Pike's Universum

abxite  http://applelife.ru/...06/#post-353647

RevoGirl

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy