Contribute
Register

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

Status
Not open for further replies.
I will , Give this to you first

Remove SSDT-USB-820-G2.aml, then post ioreg.

[HS02/SSP2] ->HP12/SSP2
[HS03.2/SSP3.2] SSP3.2/HP13.2
[HS03.3/SSP3.3] -> both SSP3.3/HS03.3->HP13.3(no usb3.0 ) 1d133000
 

Attachments

  • remove-ssdt-usb.zip
    579.4 KB · Views: 91
I will , Give this to you first



[HS02/SSP2] ->HP12/SSP2
[HS03.2/SSP3.2] SSP3.2/HP13.2
[HS03.3/SSP3.3] -> both SSP3.3/HS03.3->HP13.3(no usb3.0 ) 1d133000

Did your bluetooth disappear? (was on HS04, should have likely moved to HP14).

At any rate, changes to SSDT-USB-820-G2:
Code:
diff --git a/SSDT-USB-820-G2.dsl b/SSDT-USB-820-G2.dsl
index 2aa20aa..fbc6aca 100644
--- a/SSDT-USB-820-G2.dsl
+++ b/SSDT-USB-820-G2.dsl
@@ -16,11 +16,46 @@ DefinitionBlock ("", "SSDT", 2, "hack", "usb820g2", 0)
         Name(_HID, "UIA00000")
         Name(RMCF, Package()
         {
-            // EH01 has no ports (XHCIMux is used to force USB3 routing OFF)
+            // EHCI#1
             "EH01", Package()
             {
-                "port-count", Buffer() { 0, 0, 0, 0 },
-                "ports", Package() { },
+                "port-count", Buffer() { 8, 0, 0, 0 },
+                "ports", Package()
+                {
+                    "PR11", Package()
+                    {
+                        "UsbConnector", 255,
+                        "port", Buffer() { 1, 0, 0, 0 },
+                    },
+                },
+            },
+            /// hub on port #1 EHCI#1
+            "HUB1", Package()
+            {
+                "port-count", Buffer() { 8, 0, 0, 0 },
+                "ports", Package()
+                {
+                    //HP11 not used
+                    "HP12", Package()
+                    {
+                        //"UsbConnector", 3,
+                        "port", Buffer() { 2, 0, 0, 0 },
+                    },
+                    "HP13", Package() // USB2 hub (related SSP3 hub)
+                    {
+                        //"UsbConnector", 255,
+                        "port", Buffer() { 3, 0, 0, 0 },
+                    },
+                    //HP14 not used (should be bluetooth?)
+                    //HP15 finger print reader
+                    //HP16 not used
+                    "HP17", Package() // camera
+                    {
+                        //"UsbConnector", 255,
+                        "port", Buffer() { 7, 0, 0, 0 },
+                    },
+                    //HP18 not used
+                },
             },
             // XHC overrides
             "8086_9cb1", Package()
@@ -28,6 +63,7 @@ DefinitionBlock ("", "SSDT", 2, "hack", "usb820g2", 0)
                 //"port-count", Buffer() { 0x0f, 0, 0, 0},
                 "ports", Package()
                 {
+#if 0 // disabled due to USB2 on XHC routed to EHCI
                     // HS01 not used
                     "HS02", Package() // USB2 (SSP2 is USB3)
                     {
@@ -52,6 +88,7 @@ DefinitionBlock ("", "SSDT", 2, "hack", "usb820g2", 0)
                         "port", Buffer() { 0x07, 0, 0, 0 },
                     },
                     // HS08/HS09/HS10/HS11 not used
+#endif // end of HSxx
                     // SSP1 not used
                     "SSP2", Package() // SS USB3 port
                     {
@@ -69,6 +106,7 @@ DefinitionBlock ("", "SSDT", 2, "hack", "usb820g2", 0)
         })
     }
 
+#if 0 // don't disable EHCI right now
 //
 // Disabling EHCI #1
 //
@@ -129,6 +167,7 @@ DefinitionBlock ("", "SSDT", 2, "hack", "usb820g2", 0)
             "RM,pr2-force", Buffer() { 0xff, 0x3f, 0, 0 },
         })
     }
