Contribute
Register

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

Status
Not open for further replies.
If you keep the #include "include/ig_0d260007.asl", you will find IGPI in your model specific SSDT.
Then you can change it to what you want quite easily.

Keep in mind that each ig-platform-id, in addition to different DVMT-prealloc requirements, can also have different PWMMax.
For example, 0x04260000 uses 0x1499.
The brightness code in SSDT-PNLF.asl assumes 0xad9 for Haswell.
So, you will either need to set RMCF.LMAX to 0x1499 or patch the framebuffer to change 0x04260000 from 0x1499 to 0xad9.



Correct.

Yep i rebooted, glitches gone, brightness control working but still lower than usual, i am now patching "Name (LMAX, 0x1499)" and rebooting.
 
If you keep the #include "include/ig_0d260007.asl", you will find IGPI in your model specific SSDT.
Then you can change it to what you want quite easily.

Keep in mind that each ig-platform-id, in addition to different DVMT-prealloc requirements, can also have different PWMMax.
For example, 0x04260000 uses 0x1499.
The brightness code in SSDT-PNLF.asl assumes 0xad9 for Haswell.
So, you will either need to set RMCF.LMAX to 0x1499 or patch the framebuffer to change 0x04260000 from 0x1499 to 0xad9.



Correct.

with Name (LMAX, 0x1499) i get max brightness, but no control
without it i get control but lower max
 
with Name (LMAX, 0x1499) i get max brightness, but no control

Read post #1, "Problem Reporting".

FYI: If this was to be brought into the git project:
Code:
diff --git a/Patches.xcodeproj/project.pbxproj b/Patches.xcodeproj/project.pbxproj
index 3231ad4..847fdca 100644
--- a/Patches.xcodeproj/project.pbxproj
+++ b/Patches.xcodeproj/project.pbxproj
@@ -207,6 +207,7 @@
        ED9E98FB1CC905FA0032E2A3 /* SSDT-ZBook-G2-Broadwell.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-ZBook-G2-Broadwell.dsl"; path = "hotpatch/SSDT-ZBook-G2-Broadwell.dsl"; sourceTree = "<group>"; };
        EDA152011CC82A4B0040A5C0 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
        EDA152021CC82BED0040A5C0 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = README.txt; path = patches/README.txt; sourceTree = "<group>"; };
+        EDA15FB61F69EFD9000CEFCA /* ig_04260000.asl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ig_04260000.asl; path = hotpatch/include/ig_04260000.asl; sourceTree = "<group>"; };
        EDA70AD21CEFEE6B009D2AA7 /* SSDT-5x30.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-5x30.dsl"; path = "hotpatch/SSDT-5x30.dsl"; sourceTree = "<group>"; };
        EDA9D5501D2D48C600DA4204 /* SSDT-6x0-G2-Skylake.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-6x0-G2-Skylake.dsl"; path = "hotpatch/SSDT-6x0-G2-Skylake.dsl"; sourceTree = "<group>"; };
        EDAB27061D3953E800FD5D06 /* SSDT-USB-640-G2.asl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-USB-640-G2.asl"; path = "hotpatch/SSDT-USB-640-G2.asl"; sourceTree = "<group>"; };
@@ -530,6 +531,7 @@
                ED97E91D1CC75350006C757A /* disable_HECI.asl */,
                ED841A011ED636A800A0B6BB /* xhc_pmee.asl */,
                ED5282A81F3E0CA7007CCC1B /* ig_0d260007.asl */,
+                EDA15FB61F69EFD9000CEFCA /* ig_04260000.asl */,
                ED97E9121CC75350006C757A /* layout3_HDAU.asl */,
                ED97E9131CC75350006C757A /* layout3_HDEF.asl */,
                ED97E9141CC75350006C757A /* layout4_HDAU.asl */,
diff --git a/config_parts/config_Haswell.plist b/config_parts/config_Haswell.plist
index 41d934f..c269ae1 100755
--- a/config_parts/config_Haswell.plist
+++ b/config_parts/config_Haswell.plist
@@ -39,6 +39,8 @@
            <dict>
                <key>Comment</key>
                <string>Adjust 0x0d260007 PWMMax from 0x07a1 to 0x0ad9</string>
+                <key>Disabled</key>
+                <true/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelFramebufferAzul</string>
                <key>Find</key>
