Contribute
Register

OpenCore: Sleep HP EliteDesk 800 G2 Mini (i5-6500)

Status
Not open for further replies.
Joined
Jun 7, 2022
Messages
40
Motherboard
HP EliteDesk 800 G2 DM
CPU
i5-6500
Graphics
HD 530
Hello,

I've been tinkering with an "old" HP EliteDesk 800 G2 Mini computer. I managed to install the latest Monterrey using OpenCore (offline installation). After the post-install guide and got Sound, FileVault and iMessage to work just fine.

Unfortunately sleep doesn't work as expected. Once I tell the machine to sleep the LED will start blinking but after waking it up via keyboard the screen never turns on again.
  • OS: 12.4 (21F79)
  • OpenCore: 0.8.1
  • Machine: HP EliteDesk 800 G2 DM 65W
  • Processor: Intel(R) Core(TM) i5-6500 CPU @3.20GHZ
  • Memory Size: 8192 MB
  • System BIOS: N21 Ver. 02.53 04/16/2021
There's this thread from 2018 saying that the GPU is the issue and also a few people here saying it "works sometimes".

Does anyone have a recent experience with this machine and got sleep to work properly?

Thank you.
 
Hello,

I've been tinkering with an "old" HP EliteDesk 800 G2 Mini computer. I managed to install the latest Monterrey using OpenCore (offline installation). After the post-install guide and got Sound, FileVault and iMessage to work just fine.

Unfortunately sleep doesn't work as expected. Once I tell the machine to sleep the LED will start blinking but after waking it up via keyboard the screen never turns on again.
  • OS: 12.4 (21F79)
  • OpenCore: 0.8.1
  • Machine: HP EliteDesk 800 G2 DM 65W
  • Processor: Intel(R) Core(TM) i5-6500 CPU @3.20GHZ
  • Memory Size: 8192 MB
  • System BIOS: N21 Ver. 02.53 04/16/2021
There's this thread from 2018 saying that the GPU is the issue and also a few people here saying it "works sometimes".

Does anyone have a recent experience with this machine and got sleep to work properly?

Thank you.
This can solve a lot of issues, sleep included:
 
This can solve a lot of issues, sleep included:

So your system has an HD 530 and sleep works fine? From everything I read I was under the impression this was a GPU issue...

Thank you.
 
So your system has an HD 530 and sleep works fine? From everything I read I was under the impression this was a GPU issue...

Thank you.
yes, my laptop is a skylake and sleep works fine, no issues
 
@Feartech well apparently I'm not as lucky as you are, or I'm just missing something.

My USB ports are mapped and I'm not exceeding the port limit:

1654630080778.png


Also tried to change IOClass value from AppleUSBMergeNub to AppleUSBHostMergeProperties without any luck. XhciPortLimit is set to false as described.

Thank you.
 
@Feartech well apparently I'm not as lucky as you are, or I'm just missing something.

My USB ports are mapped and I'm not exceeding the port limit:

View attachment 549180

Also tried to change IOClass value from AppleUSBMergeNub to AppleUSBHostMergeProperties without any luck. XhciPortLimit is set to false as described.

Thank you.
can't tell from that image

but if you want to zip and upload your EFI I can take a look
 
can't tell from that image

but if you want to zip and upload your EFI I can take a look

There you go, thank you very much. What I've noticed is that after I set it sleep and it doesn't wake if I power it down and then on again I always get a BIOS RTC error as well saying there was invalid data written and it was reset.
 

Attachments

  • EFI.zip
    9.4 MB · Views: 293
There you go, thank you very much. What I've noticed is that after I set it sleep and it doesn't wake if I power it down and then on again I always get a BIOS RTC error as well saying there was invalid data written and it was reset.
you probably do not need these boot arguments:
agdpmod=pikera keepsyms=1 swd_panic=1 debug=0x100

assuming this:
rtcfx_exclude=58-59,B0-B3,D0-DF
has to do with RTCMemoryFixup.kext? have you tried without those and also tried without CPUFriendDataProvider.kext and CPUFriend.kext ?

also disable:
SMCProcessor.kext and SMCSuperIO.kext
sometimes less is more and can be easier to work out what could be causing an issue

test also without:
SSDT-SBUS-MCHC

remove SSDT-USBX.aml as you already have SSDT-EC-USBX.aml

check over your bios settings and make sure:

