Jump to content

[Solved] HP ProDesk 400 G5 Mini: Monterey fine tuning


Jazzoo

Recommended Posts

Hi everybody! Last few days I have in my hands this little beauty - HP ProDesk 400 G5 Mini equiped with i5 9500T , HD 630 , 8GB DDR4 and 500 GB NVME. I managed to install the latest Monterey 12.4 and it seems to work pretty well. Still I have two unsolved problems.

1. Only one DP is working (hot plug) and the other one doesn't respond after OC starts to loading the OS. Is it possible to make it work both DPs so I can use a dual screen setup ?
2. Front left USB is not working. I tried to remap with Hackintool but it doesn't appear at all. This is a minor problem as I only need 3 USB's but if it's possible to make it work will be cool.

 

I will deeply appreciate a little help from the masters here @Baio77 @Jake Lo @Hervé @Bronxteck 

 

Here's my current EFI and ioreg

EFI.zip HP ProDesk 400 G5.ioreg

Link to comment
Share on other sites

  • Administrators

Intel Coffee Lake i5-9500T is fitted with UHD 630 iGPU, not HD 630.

 

You opted for CFL framebuffer 0x093B0007 which is the recommended one for Coffee Lake desktops.

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md

 

This CFL framebuffer defines 3 x DP ports by default:

ID: 3E9B0007, STOLEN: 57 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x00801302
TOTAL STOLEN: 58 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 172 MB, MAX OVERALL: 173 MB (181940224 bytes)
Model name: Intel UHD Graphics 630
Camellia: CamelliaDisabled (0), Freq: 0 Hz, FreqMax: 0 Hz
Mobile: 0, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[3] busId: 0x06, pipe: 8, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
01050900 00040000 C7030000
02040A00 00040000 C7030000
03060800 00040000 C7030000

 

You inject the following framebuffer patches:

UHD630_connector_patches.jpg

which change:

  • connector type of con0 to HDMI (00080000)
  • busid of con0 to 01
  • index of con2 to 02
  • pipe of con2 to 0A

Alongside, you make injections for same values as natively defined in the framebuffer; these are therefore useless and should be removed:

  • index of con0 set to 01
  • pipe of con0 set to 09
  • busid of con2 to 06
  • type of con2 to DP (00040000)

I would suggest you remove all those connector patches and start again with the vanilla settings. Then try and identify which physical output goes against which connector in IOReg. But I would avoid ending up with 2 x connectors with same index; I fear that's wrong. With your current patches, you have the following connectors (i.e. video output ports) definition:

[1] busId: 0x01, pipe: 9, type: 0x00000800, flags: 0x000003C7 - ConnectorHDMI
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[2] busId: 0x06, pipe: 8, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
01010900 00080000 C7030000
02040A00 00040000 C7030000
02060A00 00040000 C7030000

 

Of course, conduct your experimentations by booting off a USB key so that you avoid breaking your existing OC setup in any way.

  • Like 1
Link to comment
Share on other sites

Sure! First I started with EFI from my HP EliteDesk 800 G5 DM as it is very similar to HP ProDesk 400 G5 DM. Both 9th gen Intel i5 with intel UHD 630 iGPU (Thanks @Hervé for the correction). Of course there are couple of differences like the chipset B360 vs Q370, second nVME option for EliteDesk , integrated LAN etc. I tried different system definitions and ended up with Macmini8,1 (previously used iMac19,1 and 20,1 - caused unresponsive usb's with the current mapping). Originally ProDesk was equiped with Micron 2200 NVME SSD and keep in mind that it will not work in MacOS (in case anybody missed the anti-buyer's guide) so I used one of my Kingston A2000 500GB NVME SSD. Just want to mention that this is one of the best options for laptops, micro and mini systems with bad airflow because it has great operating temperatures. I've used 0.5mm thermal pad so the ssd never reach more than 55'C under load! Heading to EFI changes first I had to change the Ethernet LAN kext for ProDesk - RealtekRTL8111.kext. Since my EliteDesk is 100% working both DP with audio I just decided to copy the whole Device Properties section and voila - worked on my ProDesk like a charm!  I had to disable SIP so I can use TP-Link T3U Wireless usb adapter. OpenCore is updated to version 0.8.0.

These small systems are great for casual everyday tasks. Depends on the CPU and amount of RAM results could be very impressive. Writing from it now under MacOS Monterey 12.4. Didn't tried earlier versions with current EFI.

Cinebench R23 results: Single Core - 963 / Multi Core - 4680. Max temperatures ~83'C , Idel temperatures ~43'C. Thermal paste - Thermal Grizzly Krayonaut.

 

Enjoy! :)

HP ProDesk 400 G5 100% Working Monterey.zip

Link to comment
Share on other sites

  • Administrators

Ok, so I see that you've now switched to CFL mobile framebuffer 0x3E9B0000, faking iGPU is 0x039B and patched your framebuffer connectors from LVDS + 2 x DP:

ID: 3E9B0000, STOLEN: 57 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x0000130B
TOTAL STOLEN: 58 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 172 MB, MAX OVERALL: 173 MB (181940224 bytes)
Model name: Intel HD Graphics CFL CRB
Camellia: CamelliaDisabled (0), Freq: 0 Hz, FreqMax: 0 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - ConnectorLVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000187 - ConnectorDP
00000800 02000000 98000000
01050900 00040000 87010000
02040A00 00040000 87010000

to 3 x HDMI:

[3] busId: 0x04, pipe: 8, type: 0x00000800, flags: 0x000003C7 - ConnectorHDMI
[1] busId: 0x01, pipe: 9, type: 0x00000800, flags: 0x000003C7 - ConnectorHDMI
[2] busId: 0x02, pipe: 10, type: 0x00000800, flags: 0x000003C87 - ConnectorHDMI
03040800 00080000 C7030000
01010900 00040000 87010000
02020A00 00040000 87010000

 

Quite strange but I guess that as long as it works, all is well...

Link to comment
Share on other sites

Just a quick update for those of you who wants to install older MacOS version like Mojave, Catalina and BigSur. Today I tested all three versions and they work great. With my EFI posted above I was not able to see any SATA drives in OC so here's how I fixed it.

 

I put the patched CtlnaAHCIPort.kext in kext folder and config.plist - CtlnaAHCIPort.kext

 

Change the following settings in config.plist as per OC install guide - OC can't see macos partitions

 

ScanPolicy set to 0

EnableJumpstart: YES

HideVerbose: NO

MinDate: -1

MinVersion: -1

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...