diff --git a/hotpatch/SSDT-8x0-G1-Haswell.dsl b/hotpatch/SSDT-8x0-G1-Haswell.dsl
index f377cf8..54519c3 100644
--- a/hotpatch/SSDT-8x0-G1-Haswell.dsl
+++ b/hotpatch/SSDT-8x0-G1-Haswell.dsl
@@ -3,7 +3,7 @@
 DefinitionBlock ("", "SSDT", 2, "hack", "8x0g1h", 0)
 {
     #include "SSDT-RMCF.asl"
-    #include "include/ig_0d260007.asl"
+    #include "include/ig_04260000.asl"
     #include "SSDT-PluginType1.asl"
     #include "SSDT-RP05_DGFX_RDSS.asl"
     #include "SSDT-HACK.asl"
diff --git a/hotpatch/SSDT-RMCF.asl b/hotpatch/SSDT-RMCF.asl
index 196f286..9f907df 100644
--- a/hotpatch/SSDT-RMCF.asl
+++ b/hotpatch/SSDT-RMCF.asl
@@ -38,7 +38,7 @@
         //
         // Ones: Default will be used (0x710 for Ivy/Sandy, 0xad9 for Haswell/Broadwell)
         // Other values: must match framebuffer
-        Name(LMAX, Ones)
+        //Name(LMAX, Ones)

         // SHUT: Shutdown fix, disable _PTS code when Arg0==5 (shutdown)
         //
diff --git a/hotpatch/include/ig_04260000.asl b/hotpatch/include/ig_04260000.asl
new file mode 100644
index 0000000..9835b94
--- /dev/null
+++ b/hotpatch/include/ig_04260000.asl
@@ -0,0 +1,12 @@
+//
+// Some Haswell laptops need ig-platform-id 0x04260000 instead of 0x0a260006
+// For those laptops, there can be glitches with 0x0a260006 or 0x0d260007
+// This is an override of the default.
+
+    Scope(RMCF)
+    {
+        Name(IGPI, 0x04260000)
+        Name(LMAX, 0x1499)
+    }
+
+//EOF
diff --git a/hotpatch/include/ig_0d260007.asl b/hotpatch/include/ig_0d260007.asl
index cb8e427..87695b6 100644
--- a/hotpatch/include/ig_0d260007.asl
+++ b/hotpatch/include/ig_0d260007.asl
@@ -6,6 +6,7 @@
     Scope(RMCF)
     {
         Name(IGPI, 0x0d260007)
+        Name(LMAX, 0x07a1)
     }

 //EOF
diff --git a/makefile b/makefile
index 74b4869..78d6674 100644
--- a/makefile
+++ b/makefile
@@ -147,7 +147,7 @@ $(BUILDDIR)/SSDT-4x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH

 $(BUILDDIR)/SSDT-6x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/include/ig_0d260007.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY87.asl $(HOTPATCH)/SSDT-USB-6x0-G1.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl

-$(BUILDDIR)/SSDT-8x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/include/ig_0d260007.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY87.asl $(HOTPATCH)/SSDT-USB-8x0-G1.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl $(HOTPATCH)/SSDT-RP05_DGFX_RDSS.asl
+$(BUILDDIR)/SSDT-8x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/include/ig_04260000.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY87.asl $(HOTPATCH)/SSDT-USB-8x0-G1.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl $(HOTPATCH)/SSDT-RP05_DGFX_RDSS.asl

 $(BUILDDIR)/SSDT-1040-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY102.asl $(HOTPATCH)/SSDT-EH01.asl $(HOTPATCH)/SSDT-EH02.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl
 
Read post #1, "Problem Reporting".

FYI: If this was to be brought into the git project:
Code:
diff --git a/Patches.xcodeproj/project.pbxproj b/Patches.xcodeproj/project.pbxproj
index 3231ad4..847fdca 100644
--- a/Patches.xcodeproj/project.pbxproj
+++ b/Patches.xcodeproj/project.pbxproj
@@ -207,6 +207,7 @@
        ED9E98FB1CC905FA0032E2A3 /* SSDT-ZBook-G2-Broadwell.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-ZBook-G2-Broadwell.dsl"; path = "hotpatch/SSDT-ZBook-G2-Broadwell.dsl"; sourceTree = "<group>"; };
        EDA152011CC82A4B0040A5C0 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
        EDA152021CC82BED0040A5C0 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = README.txt; path = patches/README.txt; sourceTree = "<group>"; };
+        EDA15FB61F69EFD9000CEFCA /* ig_04260000.asl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ig_04260000.asl; path = hotpatch/include/ig_04260000.asl; sourceTree = "<group>"; };
        EDA70AD21CEFEE6B009D2AA7 /* SSDT-5x30.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-5x30.dsl"; path = "hotpatch/SSDT-5x30.dsl"; sourceTree = "<group>"; };
        EDA9D5501D2D48C600DA4204 /* SSDT-6x0-G2-Skylake.dsl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-6x0-G2-Skylake.dsl"; path = "hotpatch/SSDT-6x0-G2-Skylake.dsl"; sourceTree = "<group>"; };
        EDAB27061D3953E800FD5D06 /* SSDT-USB-640-G2.asl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "SSDT-USB-640-G2.asl"; path = "hotpatch/SSDT-USB-640-G2.asl"; sourceTree = "<group>"; };
@@ -530,6 +531,7 @@
                ED97E91D1CC75350006C757A /* disable_HECI.asl */,
                ED841A011ED636A800A0B6BB /* xhc_pmee.asl */,
                ED5282A81F3E0CA7007CCC1B /* ig_0d260007.asl */,
+                EDA15FB61F69EFD9000CEFCA /* ig_04260000.asl */,
                ED97E9121CC75350006C757A /* layout3_HDAU.asl */,
                ED97E9131CC75350006C757A /* layout3_HDEF.asl */,
                ED97E9141CC75350006C757A /* layout4_HDAU.asl */,
diff --git a/config_parts/config_Haswell.plist b/config_parts/config_Haswell.plist
index 41d934f..c269ae1 100755
--- a/config_parts/config_Haswell.plist
+++ b/config_parts/config_Haswell.plist
@@ -39,6 +39,8 @@
            <dict>
                <key>Comment</key>
                <string>Adjust 0x0d260007 PWMMax from 0x07a1 to 0x0ad9</string>
+                <key>Disabled</key>
+                <true/>
                <key>Name</key>
                <string>com.apple.driver.AppleIntelFramebufferAzul</string>
                <key>Find</key>
diff --git a/hotpatch/SSDT-8x0-G1-Haswell.dsl b/hotpatch/SSDT-8x0-G1-Haswell.dsl
index f377cf8..54519c3 100644
--- a/hotpatch/SSDT-8x0-G1-Haswell.dsl
+++ b/hotpatch/SSDT-8x0-G1-Haswell.dsl
@@ -3,7 +3,7 @@
 DefinitionBlock ("", "SSDT", 2, "hack", "8x0g1h", 0)
 {
     #include "SSDT-RMCF.asl"
-    #include "include/ig_0d260007.asl"
+    #include "include/ig_04260000.asl"
     #include "SSDT-PluginType1.asl"
     #include "SSDT-RP05_DGFX_RDSS.asl"
     #include "SSDT-HACK.asl"
diff --git a/hotpatch/SSDT-RMCF.asl b/hotpatch/SSDT-RMCF.asl
index 196f286..9f907df 100644
--- a/hotpatch/SSDT-RMCF.asl
+++ b/hotpatch/SSDT-RMCF.asl
@@ -38,7 +38,7 @@
         //
         // Ones: Default will be used (0x710 for Ivy/Sandy, 0xad9 for Haswell/Broadwell)
         // Other values: must match framebuffer
-        Name(LMAX, Ones)
+        //Name(LMAX, Ones)

         // SHUT: Shutdown fix, disable _PTS code when Arg0==5 (shutdown)
         //
diff --git a/hotpatch/include/ig_04260000.asl b/hotpatch/include/ig_04260000.asl
new file mode 100644
index 0000000..9835b94
--- /dev/null
+++ b/hotpatch/include/ig_04260000.asl
@@ -0,0 +1,12 @@
+//
+// Some Haswell laptops need ig-platform-id 0x04260000 instead of 0x0a260006
+// For those laptops, there can be glitches with 0x0a260006 or 0x0d260007
+// This is an override of the default.
+
+    Scope(RMCF)
+    {
+        Name(IGPI, 0x04260000)
+        Name(LMAX, 0x1499)
+    }
+
+//EOF
diff --git a/hotpatch/include/ig_0d260007.asl b/hotpatch/include/ig_0d260007.asl
index cb8e427..87695b6 100644
--- a/hotpatch/include/ig_0d260007.asl
+++ b/hotpatch/include/ig_0d260007.asl
@@ -6,6 +6,7 @@
     Scope(RMCF)
     {
         Name(IGPI, 0x0d260007)
+        Name(LMAX, 0x07a1)
     }

 //EOF
diff --git a/makefile b/makefile
index 74b4869..78d6674 100644
--- a/makefile
+++ b/makefile
@@ -147,7 +147,7 @@ $(BUILDDIR)/SSDT-4x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH

 $(BUILDDIR)/SSDT-6x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/include/ig_0d260007.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY87.asl $(HOTPATCH)/SSDT-USB-6x0-G1.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl

-$(BUILDDIR)/SSDT-8x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/include/ig_0d260007.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY87.asl $(HOTPATCH)/SSDT-USB-8x0-G1.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl $(HOTPATCH)/SSDT-RP05_DGFX_RDSS.asl
+$(BUILDDIR)/SSDT-8x0-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/include/ig_04260000.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY87.asl $(HOTPATCH)/SSDT-USB-8x0-G1.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl $(HOTPATCH)/SSDT-RP05_DGFX_RDSS.asl

 $(BUILDDIR)/SSDT-1040-G1-Haswell.aml: $(HOTPATCH)/SSDT-PluginType1.asl $(HOTPATCH)/SSDT-RMCF.asl $(HOTPATCH)/SSDT-HACK.asl $(HOTPATCH)/include/layout17_HDEF.asl $(HOTPATCH)/include/layout17_HDAU.asl $(HOTPATCH)/include/standard_PS2K.asl $(HOTPATCH)/SSDT-KEY102.asl $(HOTPATCH)/SSDT-EH01.asl $(HOTPATCH)/SSDT-EH02.asl $(HOTPATCH)/SSDT-XHC.asl $(HOTPATCH)/SSDT-BATT.asl
 

Attachments

  • RehabMan.zip
    63.3 KB · Views: 67
  • CLOVER.zip
    478 KB · Views: 67
  • ioreg.ioreg
    4.6 MB · Views: 99
  • output.rtf.zip
    1.9 KB · Views: 51

Yes, I see why.
Setting LMAX to something non-standard requires customization of AppleBacklightInjector's Info.plist.
There is no data for _UID=99, as it requires a custom range that matches the ig-platform-id PWMMax.
(that was my original design for SSDT-PNLF.dsl, which SSDT-IGPU from ProBook repo uses)
Look in the Info.plist for AppleBacklight.kext to find one that matches your PWMMax of 0x1499 and copy it into AppleBacklightInjector.kext Info.plist such that it matches _UID=99 (eg. you need an entry F99Txxx).

I will work on how to handle this for real before I checkin any changes regarding LMAX.
I think adding an official _UID for LMAX 0x1499 and 0x07a1 is in order.
Requires changes to SSDT-PNLF (and SSDT-IGPU in the case of the probook repo) and AppleBacklightInjector Info.plist.
 
Yes, I see why.
Setting LMAX to something non-standard requires customization of AppleBacklightInjector's Info.plist.
There is no data for _UID=99, as it requires a custom range that matches the ig-platform-id PWMMax.
(that was my original design for SSDT-PNLF.dsl, which SSDT-IGPU from ProBook repo uses)
Look in the Info.plist for AppleBacklight.kext to find one that matches your PWMMax of 0x1499 and copy it into AppleBacklightInjector.kext Info.plist such that it matches _UID=99 (eg. you need an entry F99Txxx).

I will work on how to handle this for real before I checkin any changes regarding LMAX.
I think adding an official _UID for LMAX 0x1499 and 0x07a1 is in order.
Requires changes to SSDT-PNLF (and SSDT-IGPU in the case of the probook repo) and AppleBacklightInjector Info.plist.

I guess now you will wait for some other reports of my problem to add those patches to the official repo?

EDIT is there anything you want me to test?
 
Last edited:
I guess now you will wait for some other reports of my problem to add those patches to the official repo?

We'll see after you test.
Those diffs look like this:
Code:
diff --git a/hotpatch/SSDT-IGPU.dsl b/hotpatch/SSDT-IGPU.dsl
index 528a77d..4c79953 100644
--- a/hotpatch/SSDT-IGPU.dsl
+++ b/hotpatch/SSDT-IGPU.dsl
@@ -216,6 +216,8 @@ DefinitionBlock ("", "SSDT", 2, "hack", "igpu", 0)
 #define SANDYIVY_PWMMAX 0x710
 #define HASWELL_PWMMAX 0xad9
 #define SKYLAKE_PWMMAX 0x56c
+#define CUSTOM_PWMMAX_07a1 0x07a1
+#define CUSTOM_PWMMAX_1499 0x1499

     External(RMCF.BKLT, IntObj)
     External(RMCF.LMAX, IntObj)
@@ -356,6 +358,8 @@ DefinitionBlock ("", "SSDT", 2, "hack", "igpu", 0)
             If (Local2 == SANDYIVY_PWMMAX) { _UID = 14 }
             ElseIf (Local2 == HASWELL_PWMMAX) { _UID = 15 }
             ElseIf (Local2 == SKYLAKE_PWMMAX) { _UID = 16 }
+            ElseIf (Local2 == CUSTOM_PWMMAX_07a1) { _UID = 17 }
+            ElseIf (Local2 == CUSTOM_PWMMAX_1499) { _UID = 18 }
             Else { _UID = 99 }
         }
     }
