Skip to content

Commit

Permalink
add MSI CX61 2PC battery patch; layout 2, layout 4 patches; compatibi…
Browse files Browse the repository at this point in the history
…lity comments
  • Loading branch information
RehabMan committed Jul 3, 2018
1 parent 41ed0e7 commit 246374e
Show file tree
Hide file tree
Showing 7 changed files with 208 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .maciasl
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
[bat] MECHREVO x6TI battery/battery_MECHREVO-x6TI.txt
[bat] Medion Akoya P6630 battery/battery_Medion-Akoya-P6630.txt
[bat] Microxperts u731ga1 (Clevo rebrand) battery/battery_Microxperts-u731ga1.txt
[bat] MSI CX61 2PC battery/battery_MSI-CX61-2PC.txt
[bat] Partaker G3 battery/battery_Partaker_G3.txt
[bat] Razer Blade (2014) battery/battery_Razer-Blade-2014.txt
[bat] Razer Blade Pro battery/battery_Razer-Blade-Pro.txt
Expand Down Expand Up @@ -177,5 +178,7 @@
[sys] Haswell LPC misc/misc_Haswell-LPC.txt
[sys] Skylake LPC misc/misc_Skylake-LPC.txt
[audio] --> Audio NullPatch.txt
[audio] Audio Layout 12 audio/audio_HDEF-layout12.txt
[audio] Audio Layout 2 audio/audio_HDEF-layout2.txt
[audio] Audio Layout 14 audio/audio_HDEF-layout14.txt
[audio] Audio Layout 3 audio/audio_HDEF-layout3.txt
[audio] Audio Layout 12 audio/audio_HDEF-layout12.txt
8 changes: 7 additions & 1 deletion Patches.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@
ED2050221AD1124600E60CD2 /* battery_Dell-Inspiron-15-7xxx.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Dell-Inspiron-15-7xxx.txt"; path = "battery/battery_Dell-Inspiron-15-7xxx.txt"; sourceTree = "<group>"; };
ED2188281ED71F220034C32E /* fix_PARSEOP_ZERO_agressive.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = fix_PARSEOP_ZERO_agressive.txt; path = syntax/fix_PARSEOP_ZERO_agressive.txt; sourceTree = "<group>"; };
ED227BBA1F014C3E003D562D /* battery_Lenovo-Miix-720.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-Miix-720.txt"; path = "battery/battery_Lenovo-Miix-720.txt"; sourceTree = "<group>"; };
ED2838FD20E4952700C8AC54 /* audio_HDEF-layout14.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "audio_HDEF-layout14.txt"; path = "audio/audio_HDEF-layout14.txt"; sourceTree = "<group>"; };
ED2838FE20E4952700C8AC54 /* audio_HDEF-layout2.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "audio_HDEF-layout2.txt"; path = "audio/audio_HDEF-layout2.txt"; sourceTree = "<group>"; };
ED2A1F171AB32E770024D58C /* battery_Lenovo-y510p.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-y510p.txt"; path = "battery/battery_Lenovo-y510p.txt"; sourceTree = "<group>"; };
ED2A20371E1D358D0088E616 /* battery_Microxperts-u731ga1.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Microxperts-u731ga1.txt"; path = "battery/battery_Microxperts-u731ga1.txt"; sourceTree = "<group>"; };
ED2C801E1C3F8A140009BA8A /* battery_Surface-Pro-v4.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Surface-Pro-v4.txt"; path = "battery/battery_Surface-Pro-v4.txt"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -171,6 +173,7 @@
EDB8A7B11C4D2679002145FF /* battery_Razer-Blade-2014.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Razer-Blade-2014.txt"; path = "battery/battery_Razer-Blade-2014.txt"; sourceTree = "<group>"; };
EDBAEF5520CEB62400B30A26 /* battery_WBIN-AirBook.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_WBIN-AirBook.txt"; path = "battery/battery_WBIN-AirBook.txt"; sourceTree = "<group>"; };
EDBC416D1AFAA14700F2C133 /* battery_Dell-XPS-14Z-L412Z.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Dell-XPS-14Z-L412Z.txt"; path = "battery/battery_Dell-XPS-14Z-L412Z.txt"; sourceTree = "<group>"; };
EDBC885B20EB2DC700FC0CD9 /* battery_MSI-CX61-2PC.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_MSI-CX61-2PC.txt"; path = "battery/battery_MSI-CX61-2PC.txt"; sourceTree = "<group>"; };
EDBE01901C90616800B82230 /* battery_Sony-VAIO-SZ1XP.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Sony-VAIO-SZ1XP.txt"; path = "battery/battery_Sony-VAIO-SZ1XP.txt"; sourceTree = "<group>"; };
EDC041151DBCE05F008724C6 /* battery_Lenovo-N480.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-N480.txt"; path = "battery/battery_Lenovo-N480.txt"; sourceTree = "<group>"; };
EDC7C00A1FE32F8700817A08 /* battery_Lenovo-V510-15IKB.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-V510-15IKB.txt"; path = "battery/battery_Lenovo-V510-15IKB.txt"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -368,6 +371,7 @@
EDB858B51E1953F200E1B32E /* battery_MECHREVO-x6TI.txt */,
ED5A9CD01A2A43710024EC94 /* battery_Medion-Akoya-P6630.txt */,
ED2A20371E1D358D0088E616 /* battery_Microxperts-u731ga1.txt */,
EDBC885B20EB2DC700FC0CD9 /* battery_MSI-CX61-2PC.txt */,
ED50326E1DA683CE00150E8B /* battery_Partaker_G3.txt */,
EDB8A7B11C4D2679002145FF /* battery_Razer-Blade-2014.txt */,
ED0F9F561C7CA8AA008DC54D /* battery_Razer-Blade-Pro.txt */,
Expand Down Expand Up @@ -444,9 +448,11 @@
84F8BB9E1806D51000BD0774 /* Audio */ = {
isa = PBXGroup;
children = (
EDB703891BAB9D49002AED96 /* audio_HDEF-layout3.txt */,
84F8BB9D1806D4A800BD0774 /* audio_HDEF-layout12.txt */,
84B7DC531808792C00CAA692 /* audio_HDEF-layout12a.txt */,
EDB703891BAB9D49002AED96 /* audio_HDEF-layout3.txt */,
ED2838FE20E4952700C8AC54 /* audio_HDEF-layout2.txt */,
ED2838FD20E4952700C8AC54 /* audio_HDEF-layout14.txt */,
);
name = Audio;
sourceTree = "<group>";
Expand Down
38 changes: 38 additions & 0 deletions audio/audio_HDEF-layout14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout14.txt

# Note: Change your layout ID if you need something different
# Note: "hda-gfx" is not needed with Haswell and should probably be removed

# Inject Audio info
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 14, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;

into method label _DSM parent_label HDAS remove_entry;
into device label HDAS insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 14, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
38 changes: 38 additions & 0 deletions audio/audio_HDEF-layout2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#Maintained by: RehabMan for: Laptop Patches
#audio_HDEF-layout2.txt

# Note: Change your layout ID if you need something different
# Note: "hda-gfx" is not needed with Haswell and should probably be removed

# Inject Audio info
into method label _DSM parent_label HDEF remove_entry;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 2, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;

into method label _DSM parent_label HDAS remove_entry;
into device label HDAS insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 2, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
"PinConfigurations", Buffer() { },\n
//"MaximumBootBeepVolume", 77,\n
})\n
}\n
end;
1 change: 1 addition & 0 deletions battery/battery_Lenovo-Ux10-Z580.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# Lenovo U410
# Lenovo Z580
# Lenovo U430 Touch (probably U330/U530, etc)
# Lenovo IdeaPad Flex 15 (per razzvg on tmx, aytic on github)
#
# DOES NOT work for:
# Lenovo U510
Expand Down
119 changes: 119 additions & 0 deletions battery/battery_MSI-CX61-2PC.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
#Maintained by: RehabMan for: Laptop Patches
#battery_MSI-CX61-2PC.txt

