Jump to content

HP ProDesk 400 G1 SFF: Random freezes, no Sleep - Mojave


33 posts in this topic

Recommended Posts

Hello

I have managed to mackintosh my pc with the following specs. It is currently running Mojave. I used clover bootloader method to get it working. Currently, it is set as imac 14,2 in SMBIOS setting and comes up as Mac (Retina 5K, 27-inch, Mid 2015) in About this mac section.

I am facing the following two problems:

1. There is unpredictability with the system, as occasionally it may crash and I have to force restart it from the power button.

2. Sleep does not work: the system wakes up within a few seconds on its own and then only cursor moves, nothing else works. i have to force restart it from the power button


I have tried to  attach the zipped EFI folder and zipped IOreg folder for investigation but the file size is larger than 10 MB, how do i get around that :-(

I have logitech mouse and keyboard connected via bluetooth and they work fine.

I have a generic wifi USB receiver, which works as well. Ethernet does not work, I am not goiung to bother the folk with that problem just as yet ;-)

Thanks for looking

Specs:

  • BIOS: L02 v02.52
  • BIOS Mode UEFI
  • CPU: Intel i3-4130 CPU @ 3.40GHz
  • RAM: 4GB
  • Intel HD4400 integrated graphics + Nvidia GT 710 1GB graphics card

 

Just post a zipped copy of the ACPI & kexts folders of your Clover EFI + a zipped copy of the config. Alternatively, upload it to a public repo and post the link.

  • Hervé changed the title to HP ProDesk 400 G1 SFF: Randon Freezes, Sleep does not work - Mojave
  • Hervé changed the title to HP ProDesk 400 G1 SFF: Random freezes, no Sleep - Mojave

Hello

 

Here is the link to the EFI folder which contains the APCPI folder and KEXTs ( all kexts are in other folder):

http://s000.tinyupload.com/index.php?file_id=00116793457091617055

 

This second link is to IO reg file which i suppose is what you have asked as the config file, if not please let me know:

http://s000.tinyupload.com/index.php?file_id=95738642129628179334

 

thanks for your help

No, I did mean the actual config file but IOReg output is good too. 'trouble is that your link shows no file... Just zip it and attach it to your next response.

 

Meantime, you may try this revised config. Copy it with a name like "config_new.plist" alongside your existing one so that you can safely call it from Clover main menu and revert to your existing (default) one in case off problems.

 

  • I've removed most of those ACPI patches you had enabled, I don't believe you need them
  • I've updated the SMBIOS info since yours was next to empty
  • I've refreshed all serial numbers and added ROM that was missing
  • I've removed the reference to the Nvidia Web Driver since there are no such thing for Mojave and GT710 is natively supported as long as it's a Kepler model, not a Fermi one (which would not be supported).

config.plist.zip

iMac — Home.ioreg

 

Hello

 

Thanks a lot for reviewing the files

 

I have attached the IO reg file.

 

Before I load your plist file, for which I must thank you again can i ask you a few things please:

 

1. I had set SMBIO as Imac 14,2 and do see that when I open plist using clover, did it not come through. I have noted that your file has more information, so must be better.

 

2. Can you please help me know how would I select which plist to use when loading up in case I mess it up. I suppose one could do that from clover bootscreen , is that correct?  I have manage to find a way of doing this

 

3. I have noticed that you have slecetd Inject NVIDIA. Is that purposeful, I am not an experts so please pardon if I overstep, I thought NVIDIA GT 710 is natively supported and does not need NVIDIA injecting, is that wronng.

 

 

 

Also I have got the machine running as type using your congig.plist file. Thanks :-)

 

Edited by rambobambo

Hello 

 

An update. I have checked sleep, it does not work.

 

Machine enters sleep, screen goes black, a few moments later the screen comes back on . I can move curson but can not interact with anything.

 

So this problem persists.

 

1. indeed, your SMBIOS information was incomplete and lacked key serial numbers.

2. good!

3. yes, it's better to enable "inject Nvidia" so that the OS looks properly for the Nvidia card. Sometimes it's not necessary but sometimes it is. Feel free to experiment with this parameter if you want.

 

Sorry, I concentrated on the stability matter and did not look into the sleep issue. Stated behaviour is typical of USB ports needing patching for power settings. You can use Hackintool app to generate a USBPorts kext and a SSDT-UIAC table. You'll then either use USBPorts on its own or use SSDT-UIAC with USBInjectAll kext.

 

Here's a revised Clover config in which I've added a property injection for your HD4400 iGPU in order to fake Desktop HD4600 is 0412. That may enable support for your iGPU.

config.plist.zip

 

By the way, your IOReg looks pretty good with all hardware elements detected and properly managed (USB2 and USB3 ports, Nvidia GT710, etc.). Ace. You should be good to upgrade to Catalina or Big Sur. :yes:

Thanks for your help. Can I continue to bother you please:

 

1 Should i Replace the current plist with the new one that you have supplied, if yes, do I need to do the next step.

 

2. Do I still need to do the stuff for USB ports with Hackintool

 

3. As currently iGPU is disabled, could there be an issue if I use that in conjunction with NVIDIA card as it is detected already. Would this enhance anything? Previousli Was only able to get 7 MB video ram with iGPU settings ( no NVIDIA card was used )

 

4. In terms of stability I had another crash where machine was in screensaver and did not respond.

 

Let me know what you think, thanks.

 

1. Obviously (for both questions)!

2. Yes.

3. No issue to be expected, on the contrary!

4. May be linked to iGPU config not being set properly.

 