diff --git a/kexts/AppleBacklightInjector.kext/Contents/Info.plist b/kexts/AppleBacklightInjector.kext/Contents/Info.plist
index 2278029..3082216 100644
--- a/kexts/AppleBacklightInjector.kext/Contents/Info.plist
+++ b/kexts/AppleBacklightInjector.kext/Contents/Info.plist
@@ -36,6 +36,10 @@
                <data>ABEAAAA2AFQAfQCyAPUBSQGxAisCuANZBBME7AXzBzQIrwrZ</data>
                <key>F16Txxxx</key>
                <data>ABEAAAAYACcAOgBSAHEAlgDEAPwBQAGTAfYCbgL+A6oEeAVs</data>
+                <key>F17Txxxx</key>
+                <data>ABEAAAAfADQATwBxAJsAzwEOAV0BuwIvArkDYAQpBR4GRAeh</data>
+                <key>F18Txxxx</key>
+                <data>ABEAAABTAIwA1QExAaICLgLYA64BuwSsB1kJHAs7DdAQ6hSZ</data>
            </dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleBacklight</string>
 
We'll see after you test.
Those diffs look like this:
Code:
diff --git a/hotpatch/SSDT-IGPU.dsl b/hotpatch/SSDT-IGPU.dsl
index 528a77d..4c79953 100644
--- a/hotpatch/SSDT-IGPU.dsl
+++ b/hotpatch/SSDT-IGPU.dsl
@@ -216,6 +216,8 @@ DefinitionBlock ("", "SSDT", 2, "hack", "igpu", 0)
 #define SANDYIVY_PWMMAX 0x710
 #define HASWELL_PWMMAX 0xad9
 #define SKYLAKE_PWMMAX 0x56c
