- Joined
- Jul 22, 2018
- Messages
- 3,303
- Motherboard
- Supermicro X11SPA-T
- CPU
- Intel Xeon W-3275 28 Core
- Graphics
- 2xAMD RX 580 8GB
- OS X/macOS
- 11.0.x
- Bootloader
-
- OpenCore
- Mac
-
- Mac mini
- MacBook Pro
- Mobile Phone
-
- Android
- iOS
How to Enable Audio on macOS [Clover/OpenCore]
An EliteMacx86 Exclusive Guide - This guide covers implementation of Audio on macOS using Clover and OpenCore.Overview
Audio is an integral part of computer and needs to be enabled. This guide can be used for Desktops and Laptops. This will enable 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.
Requirements
Supported Vendors | Realtek, Conexant, IDT, Analog Devices, Cirrus Logic |
macOS Version | macOS Sierra and Later |
AppleHDA.kext | Vanilla/Original AppleHDA.kext 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, there are few ways.
- 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.
- Use DPCIManager and look for the codec information under status tab.
- Use Hackintool and look for the codec information under Sound tab
- Use a Linux or Ubuntu and in terminal, type:
Code:
cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt
Code:
cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt
Adding required kexts
The next step is to add the required kexts to enable audio. AppleALC doesn't works standalone. AppleALC and Lilu is needed together to work with conjunction in order to enable the audio.
Download AppleALC and Lilu from the downloads section of this forum.
Mount your ESP.
For Clover:
If you're using Clover, copy both the kexts to EFI/Clover/Kext/Others
For OpenCore:
If you're using OpenCore, copy both the kexts to EFI/OC/Kexts. You'll also need to add the kext entries in Kernel section of your config.plist.
Notes :
- Download the latest version for better support.
- Download only RELEASE.zip file.
- 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
After placing the kexts, the next step is to rename the audio device and set the device id to enable audio.
Open your config.plist file
Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.
For Clover:
Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.
Comment | Find* [HEX] | Replace [HEX] | Disabled |
---|---|---|---|
change HDAS to HDEF | 48444153 | 48444546 | NO |
To set the Layout ID, go to boot section and set layout in "alcid=xx", where xx represents your Layout ID.
For OpenCore:
Navigate to AACPI section and add the following patch in patch section of your config.plist.
TableSignature* | TableLength | Find | Replace | Comment | Enabled |
---|---|---|---|---|---|
DSDT | 0 | 48444153 | 48444546 | Rename HDAS to HDEF (Audio) | YES |
To set the Layout ID, go to NVRAM section and under "7C436110-AB2A-4BBB-A880-FE41995C9F82" as a UUID, under boot-arg, set layout in "alcid=xx", where xx represents your Layout ID.
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
Codec Name | Layout ID | Type |
Realtek ALC1220 | 11 | Desktop and Laptop |
Realtek S1220A | 1, 11 | Desktop |
Realtek ALC1150 | 11 | Desktop |
Realtek ALC892 | 99 | Desktop |
Realtek ALC888 | 3 | Desktop |
Realtek ALC887 | 7 | Desktop |
Realtek ALC668 | 11 | Desktop |
Realtek ALC662 | 11 | Desktop |
Realtek ALC229 | 22 | Laptop |
Realtek ALC230 | 13 | Laptop |
Realtek ALC235 | 3 | Laptop |
Realtek ALC255 | 13 | Laptop |
Realtek ALC282 | 3 | Laptop |
Realtek ALC295 | 3 | Laptop |
Realtek ALC298 | 3 | Laptop |
Realtek ALC3234 | 3 | Laptop |
Conexant CX8050 | 3 | Laptop |
Conexant CX20757 | 3 | Laptop |
Restart your System
After performing all the above steps, restart your system for the applied changes to take effect.
You can see a WiFi icon in the menu bar now. If not, you can enable it from System Preferences>Network>WiFi>Show Wi-Fi status in menu bar.
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.
- Open System Preferences
- Select Sound
- Under Sound Effects tab, select
- Play feedback when volume is changed
- Select Show volume in menu bar
- Click on Output
- Select Internal Speakers
Note :
- When using Headphones, the Output is automatically switched to Headphones.
Details :
- Audio Codec
- macOS version
- Copy of IOReg
- Installed AppleALC.kext and Lilu.kext
- DPCIManager/Status
- System Information/Hardware/Audio/Intel High Definition Audio (not Devices)
- System Preferences/Sound/Output
- System Preferences/Sound/Input
- For Clover, compress EFI/Clover, exclude the themes folder.
- For OpenCore, compress EFI/OC.
- 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
Last edited: