Contribute
Register

pastrychef's testing machine - HP Elite 8300 SFF - i7-3770 - GT 630

Joined
Nov 2, 2016
Messages
156
Mobile Phone
iOS
This is semi-realted to the 8300's but i figured @pastrychef and @trs96 would have some opinions.

I helped a friend with buying and setting up the full tower 8300 with a i7, followed the main guide with no issues, however what i didn't know is he was going to buy a GTX 1060 to add the system n dof course he ran into the issue with PSU pins.

His workaround is to have a 2nd PSU (standard ATX) sitting besides the 8300 powering up the 6/8 pin 1060.

This solution is not ideal and he wants to simplify things:
I have told him :
a. sell the 1060 and get the TI 1050
He doesnt like this and he fears that when also adding more HD to the tower the power supply wont be enough.
b. Get the wiring adapter they sell on ebay to convert a standard PSU
He does like the thought of using a weird adaptor.
c. Buy a off the shelf motherboard/Case/PSU and move his i7/memory/GFX card over from the 8300.
This is probably pricey as a X97 chipset would be best and they are rare now.


what you guys think?
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
9,607
Motherboard
Asus ROG Strix Z370-G Gaming (Wi-Fi AC)
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Radeon VII
Mac
MacBook, Mac Pro
Classic Mac
iBook, Power Mac, PowerBook
Mobile Phone
iOS
Anyone has an idea how I can get a second hdd to work on Sata1?
You can only connect one HDD to each SATA port. That being said, there are 4 in the 8300, so just use an unused one.
 
Last edited:

pastrychef

Moderator
Joined
May 29, 2013
Messages
9,607
Motherboard
Asus ROG Strix Z370-G Gaming (Wi-Fi AC)
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Radeon VII
Mac
MacBook, Mac Pro
Classic Mac
iBook, Power Mac, PowerBook
Mobile Phone
iOS
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.
Screen Shot 2018-03-11 at 5.29.24 AM.png
11. Scroll down about 20 lines to find the following section:
Screen Shot 2018-03-11 at 5.30.14 AM.png
Here is another screenshot of the same section with larger text:
Screen Shot 2018-03-11 at 5.21.30 AM.png
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.
Screen Shot 2018-03-11 at 5.35.19 AM.png
14. Apply the following fixes:
  • [sys] IRQ fix
  • [sys] SMBUS fix
Screen Shot 2018-03-11 at 5.38.07 AM.png
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.
Screen Shot 2018-03-11 at 5.54.34 AM.png
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.
Screen Shot 2018-04-06 at 7.58.13 PM.png
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.
Screen Shot 2018-03-11 at 8.19.51 PM.png
11. Scroll down 15 lines to get to:
Screen Shot 2018-03-11 at 7.59.56 PM.png
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:
Screen Shot 2018-03-11 at 8.06.40 PM.png
13. Click on the Patches button on the top of the MaciASL window.
Screen Shot 2018-03-11 at 5.35.19 AM.png
14. Apply the following fixes:
  • [sys] IRQ fix
  • [sys] SMBUS fix
Screen Shot 2018-03-11 at 5.38.07 AM.png
16. Close the Patches drop down window.
17. Click on the Compile button on the top of the MaciASL window.
Screen Shot 2018-03-11 at 8.09.47 PM.png
18. A window will pop up. Scroll to the bottom to find the error. Click on the line with the error.
Screen Shot 2018-03-11 at 8.11.11 PM.png
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:
Screen Shot 2018-03-11 at 8.14.50 PM.png
Line deleted:
Screen Shot 2018-03-11 at 8.16.03 PM.png
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.
Screen Shot 2018-03-11 at 5.54.34 AM.png
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.
Screen Shot 2018-04-06 at 7.58.13 PM.png
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.
 

Attachments

Last edited:

trs96

Moderator
Joined
Jul 31, 2012
Messages
13,659
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
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.
What about those that have previously been using VoodooHDA audio ? Could you add instructions to the guide on how to remove that before attemping the DSDT patching ? Thanks for posting this in clear easy to follow steps, will be immensely helpful to all HP 8300 owners that want better onboard audio quality.
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
9,607
Motherboard
Asus ROG Strix Z370-G Gaming (Wi-Fi AC)
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Radeon VII
Mac
MacBook, Mac Pro
Classic Mac
iBook, Power Mac, PowerBook
Mobile Phone
iOS
What about those that have previously been using VoodooHDA audio ? Could you add instructions to the guide on how to remove that before attemping the DSDT patching ? Thanks for posting this in clear easy to follow steps, will be immensely helpful to all HP 8300 owners that want better onboard audio quality.
Ah yes! Good idea! I'll have to install and check which files are installed and where they are installed. I've totally forgotten where those files were. I'm currently updating Windows on my 8300 (Windows on an HDD) and it's taking forever...
 
Joined
Nov 27, 2016
Messages
123
Motherboard
HP 8300 Q77
CPU
i5-3570
Graphics
GT710
Mac
iMac
Mobile Phone
Android
Thanks for this. I started the process, but was going to wait until HP released the patched BIOS for Spectre/Meltdown, based on this (copied from RehabMan's post that was linked in Nitrouze's post):

"Although you may be tempted to use a DSDT from another computer, it will almost always end in failure. You simply cannot be certain it is valid to use ACPI files from another computer. Even minor differences in hardware configuration (BIOS version, amount of memory installed, BIOS options selected, and other hardware differences such as which WiFi card is installed) can make for differences that cause instability and weird bugs if you use foreign ACPI files."

He goes on to say:

"Keep in mind that even changes you make to your own system (BIOS, hardware, etc.) will require re-extract, re-patch.

If any of the following is changed, you must re-extract, re-patch, as these changes may cause significant changes to the native ACPI (especially SystemMemory regions):
- updating BIOS
- changing any BIOS option
- changing hardware or memory configuration"

Just an FYI for anyone using this method.
 

trs96

Moderator
Joined
Jul 31, 2012
Messages
13,659
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
And, I just checked and HP has a 3.06 BIOS posted with the fixes:
HP spectre
for anyone brave and willing to try it.
Find attached the K01_0306 BIN file. This is the simplest way to flash the BIOS via the HP Utility app.
You can see a video of the process in my HP 8300 guide. You will obviously use the 0306.BIN in place of the 0299 version.

 

Attachments

Last edited:
Top