[Guide] How to Enable Audio on your Hardware



EliteMacx86

Administrator
Staff member
Audio is an integral part of computer and needs to be enabled. The following is a guide for enabling audio on your hardware. This will enable on-board audio for desktop motherboards. This guide provides files and instructions for enabling native macOS AppleHDA Audio.

This will enable on-board audio for desktop motherboards. This guide provides files and instructions for enabling native macOS AppleHDA Audio. This guide uses the AppleALC by vit9696 which is one of the easiest method to enable native audio without modifying original AppleHDA. There are several other methods but this seems more reliable. If you follow any other method and unfortunately the audio doesn't works, it can be difficult to roll-back in order to follow the another method. This method is easy to roll-back and works after update. Before using this guide, we recommend you to perform a clean installation of macOS.

The method is supported on the following.

Chipsets :
  • Arrandale
  • Sandy Bridge
  • Ivy Bridge
  • Haswell
  • Broadwell
  • Skylake
  • Kaby Lake
  • Coffee Lake
macOS/OS X versions:
  • Supports all macOS/OS X versions: 10.14.x, 10.13.x, 10.12.x, 10.11.x, 10.10.x, 10.9.x and 10.8.x
Supported Vendors:
  • Realtek
  • Conexant
  • IDT
  • Analog Devices
  • Cirrus Logic
Requirements
  • Any of the above chipset
  • Any of the above macOS/OS X version
  • Any Audio Codec from the supported vendors
  • Original AppleHDA in S/L/E
Get Codec Information
The very first step is to get the codec information. Getting codec information is necessary as without knowing the audio codec, it will create chaos while following the guide as each codec is unique and needs different edits. To get the codec information, follow the steps below.
  1. The easiest method to obtain the codec information is to visit your motherboard manufacturer site and look for the Audio information under the specification section.
  2. Use DPCIManager and look for the codec information under status tab.
  3. Use a Linux or Ubuntu and in terminal, type :
Code:
cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt
or
Code:
cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt
Download AppleALC and Lilu
The next step is to download the required kexts to enable audio. AppleALC doesn't works alone. AppleALC and Lilu is needed together to work with conjunction in order to enable the audio.

Downloads
  1. AppleALC
  2. Lilu
Notes :
  • Download the latest version for better support.
  • Download only RELEASE.zip file.
Mounting the EFI Partition and placing kexts
  1. Mount your EFI partition of your system drive
  2. Copy AppleALC.kext and Lilu.kext from RELEASE folder downloaded above.
  3. Navigate to EFI/Clover/kexts/Other and place the both the kexts to this location.
Notes :
  • If the kext is already present in the directory, replace them with a new version
  • Do not use AppleALC.kext.dSYM and Lilu.kext.dSYM
Rename Audio Device and set Layout ID
  1. After placing the kexts, the next step is to rename the audio device and set the device id to enable audio.
  2. Open your config.plist file
  3. Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.
Code:
Comment: Rename HDAS to HDEF
Find* [HEX]: 48444153
Replace [HEX]: 48444546
4. Navigate to Devices tab in the left pane, and type the layout ID under Inject.​

The audio ID depends on the audio codec your motherboard uses. The common layout ID for the common audio codecs has been listed below. The tested layout IDs are marked bold and we recommend to use them to avoid any issues.
For a complete list of supported codecs and the Audio ID, see AppleALC Supported Codecs

Common Audio Codecs and Layout IDs

Common Layout IDs.png

5. Check ResetHDA checkbox under Audio section in Devices pane​
6. Save your config.plist
7. Restart your system​

Setting Audio Output/Input
After restarting your system, you'll need to setup audio output and input through your rear audio jack located at back panel and headphones jack located at the front panel. You will need to set your output device to Internal Speakers for sound to work.
  1. Open System Preferences
  2. Select Sound
  3. Under Sound Effects tab, select
  • Play feedback when volume is changed
  • Select Show volume in menu bar
Configure Sound Effects.png

  1. Click on Output
  2. Select Internal Speakers
Configure Audio Output.png

Note :
  • When using Headphones, the Output is automatically switched to Headphones.
Problem Reporting

Details :
  1. Audio Codec
  2. macOS version
  3. Copy of IOReg
  4. Installed AppleALC.kext and Lilu.kext
Screen shots :
  • DPCIManager/Status
  • System Information/Hardware/Audio/Intel High Definition Audio (not Devices)
  • System Preferences/Sound/Output
  • System Preferences/Sound/Input
Clover Files :
  • Compress EFI/Clover, exclude the themes folder Do not include complete EFI folder.
Put all files in a folder with your name, compress files as Zip and attach files using site attachments only. Do not use any external links.

Credits :
vit9696
toleda
RehabMan
 

Similar threads



Top