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