Contribute
Register

[Guide] HP ProBook/EliteBook/Zbook using Clover UEFI hotpatch

Status
Not open for further replies.
I did attach the problem reporting files. Check again.

Your kextcache output shows kexts installed incorrectly (quite a nice little mess you made there).
Run ./install_downloads.sh as per guide (it will remove the duplicate kexts you installed to /S/L/E... correcting your mistake).

Also, make sure you have the latest BIOS installed.

Google Chrome is hooking your USB ports. See relevant topic in FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Also, your drivers64UEFI is wrong. OsxAptioFix and OsxAptioFix2 are mutually exclusive. Use only one, not both (generally OsxAptioFix is preferred over OsxAptioFix2).

After fixing things, do EC reset, reboot without caches, rebuild caches, then reboot.
 
Last edited:
I only see OsxAptioFix and no OsxAptioFix2 in driver64UEFI.

Also, rebooting without caches doesn't seem to be an option in Clover anymore.

I ran ./install_downloads.sh as per guide, did an EC reset, rebuilt caches, and rebooted. The trackpad and battery status issues seem to have cleared up. My BIOS version wasn't far behind the latest, so I skipped updating it (I would have to find a Windows PC to create a BIOS update USB, which is too inconvenient for me right now.)
 
I only see OsxAptioFix and no OsxAptioFix2 in driver64UEFI.

OK.

Also, rebooting without caches doesn't seem to be an option in Clover anymore.

As per guide, use kernel flag -f, or my version of Clover (which has boot without caches).

I ran ./install_downloads.sh as per guide, did an EC reset, rebuilt caches, and rebooted. The trackpad and battery status issues seem to have cleared up. My BIOS version wasn't far behind the latest, so I skipped updating it (I would have to find a Windows PC to create a BIOS update USB, which is too inconvenient for me right now.)

What is the current issue?
 
OK.



As per guide, use kernel flag -f, or my version of Clover (which has boot without caches).



What is the current issue?

All issues appear to be resolved except for frequent crashing on iTunes 12.7, which could possibly be unrelated to my specific configuration.
 
Hello RehabMan

On my HP EliteBook 840 G3, I managed to get everything working on 10.13, thanks to this guide. Everything except "output sound".
Input works : Siri recognizes my voice.
Output "should" work : I can slide the volume up and down, but no sound at all from the internal speakers.

Can you have a look ?
Thanks
 

Attachments

  • Archive.zip
    2.3 MB · Views: 73
Hello RehabMan

On my HP EliteBook 840 G3, I managed to get everything working on 10.13, thanks to this guide. Everything except "output sound".
Input works : Siri recognizes my voice.
Output "should" work : I can slide the volume up and down, but no sound at all from the internal speakers.

Can you have a look ?
Thanks

Use ./install_acpi.sh as per guide.
Also, as per post #1, you may need to disable TRIM.
 
Use ./install_acpi.sh as per guide.
Also, as per post #1, you may need to disable TRIM.

Thanks for you response :)
I did "./install_acpi.sh", I just then renamed the file "SSDT-8x0-G3-Skylake.aml" to "SSDT.aml".
I disabled TRIM via "sudo trimforce disable" and disable kext patch in Clover :
Code:
Romains-MacBook-Pro:~ romain$ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: No
          TRIM Support: No
But no luck, still no sound :(
 
Remove to isolate the problem.



I will check changes into the beta branch that will do it, but you can probably do it in BIOS by setting xHCI mode = Enabled (instead of auto/smart auto).



Did you do EC reset?



You add the #include I mentioned to your model specific .dsl file (SSDT-4x0-G1-Haswell.dsl as you see in SSDT-6x0-G1-Haswell.dsl).

You could also just use SSDT-6x0-G1-Haswell.aml. (the two SSDTs are exactly alike except for 6x0 disables both EHCI controllers and uses ig-platform-id 0x0d260007).

Potential diffs I have so far:
Code:
--- a/hotpatch/SSDT-4x0-G1-Haswell.dsl
+++ b/hotpatch/SSDT-4x0-G1-Haswell.dsl
@@ -3,6 +3,7 @@
 DefinitionBlock ("", "SSDT", 2, "hack", "4x0g1h", 0)
 {
     #include "SSDT-RMCF.asl"
+    #include "include/ig_0d260007.asl"
     #include "SSDT-PluginType1.asl"
     #include "SSDT-HACK.asl"
     #include "include/layout17_HDEF.asl"
diff --git a/hotpatch/SSDT-USB-4x0-G1.asl b/hotpatch/SSDT-USB-4x0-G1.asl
index 9fc18ab..4620379 100644
--- a/hotpatch/SSDT-USB-4x0-G1.asl
+++ b/hotpatch/SSDT-USB-4x0-G1.asl
@@ -72,10 +72,11 @@
     }

 //
-// Disabling EHCI #1
+// Disabling EHCI #1 and #2
 //
     External(_SB.PCI0, DeviceObj)
     External(_SB.PCI0.EH01, DeviceObj)
+    External(_SB.PCI0.EH02, DeviceObj)
     External(_SB.PCI0.LPCB, DeviceObj)

     // registers needed for disabling EHC#1
@@ -87,6 +88,15 @@
             PSTE, 2  // bits 2:0 are power state
         }
     }
+    // registers needed for disabling EHC#2
+    Scope(_SB.PCI0.EH02)
+    {
+        OperationRegion(RMP1, PCI_Config, 0x54, 2)
+        Field(RMP1, WordAcc, NoLock, Preserve)
+        {
+            PSTE, 2  // bits 2:0 are power state
+        }
+    }
     Scope(_SB.PCI0.LPCB)
     {
         OperationRegion(RMP1, PCI_Config, 0xF0, 4)
@@ -116,6 +126,11 @@
                 ^^EH01.PSTE = 3
                 // disable EHCI#1 PCI space
                 ^^LPCB.FDE1 = 1
+                // disable EHCI#2
+                // put EHCI#2 in D3hot (sleep mode)
+                ^^EH02.PSTE = 3
+                // disable EHCI#2 PCI space
+                ^^LPCB.FDE2 = 1
             }
         }
     }
i don't know what EC reset is but i did reset BIOS settings and it happens when i update my BIOS i guess it's fine for now since the error message is not appearing anymore and i did install 6x0 acpi now reboot,hdmi, audio all works even though i didn't remove VirtualBox, thank you rehabman
 
Thanks for you response :)
I did "./install_acpi.sh", I just then renamed the file "SSDT-8x0-G3-Skylake.aml" to "SSDT.aml".

Do not rename any SSDTs.

I disabled TRIM via "sudo trimforce disable" and disable kext patch in Clover :
Code:
Romains-MacBook-Pro:~ romain$ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: No
          TRIM Support: No
But no luck, still no sound :(

Follow the guide as written.
If you have an issue, attach "Problem Reporting" files.
 
i don't know what EC reset is

http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

but i did reset BIOS settings and it happens when i update my BIOS i guess it's fine for now since the error message is not appearing anymore and i did install 6x0 acpi now reboot,hdmi, audio all works even though i didn't remove VirtualBox, thank you rehabman

I will change the 4x0 SSDT to use the new ig-platform-id.
Please test the new files in the beta branch.
 
Status
Not open for further replies.
Back
Top