Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

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 ?
 
I've tried but blink a lot. 95% black screen and screen less than 1sec. black 3s
 

Attachments

  • 77EB859F-2D0C-4261-8585-A65C892AF161.jpeg
    77EB859F-2D0C-4261-8585-A65C892AF161.jpeg
    2.1 MB · Views: 110
Thank you so much
 
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)
 
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

  • debug_5384.zip
    2.3 MB · Views: 173
  • DSDT.dsl
    1.9 MB · Views: 101
I have literally different errors from I don't know how to fix them!
412855
 

Attachments

  • CLOVER.zip
    3.6 MB · Views: 86
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.
 
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.
 
Back
Top