When, you reboot Clover to load revised config, press [F4] when you reach Clover's main menu. That'll dump all ACPI tables in the CLOVER/ACPI/origin folder of your EFI partition. Zip this folder and post it so that we can have a look at the default hardware definitions. It's good that you can currently run Mojave without any patched table but you may still require to inject some patched SSDTs (eg: for USB ports poser settings).

Thanks for the help.

 

I am posting screenshot of the clover graphics section. I don't think in the new plist the graphics card settings for iGPU have been activated. Please see the screenshot below. I have added the Origin folder as zipped file.

 

 

q1. Should i send the ACPI tables following crash or anytime would work

 

q2. Also do you mind guiding how do I do hackintool business

 

thanks again.

 

PS: let me know if the screenshot has come through

Screenshot 2021-02-01 at 12.58.33.png

origin.zip

Edited by rambobambo

No need to enable Inject Intel, that's taken care of by WhateverGreen. After using the revised config, did you check graphics info and status in About this Mac or in IOReg?

 

Those ACPI tables are extracted from BIOS, i.e. ROM. They never change, no matter what.

 

In Hackintool, just go to the USB tab and click the Refresh button. If you wish to verify port settings, use a USB2 and a USB3 device and plug them in every single port of your computer. Check where the devices appear and at what speed. To generate the USBPorts kext and SSDT-UIAC table, just click the Export button.

Seen and checked. No particular comment to make other than renaming of XHCI and XHC1 devices are not required in the Clover config since your computer has no such devices in ACPI and that the USB3 controller is suitably called XHC by default.

 

With regards to USB ports power settings, if you look at the IOReg or ACPI tables of a real iMac14,2 as available here, you'll see they're set as follows:

            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Store (Package (0x09)
                    {
                        "AAPL,current-available", 
                        0x0834, 
                        "AAPL,current-extra", 
                        0x0A8C, 
                        "AAPL,current-extra-in-sleep", 
                        0x0A8C, 
                        "AAPL,max-port-current-in-sleep", 
                        0x0834, 
                        Buffer (0x01)
                        {
                             0x00                                           
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }

iMac14,2_USB2_power_settings.jpg

 

iMac14,2_USB3_power_settings.jpg

 

That's what you must inject for your 3 x USB controllers.

Thanks, how and where do I make the required changes?

 

Also please look ate screenshot, would you be able to advise on the hackintool business. Please see the following linbk, would you recomed me to use this script, if yes, do i generate USB map.kext and or ssdt-rhub-reset.dsl file

 

 

Screenshot 2021-02-01 at 14.14.41.png

 

 

That article is irrelevant to you, you do not have a Skylake platform but an older Haswell one with separate USB2 (EHCx/EH0x) and USB3 (XHC) controllers. If all your USB ports are working, you don't need to worry about any limits. Adding to that the fact that you've injected patches to that effect in your Clover config... Mind you, I'm beginning to suspect you just collected from somewhere.

 

Here is another revised config the contains the properties injection for your USB controllers (See Devices tab, Properties section). Device locations (PciRoot(0x0/Pci(0x--,0x--)) were derived from extracted DSDT + IOReg output. The rest should be obvious to you...

config.plist.zip

 

To be on the safe side of things, disable hibernation and fallback to plain old sleep using the following Terminal commands:

sudo pmset -a hibernatemode 0
sudo pmset -a hibernatefile /dev/null
sudo rm -f /var/vm/sleepimage

 

To check power savings settings use:

pmset -g

 

If the computer wakes immediately on going to sleep, check the assertions:

pmset -g assertions

 

If all of this does not fix sleep, then there are probably other power adjustments that you'll have to sort out. But I hope it works...

 

Good luck!

Please stop quoting every single message to post your replies. It's most annoying and totally unnecessary. Just use the Reply box at the Bottom of the thread's page, it's there for that purpose. Thank you.

sure I will follow your advice and message as advised. sorry didn't mean to cause offence or inconvenience

 

Can I request if you could tell me about the iGPU settings, am I correct in my observation that they are not there in the latest plist or have been looking in the wrong sections. I had put a screenshot above.

Thanks for your help, I sincerely hope that I am replying better this time, sorry about the last few times.

 

Also I have now re-read your post and can see your comment about graphic card and think that I understand that better. Sorry Id dint understand that first time around

 

Will you please, continue, to be be helpful and please review the attached  screenshots to see if the iGPU is detected. However I feel that it has not been detected, I could be wrong. I have attached a few screenshots of varuious things to check if I can provide good insight into my observations

 

thanks once more

Screenshot 2021-02-01 at 18.48.15.png

Screenshot 2021-02-01 at 18.48.50.png

Screenshot 2021-02-01 at 18.50.17.png

Screenshot 2021-02-01 at 18.51.14.png

Check your IOReg for IGPU@2.

 

Please note that your Nvidia graphics card no longer works properly: your last IOReg screenshot shows only 2 ports when you had 4 ports before. Compare this with the IOReg output you had previously posted and you'll see.

 

Feel free to experiment with the iGPU.

Thanks.

 

I will check as you advise, I must say I didnt change the latest plist file that you had sent. I have re-examined the plist and inject nvidia is enabled. Not sure if I may have sent you the wrong screenshot.

 

I have checked the IOReg file and have attached screenshots here.

 

will you be able to please let me know what you think, do I need to make any changes.

 

One question, can I ise DPI port to attach a second monitor?

 

When you may have time if you could check these please.

 

 

Screenshot 2021-02-01 at 22.23.31.png

Screenshot 2021-02-01 at 22.24.08.png

Screenshot 2021-02-01 at 22.25.16.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...