# Created by Kali2000 on Jul 3, 2018. Based on RehabMan guide.
# Bug fixing by RehabMan 2018-07-03

# works for:
# MSI CX61 2PC

# Add B1B2 method
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n
end;

# 264-bit Register edit in EC (not accessed but renaming it will bring errors if is in the future)
into device label EC code_regex (SMD0,)\s+(264) replace_matched begin SMDX,%2,//%1%2 end;

# 16-Bit Register edit in SCN0
into device label SCM0 code_regex TD38,\s+16 replace_matched begin D380,8,D381,8 end;
into device label SCM0 code_regex TD3A,\s+16 replace_matched begin D3A0,8,D3A1,8 end;
into device label SCM0 code_regex TD3C,\s+16 replace_matched begin D3C0,8,D3C1,8 end;
into device label SCM0 code_regex TD3E,\s+16 replace_matched begin D3E0,8,D3E1,8 end;
into device label SCM0 code_regex TD40,\s+16 replace_matched begin D400,8,D401,8 end;
into device label SCM0 code_regex TD42,\s+16 replace_matched begin D420,8,D421,8 end;
into device label SCM0 code_regex TD44,\s+16 replace_matched begin D440,8,D441,8 end;
into device label SCM0 code_regex TD46,\s+16 replace_matched begin D460,8,D461,8 end;
into device label SCM0 code_regex TD48,\s+16 replace_matched begin D480,8,D481,8 end;
into device label SCM0 code_regex TD4A,\s+16 replace_matched begin D4A0,8,D4A1,8 end;
into device label SCM0 code_regex TD4C,\s+16 replace_matched begin D4C0,8,D4C1,8 end;
into device label SCM0 code_regex TD4E,\s+16 replace_matched begin D4E0,8,D4E1,8 end;
into device label SCM0 code_regex TD50,\s+16 replace_matched begin D500,8,D501,8 end;
into device label SCM0 code_regex TD52,\s+16 replace_matched begin D520,8,D521,8 end;
into device label SCM0 code_regex TD54,\s+16 replace_matched begin D540,8,D541,8 end;
into device label SCM0 code_regex TD56,\s+16 replace_matched begin D560,8,D561,8 end;
into device label SCM0 code_regex TD58,\s+16 replace_matched begin D580,8,D581,8 end;
into device label SCM0 code_regex TD5A,\s+16 replace_matched begin D5A0,8,D5A1,8 end;
into device label SCM0 code_regex TD5C,\s+16 replace_matched begin D5C0,8,D5C1,8 end;
into device label SCM0 code_regex TD5E,\s+16 replace_matched begin D5E0,8,D5E1,8 end;
into device label SCM0 code_regex TD60,\s+16 replace_matched begin D600,8,D601,8 end;
into device label SCM0 code_regex TD62,\s+16 replace_matched begin D620,8,D621,8 end;
into device label SCM0 code_regex TD64,\s+16 replace_matched begin D640,8,D641,8 end;
into device label SCM0 code_regex TD66,\s+16 replace_matched begin D660,8,D661,8 end;