+#define CUSTOM_PWMMAX_07a1 0x07a1
+#define CUSTOM_PWMMAX_1499 0x1499

     External(RMCF.BKLT, IntObj)
     External(RMCF.LMAX, IntObj)
@@ -356,6 +358,8 @@ DefinitionBlock ("", "SSDT", 2, "hack", "igpu", 0)
             If (Local2 == SANDYIVY_PWMMAX) { _UID = 14 }
             ElseIf (Local2 == HASWELL_PWMMAX) { _UID = 15 }
             ElseIf (Local2 == SKYLAKE_PWMMAX) { _UID = 16 }
+            ElseIf (Local2 == CUSTOM_PWMMAX_07a1) { _UID = 17 }
+            ElseIf (Local2 == CUSTOM_PWMMAX_1499) { _UID = 18 }
             Else { _UID = 99 }
         }
     }
diff --git a/kexts/AppleBacklightInjector.kext/Contents/Info.plist b/kexts/AppleBacklightInjector.kext/Contents/Info.plist
index 2278029..3082216 100644
--- a/kexts/AppleBacklightInjector.kext/Contents/Info.plist
+++ b/kexts/AppleBacklightInjector.kext/Contents/Info.plist
@@ -36,6 +36,10 @@
                <data>ABEAAAA2AFQAfQCyAPUBSQGxAisCuANZBBME7AXzBzQIrwrZ</data>
                <key>F16Txxxx</key>
                <data>ABEAAAAYACcAOgBSAHEAlgDEAPwBQAGTAfYCbgL+A6oEeAVs</data>
+                <key>F17Txxxx</key>
+                <data>ABEAAAAfADQATwBxAJsAzwEOAV0BuwIvArkDYAQpBR4GRAeh</data>
+                <key>F18Txxxx</key>
+                <data>ABEAAABTAIwA1QExAaICLgLYA64BuwSsB1kJHAs7DdAQ6hSZ</data>
            </dict>
            <key>CFBundleIdentifier</key>
            <string>com.apple.driver.AppleBacklight</string>
What do you want me to test? How do i pull these changes in the git repo? You can put them in beta branch so i can download them aand test a fresh build with those settings?
 
What do you want me to test? How do i pull these changes in the git repo? You can put them in beta branch so i can download them aand test a fresh build with those settings?

Pushed to 'beta' branch.
 
Pushed to 'beta' branch.
Perfectly working on bos 1.40 also, no more crazy flickering, brightness stuck at max level but hell yeah i can finally use it!! Tell me if you need anything. I don't know how you can give so much time to the community, is there a way to support your work?
 
Status
Not open for further replies.
Back
Top