+#endif // end of EHCI disable
 }
 
 //EOF

Any change in the result?
 
Where can I find IntelMausiEthernet.kext? I found the whole master in the Github but not the kext. Maybe this is very obvious, and I am sorry if this is the case. Any help? I also cannot find HPFanReset.efi. Thanks again
 
kexts and HPFanReset.efi can be downloaded and installed with download.sh and install_downloads.sh
 
kexts and HPFanReset.efi can be downloaded and installed with download.sh and install_downloads.sh

Yes, but @piojofafner is probably asking about pre-install and seems to be "google challenged" :)
 
I don't known my SSDT-USB-820-G2-2 is correct?

change:

[HS02/SSP2] ->HP12/SSP2
[HS03.2/SSP3.2] ->SSP3.2/HP13.2
[HS03.3/SSP3.3] -> both SSP3.3/HP13.3

yes! I found my
bluetooth disappear.

and you can see both
HP12/SSP2 have SHE080-1(NS1066 2.45)(a USB3.0 storage device),because first time i found it's in HP12 then I pull it out,plug it again,It appear in SSP2(correct)...

and only USB3.0 storage device in [HP12/SSP2] will cause Restart problem...
 

Attachments

  • Archive.zip
    609.4 KB · Views: 94
I don't known my SSDT-USB-820-G2-2 is correct?

Seems correct.

yes! I found my bluetooth disappear.

Try enabling the HP14 port with 255 (in "HUB1" section):
Code:
                    "HP14", Package() // bluetooth
                    {
                        //"UsbConnector", 255,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },

and you can see both [/COLOR]HP12/SSP2 have SHE080-1(NS1066 2.45)(a USB3.0 storage device),because first time i found it's in HP12 then I pull it out,plug it again,It appear in SSP2(correct)...

USB3 detection problem...

and only USB3.0 storage device in [HP12/SSP2] will cause Restart problem...

Of course, that USB3 device connects only to SSP2, right?

It doesn't seem like moving the USB2 on XHCI to EHCI is solving anything. The problem may be a quirk of the hub drivers being used. (I don't know why vendors use hubs when they have so many ports available on the chipset itself).
 
i've update ssdt then bluetooth work again.

Code:
[COLOR=#3E3E3E]Of course, that USB3 device connects only to SSP2, right?[/COLOR]


yes
,that USB3 device in others ports don't cause Restart problem,
and any USB2.0 device in [
HP12/SSP2] don't cause Restart problem

If just boot USB3 device will appear under USB2.0 ports ([HP13.2] or [SSP3.3/HP13.3]),After a while plug again will be correct ( under [SSP3.3] or [SSP3.3])

but now can't see that USB3.0 device under SSP2...



 

Attachments

  • new-2.zip
    711 KB · Views: 106
i've update ssdt then bluetooth work again.

Code:
[COLOR=#3E3E3E]Of course, that USB3 device connects only to SSP2, right?[/COLOR]


yes
,that USB3 device in others ports don't cause Restart problem,
and any USB2.0 device in [
HP12/SSP2] don't cause Restart problem

If just boot USB3 device will appear under USB2.0 ports ([HP13.2] or [SSP3.3/HP13.3]),After a while plug again will be correct ( under [SSP3.3] or [SSP3.3])

but now can't see that USB3.0 device under SSP2...




I think it is complications from the hubs that HP is using here...

http://www.linux-usb.org/usb.ids
Code:
0424  Standard Microsystems Corp.
...	5534  Hub

You might try injecting just the active ports on those hubs. Will require a hub port injector, look at USBXHCI_4x40s.kext (currently not used), for ideas. The location id of the SSP3 hub is 0x14200000 (as you can see from iroeg). Similar suggestion for the hub at HP13 (or HS03).

You can experiment with XHC only vs. routing to EHCI.

Also, since this issue could be device specific, you should find some other USB2/USB3 devices to test with.

Edit: I checked in a change to the SSDT-USB-820-G2.dsl so it can be easily switched from XHCI only to XHCI+EHCI.
 
Status
Not open for further replies.
Back
Top