Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Joined
Nov 1, 2018
Messages
14
Motherboard
HP Zbook g5 17
CPU
Xeon 2176M
Graphics
Quadro 5200 + intel UHD P630
Mac
MacBook Pro
Mobile Phone
Android, iOS
I've tried last weekend without success with even compile guide for whatevergreen and lilu but finish with freeze screen on mojave.
I think my intel is hdp 630 and not hd630 because of xeon model. I thought that compilation ssdt will set right cpu and motherboard ?
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
12,467
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
Joined
Jan 15, 2016
Messages
66
Motherboard
Acer Aspire 7 A717-72G
CPU
i7-8750H
Graphics
UHD 630/GTX1060
Mac
MacBook Pro
Mobile Phone
iOS
As mentioned in guide navigate to working folder in terminal where are only DSDT.aml, SSDT-0.aml, SSDT-1.aml, SSDT-2.aml, SSDT-3.aml and SSDT-4.aml

Then:

Code:
External(MDBG, MethodObj, 1)
External(_GPE.MMTB, MethodObj, 0)
External(_SB.PCI0.LPCB.H_EC.ECWT, MethodObj, 2)
External(_SB.PCI0.LPCB.H_EC.ECRD, MethodObj, 1)
External(_SB.PCI0.LPCB.H_EC.ECMD, MethodObj, 1)
External(_SB.PCI0.PEG0.PEGP.SGPO, MethodObj, 2)
External(_SB.PCI0.GFX0.DD02._BCM, MethodObj, 1)
External(_SB.PCI0.SAT0.SDSM, MethodObj, 4)
External(_GPE.VHOV, MethodObj, 3)
External(_SB.PCI0.XHC.RHUB.TPLD, MethodObj, 2)
1: Copy the code above and type in terminal pbpaste>refs.txt
2: Decompile with iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
3: Open SSDT-1.dsl and fix the errors:

Code:
{
    Sleep (PGCD)
    \_SB.GGOV (0x02010016)
    OLDV
}
to:

Code:
{
    Sleep (PGCD)
    \_SB.GGOV (0x02010016, OLDV)
}
and:

Code:
{
    Sleep (DFUD)
    \_SB.GGOV (0x02010014)
    OLDV
}
to:

Code:
{
    Sleep (DFUD)
    \_SB.GGOV (0x02010014, OLDV)
}
last:

Code:
Store (\_SB.GGOV (0x02010014), OLDV)
\_SB.GGOV (0x02010014)
DFUE
to:

Code:
Store (\_SB.GGOV (0x02010014), OLDV)
\_SB.GGOV (0x02010014, DFUE)
 
Joined
Apr 22, 2015
Messages
95
Motherboard
Dell G7 15
CPU
i7-8750H
Graphics
UHD 630 + GTX 1060 1920x1080
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
iOS
Hey @RehabMan I am trying to set a compilable DSDT so I can therefore apply some patches. I am unable to get it compilable even after applying your ECRW (in a _CRS method) patch and creating the XBT2 method and renaming where XBT is called. I am getting unexpected PARSEOP_INTEGER. The DSDT.dsl out of the zip is the one with the error.
Thanks.
 

Attachments

Joined
Apr 24, 2016
Messages
2
Motherboard
HM370
CPU
i5 8300H
Graphics
UHD 630/ GTX 1050 Ti
Mobile Phone
Android
I have literally different errors from I don't know how to fix them!
412855
 

Attachments

Joined
Oct 20, 2015
Messages
19
Motherboard
ASUS Z390i-GAMING
CPU
i7-8700K
Graphics
RX 580, HD 630
Mac
iMac, MacBook, MacBook Air, Mac mini
Mobile Phone
Android, iOS
Good day !
I ask you to give me advice on the proper disassembling of files. I do this:
1. In Clover, I press F4 and get dump the native ACPI files
2. Next: iasl -dl DSDT.aml SSDT * .aml and I get the following warnings:

Can I continue to optimize dsdt.dsl further or do I need to eliminate these warnings? If so, how to do it?

iasl -dl DSDT.aml SSDT*.aml
Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x4040C (263180) bytes
ACPI: DSDT 0x0000000000000000 04040C (v02 ALASKA A M I 01072009 INTL 20160527)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000010025D070100 => 5D070100 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000110025D070100 => 5D070100 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000210025D070100 => 5D070100 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000310025D070100 => 5D070100 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000010025D070000 => 5D070000 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000110025D070000 => 5D070000 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000210025D070000 => 5D070000 (20180427/dsobject-602)
ACPI Warning: Truncated 64-bit constant found in 32-bit table: 000310025D070000 => 5D070000 (20180427/dsobject-602)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Warning - Emitting ASL code "External (ESPC)"
This is a conflicting declaration with some other declaration within the ASL code.
This external declaration may need to be deleted in order to recompile the dsl file.

Warning - Emitting ASL code "External (PSON)"
This is a conflicting declaration with some other declaration within the ASL code.
This external declaration may need to be deleted in order to recompile the dsl file.
 
Joined
Jul 15, 2017
Messages
5
Motherboard
MSI B360M MORTAR
CPU
i5 9400
Graphics
RX 560
Mac
Mac mini
Hi all I got a used Dell e7270 Laptop and installed with your preferred guide and tools installation was smooth and it is running smoothly except some things not working these are
1. Keyboard :- working but brightness and function key are not working
2. HDMI :- I am not able to connect any second display when I connect display my primary display goes to black
3. DSDT and SSDT I tried to follow your guide and extract original dsdt and sddt.aml and then decompile them with iasl but I could not apply patch and recompile them with maciasl
4. touchscreen is not working i tried Voodooi2c.kext and its setalite kext
5. I installed your reporting file script to report my error but it shows an error unable to connect and could not generate any error report.

my Specs

Dell e7270

CPU Intel Core i7 6600U

Ram 8 GB

SSD :- Sandisk 500 GB M.2

Display :- full HD Touchscreen Display

Mac OS :- Mojave 10.14.5.
 
Top