# fix 16-bit methods
into method label WQAD code_regex \(TD38, replaceall_matched begin (B1B2(D380,D381), end;
into method label WQAD code_regex \(TD3A, replaceall_matched begin (B1B2(D3A0,D3A1), end;
into method label WQAD code_regex \(TD3C, replaceall_matched begin (B1B2(D3C0,D3C1), end;
into method label WQAD code_regex \(TD3E, replaceall_matched begin (B1B2(D3E0,D3E1), end;
into method label WQAD code_regex \(TD40, replaceall_matched begin (B1B2(D400,D401), end;
into method label WQAD code_regex \(TD42, replaceall_matched begin (B1B2(D420,D421), end;
into method label WQAD code_regex \(TD44, replaceall_matched begin (B1B2(D440,D441), end;
into method label WQAD code_regex \(TD46, replaceall_matched begin (B1B2(D460,D461), end;
into method label WQAD code_regex \(TD48, replaceall_matched begin (B1B2(D480,D481), end;
into method label WQAD code_regex \(TD4A, replaceall_matched begin (B1B2(D4A0,D4A1), end;
into method label WQAD code_regex \(TD4C, replaceall_matched begin (B1B2(D4C0,D4C1), end;
into method label WQAD code_regex \(TD4E, replaceall_matched begin (B1B2(D4E0,D4E1), end;
into method label WQAE code_regex \(TD50, replaceall_matched begin (B1B2(D500,D501), end;
into method label WQAE code_regex \(TD52, replaceall_matched begin (B1B2(D520,D521), end;
into method label WQAE code_regex \(TD54, replaceall_matched begin (B1B2(D540,D541), end;
into method label WQAE code_regex \(TD56, replaceall_matched begin (B1B2(D560,D561), end;
into method label WQAE code_regex \(TD58, replaceall_matched begin (B1B2(D580,D581), end;
into method label WQAE code_regex \(TD5A, replaceall_matched begin (B1B2(D5A0,D5A1), end;
into method label WQAE code_regex \(TD5C, replaceall_matched begin (B1B2(D5C0,D5C1), end;
into method label WQAE code_regex \(TD5E, replaceall_matched begin (B1B2(D5E0,D5E1), end;
into method label WQAE code_regex \(TD60, replaceall_matched begin (B1B2(D600,D601), end;
into method label WQAE code_regex \(TD62, replaceall_matched begin (B1B2(D620,D621), end;
into method label WQAE code_regex \(TD64, replaceall_matched begin (B1B2(D640,D641), end;
into method label WQAE code_regex \(TD66, replaceall_matched begin (B1B2(D660,D661), end;

# fix more 16-bit reads/writes
into method label WSAD code_regex Store\s+\(Arg1,\s+TD38\) replaceall_matched begin Store(Arg1,D380) Store(Arg1>>8,D381) end;
into method label WSAD code_regex Return\s+\(TD38\) replaceall_matched begin Return (B1B2(D380,D381)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD3A\) replaceall_matched begin Store(Arg1,D3A0) Store(Arg1>>8,D3A1) end;
into method label WSAD code_regex Return\s+\(TD3A\) replaceall_matched begin Return (B1B2(D3A0,D3A1)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD3C\) replaceall_matched begin Store(Arg1,D3C0) Store(Arg1>>8,D3C1) end;
into method label WSAD code_regex Return\s+\(TD3C\) replaceall_matched begin Return (B1B2(D3C0,D3C1)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD3E\) replaceall_matched begin Store(Arg1,D3E0) Store(Arg1>>8,D3E1) end;
into method label WSAD code_regex Return\s+\(TD3E\) replaceall_matched begin Return (B1B2(D3E0,D3E1)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD40\) replaceall_matched begin Store(Arg1,D400) Store(Arg1>>8,D401) end;
into method label WSAD code_regex Return\s+\(TD40\) replaceall_matched begin Return (B1B2(D400,D401)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD42\) replaceall_matched begin Store(Arg1,D420) Store(Arg1>>8,D421) end;
into method label WSAD code_regex Return\s+\(TD42\) replaceall_matched begin Return (B1B2(D420,D421)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD44\) replaceall_matched begin Store(Arg1,D420) Store(Arg1>>8,D441) end;
into method label WSAD code_regex Return\s+\(TD44\) replaceall_matched begin Return (B1B2(D440,D441)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD46\) replaceall_matched begin Store(Arg1,D460) Store(Arg1>>8,D461) end;
into method label WSAD code_regex Return\s+\(TD46\) replaceall_matched begin Return (B1B2(D460,D461)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD48\) replaceall_matched begin Store(Arg1,D480) Store(Arg1>>8,D481) end;
into method label WSAD code_regex Return\s+\(TD48\) replaceall_matched begin Return (B1B2(D480,D481)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD4A\) replaceall_matched begin Store(Arg1,D4A0) Store(Arg1>>8,D4A1) end;
into method label WSAD code_regex Return\s+\(TD4A\) replaceall_matched begin Return (B1B2(D4A0,D4A1)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD4C\) replaceall_matched begin Store(Arg1,D4C0) Store(Arg1>>8,D4C1) end;
into method label WSAD code_regex Return\s+\(TD4C\) replaceall_matched begin Return (B1B2(D4C0,D4C1)) end;
into method label WSAD code_regex Store\s+\(Arg1,\s+TD4E\) replaceall_matched begin Store(Arg1,D4E0) Store(Arg1>>8,D4E1) end;
into method label WSAD code_regex Return\s+\(TD4E\) replaceall_matched begin Return (B1B2(D4E0,D4E1)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD50\) replaceall_matched begin Store(Arg1,D500) Store(Arg1>>8,D501) end;
into method label WSAE code_regex Return\s+\(TD50\) replaceall_matched begin Return (B1B2(D500,D501)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD52\) replaceall_matched begin Store(Arg1,D520) Store(Arg1>>8,D521) end;
into method label WSAE code_regex Return\s+\(TD52\) replaceall_matched begin Return (B1B2(D520,D521)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD54\) replaceall_matched begin Store(Arg1,D540) Store(Arg1>>8,D541) end;
into method label WSAE code_regex Return\s+\(TD54\) replaceall_matched begin Return (B1B2(D540,D541)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD56\) replaceall_matched begin Store(Arg1,D560) Store(Arg1>>8,D561) end;
into method label WSAE code_regex Return\s+\(TD56\) replaceall_matched begin Return (B1B2(D560,D561)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD58\) replaceall_matched begin Store(Arg1,D580) Store(Arg1>>8,D581) end;
into method label WSAE code_regex Return\s+\(TD58\) replaceall_matched begin Return (B1B2(D580,D581)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD5A\) replaceall_matched begin Store(Arg1,D5A0) Store(Arg1>>8,D5A1) end;
into method label WSAE code_regex Return\s+\(TD5A\) replaceall_matched begin Return (B1B2(D5A0,D5A1)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD5C\) replaceall_matched begin Store(Arg1,D5C0) Store(Arg1>>8,D5C1) end;
into method label WSAE code_regex Return\s+\(TD5C\) replaceall_matched begin Return (B1B2(D5C0,D5C1)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD5E\) replaceall_matched begin Store(Arg1,D5E0) Store(Arg1>>8,D5E1) end;
into method label WSAE code_regex Return\s+\(TD5E\) replaceall_matched begin Return (B1B2(D5E0,D5E1)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD60\) replaceall_matched begin Store(Arg1,D600) Store(Arg1>>8,D601) end;
into method label WSAE code_regex Return\s+\(TD60\) replaceall_matched begin Return (B1B2(D600,D601)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD62\) replaceall_matched begin Store(Arg1,D620) Store(Arg1>>8,D621) end;
into method label WSAE code_regex Return\s+\(TD62\) replaceall_matched begin Return (B1B2(D620,D621)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD64\) replaceall_matched begin Store(Arg1,D640) Store(Arg1>>8,D641) end;
into method label WSAE code_regex Return\s+\(TD64\) replaceall_matched begin Return (B1B2(D640,D641)) end;
into method label WSAE code_regex Store\s+\(Arg1,\s+TD66\) replaceall_matched begin Store(Arg1,D660) Store(Arg1>>8,D661) end;
into method label WSAE code_regex Return\s+\(TD66\) replaceall_matched begin Return (B1B2(D660,D661)) end;
2 changes: 1 addition & 1 deletion graphics/graphics_Rename-B0D3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Method (_DSM, 4, NotSerialized)\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 12, 0x00, 0x00, 0x00 },\n
"layout-id", Buffer() { 14, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
})\n
}\n
Expand Down

0 comments on commit 246374e

Please sign in to comment.