Disable:
Fast Boot
Secure Boot
Serial/COM Port
Parallel Port
VT-d (can be enabled if you set DisableIoMapper to YES)
CSM
Thunderbolt(For initial install, as Thunderbolt can cause issues if not setup correctly)
Intel SGX
Intel Platform Trust
CFG Lock (MSR 0xE2 write protection)(This must be off, if you can't find the option then enable AppleXcpmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled)

Enable:
VT-x
Above 4G decoding
Hyper-Threading
Execute Disable Bit
EHCI/XHCI Hand-off
OS type: Windows 8.1/10 UEFI Mode
DVMT Pre-Allocated(iGPU Memory): 64MB or 128MB
SATA Mode: AHCI
 
I first started with the BIOS settings:

Disable:
Fast Boot - OK
Secure Boot - OK
Serial/COM Port - No option
Parallel Port - No option
VT-d (can be enabled if you set DisableIoMapper to YES) - OK
CSM - OK
Thunderbolt(For initial install, as Thunderbolt can cause issues if not setup correctly) - No Option
Intel SGX - OK
Intel Platform Trust - OK
CFG Lock (MSR 0xE2 write protection)(This must be off, if you can't find the option then enable AppleXcpmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled) - No Option

Enable:
VT-x - OK
Above 4G decoding - No option
Hyper-Threading - OK
Execute Disable Bit - No option
EHCI/XHCI Hand-off - No option
OS type: Windows 8.1/10 UEFI Mode - No option
DVMT Pre-Allocated(iGPU Memory): 64MB or 128MB - OK
SATA Mode: AHCI - No option

Just for clarification "No option" means my BIOS doesn't have that setting.

you probably do not need these boot arguments:
agdpmod=pikera keepsyms=1 swd_panic=1 debug=0x100

true.

assuming this:
rtcfx_exclude=58-59,B0-B3,D0-DF
has to do with RTCMemoryFixup.kext?

Yes it does, here: https://www.tonymacx86.com/threads/...sk-600-g2-success.261452/page-20#post-2101758

Without those I'll get an RTC error at every boot.

tried without CPUFriendDataProvider.kext and CPUFriend.kext ?

Still not coming out of sleep...

also disable:
SMCProcessor.kext and SMCSuperIO.kext

No difference whatsoever in the machine... can I leave them disabled?

test also without:
SSDT-SBUS-MCHC

remove SSDT-USBX.aml as you already have SSDT-EC-USBX.aml

The reason why I have both is because here it says "Skylake and newer devices will want USBX as well". Disabled both and it doesn't work.

Thank you.
 
I first started with the BIOS settings:

Disable:
Fast Boot - OK
Secure Boot - OK
Serial/COM Port - No option
Parallel Port - No option
VT-d (can be enabled if you set DisableIoMapper to YES) - OK
CSM - OK
Thunderbolt(For initial install, as Thunderbolt can cause issues if not setup correctly) - No Option
Intel SGX - OK
Intel Platform Trust - OK
CFG Lock (MSR 0xE2 write protection)(This must be off, if you can't find the option then enable AppleXcpmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled) - No Option

Enable:
VT-x - OK
Above 4G decoding - No option
Hyper-Threading - OK
Execute Disable Bit - No option
EHCI/XHCI Hand-off - No option
OS type: Windows 8.1/10 UEFI Mode - No option
DVMT Pre-Allocated(iGPU Memory): 64MB or 128MB - OK
SATA Mode: AHCI - No option

Just for clarification "No option" means my BIOS doesn't have that setting.



true.



Yes it does, here: https://www.tonymacx86.com/threads/...sk-600-g2-success.261452/page-20#post-2101758

Without those I'll get an RTC error at every boot.



Still not coming out of sleep...



No difference whatsoever in the machine... can I leave them disabled?



The reason why I have both is because here it says "Skylake and newer devices will want USBX as well". Disabled both and it doesn't work.

Thank you.
you will only need:
SSDT-EC-USBX.aml

keep them disabled if you like:
SMCProcessor.kext and SMCSuperIO.kext

from your link, the boot argument they used was:
rtcfx_exclude=58-59,D0-DF

I do not know much about this kext or arguments as I have never needed to use it though

there are a couple of terminal commands that may also help:

Code:
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
sudo pmset -a hibernatemode 0
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
then reboot, reset nvram let it go to your desktop, then shutdown for a minute or 2 and then turn the machine on

after it has reached the desktop, let it settle down and then try clicking on the apple and click sleep, let it fully sleep and see if it wakes up
 
Status
Not open for further replies.
Back
Top