As all of you should know, installing macOS on the HP Elite 8300 is very easy due to how compatible everything is. The one thing that has been a bit of a sore spot has been audio. Although most have been able to get some sort of audio with the use of VoodooHDA, the quality of the audio leaves much to be desired.
Forum member Nitrouze has come to the rescue by way of a DSDT patch that will finally allow us to get quality audio out of the Realtek ALC221!! He originally posted directions
here. The following is nothing more than a noob friendly version of his work.
In addition, I added the SMBUS fix which will enable the PCI slot (not PCI-e) to work in macOS. This slot can be useful for things like Firewire cards.
*Note: Some interesting PCI cards:
- Belkin F5U623 Firewire 800 3 Port PCI card
- Realtek RTL8169 based ethernet cards
- SoundBlaster audio cards
- TP-LINK TL-WN951N (most probably no longer compatible with current versions of macOS)
- ASUS WL-138g V2 (most probably no longer compatible with current versions of macOS)
These instructions are for BIOS 2.99 and 3.04
1. Reboot your computer.
2. At the Clover boot menu, press F4.
3. Download the DSDT_patching_tools.zip below.
4. Install iasl to /usr/bin/. Assuming that you unzipped the DSDT_patching_tools.zip in your download folder, you can use this Terminal command:
Code:
cd ~/Downloads/DSDT_patching_tools
sudo cp iasl /usr/bin
5. Install MaciASL to your Applications folder.
6. Mount the EFI partition of your main system drive.
7. Navigate to /EFI/CLOVER/ACPI/origin/ and copy the DSDT.aml to the DSDT_patching_tools folder.
8. In Terminal, enter the following:
Code:
cd ~/Downloads/DSDT_patching_tools
iasl -da -dl -fe refs.txt DSDT.aml
9. You should see a new file named DSDT.dsl in the DSDT_patching_tools folder. Open it with MaciASL.
10. Press Command+F to find HDEF.
11. Scroll down about 20 lines to find the following section:
Here is another screenshot of the same section with larger text:
12. Replace the entire highlighted section with:
Code:
Method (_DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"device-id", Buffer() { 0x20, 0x1E, 0x00, 0x00 },
"layout-id", Buffer() { 11, 0x00, 0x00, 0x00 },
"codec-id", Buffer() { 0x21, 0x02, 0xEC, 0x10 },
"hda-gfx", Buffer() { "onboard-1" },
"name", Buffer() { "pci8086,1e20" },
"built-in", Buffer() { 0x00 },
"PinConfigurations", Buffer() { 0x40, 0x40, 0x2b, 0x00, 0x30, 0x01, 0x10, 0x90, 0x10, 0x30, 0x8b, 0x00, 0x60, 0x90, 0xab, 0x01, 0xe0, 0x00, 0x56, 0x28 },
//"MaximumBootBeepVolume", 77,
})
}
13. Click on the Patches button on the top of the MaciASL window.
14. Apply the following fixes:
- [sys] IRQ fix
- [sys] SMBUS fix
16. Close the Patches drop down window.
17. Go to the MaciASL menu bar and click on File, then select Save As...
18. Click on the File Format drop down menu and select ACPI Machine Language Binary.
19. Click on the Save button. When asked Cancel or Replace, click Replace.
20. Copy the DSDT.aml file from ~/Downloads/DSDT_patching_tools/ to /EFI/CLOVER/ACPI/patched/.
21. Change audio layout-id to 11 in your config.plist.
22. Install the following in to your /Library/Extensions/ folder using
KextBeast.
These instructions are for BIOS 3.06
1. Reboot your computer.
2. At the Clover boot menu, press F4.
3. Download the DSDT_patching_tools.zip below.
4. Install iasl to /usr/bin/. Assuming that you unzipped the DSDT_patching_tools.zip in your download folder, you can use this Terminal command:
Code:
cd ~/Downloads/DSDT_patching_tools
sudo cp iasl /usr/bin
5. Install MaciASL to your Applications folder.
6. Mount the EFI partition of your main system drive.
7. Navigate to /EFI/CLOVER/ACPI/origin/ and copy the DSDT.aml to the DSDT_patching_tools folder.
8. In Terminal, enter the following:
Code:
cd ~/Downloads/DSDT_patching_tools
iasl -da -dl -fe refs.txt DSDT.aml
9. You should see a new file named DSDT.dsl in the DSDT_patching_tools folder. Open it with MaciASL.
10. Press Command+F to find HDEF.
11. Scroll down 15 lines to get to:
12. Copy the following and insert where I indicated in step 11:
Code:
Method (_DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"device-id", Buffer() { 0x20, 0x1E, 0x00, 0x00 },
"layout-id", Buffer() { 11, 0x00, 0x00, 0x00 },
"codec-id", Buffer() { 0x21, 0x02, 0xEC, 0x10 },
"hda-gfx", Buffer() { "onboard-1" },
"name", Buffer() { "pci8086,1e20" },
"built-in", Buffer() { 0x00 },
"PinConfigurations", Buffer() { 0x40, 0x40, 0x2b, 0x00, 0x30, 0x01, 0x10, 0x90, 0x10, 0x30, 0x8b, 0x00, 0x60, 0x90, 0xab, 0x01, 0xe0, 0x00, 0x56, 0x28 },
//"MaximumBootBeepVolume", 77,
})
}
It should look like the following:
13. Click on the Patches button on the top of the MaciASL window.
14. Apply the following fixes:
- [sys] IRQ fix
- [sys] SMBUS fix
16. Close the Patches drop down window.
17. Click on the Compile button on the top of the MaciASL window.
18. A window will pop up. Scroll to the bottom to find the error. Click on the line with the error.
18. You will be brought to the line with the error in the main MaciASL window. Delete the entire line with the error.
Here's the line with the error:
Line deleted:
19. Go to the MaciASL menu bar and click on File, then select Save As...
20. Click on the File Format drop down menu and select ACPI Machine Language Binary.
21. Click on the Save button. When asked Cancel or Replace, click Replace.
22. Copy the DSDT.aml file from ~/Downloads/DSDT_patching_tools/ to /EFI/CLOVER/ACPI/patched/.
23. Change audio layout-id to 11 in your config.plist.
24. Install the following in to your /Library/Extensions/ folder using
KextBeast.
If you had previously installed VoodooHDA, look for the following files and delete them:
- /Library/Extensions/VoodooHDA.kext
- /Library/PreferencePanes/VoodooHDA.prefPane
- /System/Library/Extensions/AppleHDADisabler.kext
- /System/Library/Extensions/VoodooHDA.kext
- ~/Applications/VoodooHdaSettingsLoader.app
*Note:
Depending on the version of VoodooHDA you installed, you may not have all of these in your system.
trs96 just informed me that the latest versions of AppleALC and Lilu may cause slow booting. It is advised to stay with AppleALC 1.3.2 and Lilu 1.2.7 for now.