Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Hi RehabMan! I tried to follow your guide but I always end up with error on disassembly. Please help me with this.

I was able to disassemble without any issue: iasl -dl DSDT.aml SSDT*.aml
 
Hello guys, I want to patch my dsdt for i2c touchpad. But I got a small error. I used clover to get the files. I disassembled them with the refs.txt file. But if I compile the dsdt in maciasl I ll get 2 compiling errors.
 

Attachments

  • Ohne Titel.png
    Ohne Titel.png
    35.1 KB · Views: 95
Last edited:
Hello guys, I want to patch my dsdt for i2c touchpad. But I got a small error. I used clover to get the files. I disassembled them with the refs.txt file. But if I compile the dsdt in maciasl I ll get 2 compiling errors.

Apply "Fix PARSEOP_ZERO (aggressive)" patch.
 
@RehabMan how can I check or test my Floating regions are broken or not? is there any terminal command for that or need something else to check?
 
@RehabMan how can I check or test my Floating regions are broken or not? is there any terminal command for that or need something else to check?

What do you mean by "Floating regions are broken"?
 
What do you mean by "Floating regions are broken"?
I have some stability issues and I think I am running with incorrect SystemMemory addresses. Lately, I played with too much BIOS settings. So, how can I check this?
 
I have some stability issues and I think I am running with incorrect SystemMemory addresses. Lately, I played with too much BIOS settings. So, how can I check this?

Capture new ACPI/origin with F4 in Clover.
Disassemble ACPI/origin.
Disassemble ACPI/patched.
In Terminal, run a diff from ACPI directory:
Code:
diff origin patched | grep SystemMemory
 
I'm trying to patch DSDT for my laptop (HP ProBook 440 G5), it gives only errors on the DSDT.dsl. I attached my EFI folder(with ACPI/origin in it) and also the .dsl to see what I'm saying.
Also here's the log (I'm using refs.txt) :

Code:
JEKs-MBP:DSDT jek$ iasl -da -dl -fe refs.txt 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 0x1F6B5 (128693) bytes
ACPI: DSDT 0x0000000000000000 01F6B5 (v02 HPQOEM 837B     00000000 INTL 20160527)
External object resolution file SSDT-x8_6-HwpLvt.aml
Input file SSDT-x8_6-HwpLvt.aml, Length 0x628 (1576) bytes
ACPI: SSDT 0x0000000000000000 000628 (v02 PmRef  HwpLvt   00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x8_5-ApHwp.aml
Input file SSDT-x8_5-ApHwp.aml, Length 0x317 (791) bytes
ACPI: SSDT 0x0000000000000000 000317 (v02 PmRef  ApHwp    00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x8_4-Cpu0Hwp.aml
Input file SSDT-x8_4-Cpu0Hwp.aml, Length 0xBA (186) bytes
ACPI: SSDT 0x0000000000000000 0000BA (v02 PmRef  Cpu0Hwp  00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x8_3-ApCst.aml
Input file SSDT-x8_3-ApCst.aml, Length 0x30A (778) bytes
ACPI: SSDT 0x0000000000000000 00030A (v02 PmRef  ApCst    00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x8_2-Cpu0Cst.aml
Input file SSDT-x8_2-Cpu0Cst.aml, Length 0x3FF (1023) bytes
ACPI: SSDT 0x0000000000000000 0003FF (v02 PmRef  Cpu0Cst  00003001 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x8_1-ApIst.aml
Input file SSDT-x8_1-ApIst.aml, Length 0xD14 (3348) bytes
ACPI: SSDT 0x0000000000000000 000D14 (v02 PmRef  ApIst    00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x8_0-Cpu0Ist.aml
Input file SSDT-x8_0-Cpu0Ist.aml, Length 0x58B (1419) bytes
ACPI: SSDT 0x0000000000000000 00058B (v02 PmRef  Cpu0Ist  00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-9-CtdpB.aml
Input file SSDT-9-CtdpB.aml, Length 0x9CF (2511) bytes
ACPI: SSDT 0x0000000000000000 0009CF (v02 CtdpB  CtdpB    00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-8-CpuSsdt.aml
Input file SSDT-8-CpuSsdt.aml, Length 0x17AE (6062) bytes
ACPI: SSDT 0x0000000000000000 0017AE (v02 CpuRef CpuSsdt  00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-GddvDumm.aml
Input file SSDT-7-GddvDumm.aml, Length 0x2ABC (10940) bytes
ACPI: SSDT 0x0000000000000000 002ABC (v02 GddvDu GddvDumm 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-DptfTabl.aml
Input file SSDT-6-DptfTabl.aml, Length 0x38F9 (14585) bytes
ACPI: SSDT 0x0000000000000000 0038F9 (v02 DptfTa DptfTabl 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-PtidDevc.aml
Input file SSDT-5-PtidDevc.aml, Length 0x734 (1844) bytes
ACPI: SSDT 0x0000000000000000 000734 (v01 HPQOEM PtidDevc 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-Sata0Ide.aml
Input file SSDT-4-Sata0Ide.aml, Length 0x1BC (444) bytes
ACPI: SSDT 0x0000000000000000 0001BC (v02 HPQOEM Sata0Ide 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-SaSsdt.aml
Input file SSDT-3-SaSsdt.aml, Length 0x3053 (12371) bytes
ACPI: SSDT 0x0000000000000000 003053 (v02 SaSsdt SaSsdt   00003000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-Tpm2Tabl.aml
Input file SSDT-2-Tpm2Tabl.aml, Length 0x3C8 (968) bytes
ACPI: SSDT 0x0000000000000000 0003C8 (v02 HPQOEM Tpm2Tabl 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-16-PwrCtlEv.aml
Input file SSDT-16-PwrCtlEv.aml, Length 0x2F9 (761) bytes
ACPI: SSDT 0x0000000000000000 0002F9 (v02 HP     PwrCtlEv 00000001 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-15-HPCONDEV.aml
Input file SSDT-15-HPCONDEV.aml, Length 0x32 (50) bytes
ACPI: SSDT 0x0000000000000000 000032 (v01 HP     HPCONDEV 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-14-HPINNBWL.aml
Input file SSDT-14-HPINNBWL.aml, Length 0xE6B (3691) bytes
ACPI: SSDT 0x0000000000000000 000E6B (v01 HP     HPINNBWL 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-13-Wwan.aml
Input file SSDT-13-Wwan.aml, Length 0x505 (1285) bytes
ACPI: SSDT 0x0000000000000000 000505 (v02 INTEL  Wwan     00000001 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-12-EInkApp.aml
Input file SSDT-12-EInkApp.aml, Length 0x346 (838) bytes
ACPI: SSDT 0x0000000000000000 000346 (v01 INTEL  EInkApp  00000000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-11-sensrhub.aml
Input file SSDT-11-sensrhub.aml, Length 0x29F (671) bytes
ACPI: SSDT 0x0000000000000000 00029F (v02 INTEL  sensrhub 00000000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-10-HdaDsp.aml
Input file SSDT-10-HdaDsp.aml, Length 0x141 (321) bytes
ACPI: SSDT 0x0000000000000000 000141 (v02 INTEL  HdaDsp   00000000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-PLT_RTD3.aml
Input file SSDT-1-PLT_RTD3.aml, Length 0xCA64 (51812) bytes
ACPI: SSDT 0x0000000000000000 00CA64 (v02 AcpiRe PLT_RTD3 00001000 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-ShmTable.aml
Input file SSDT-0-ShmTable.aml, Length 0x12A (298) bytes
ACPI: SSDT 0x0000000000000000 00012A (v02 HP     ShmTable 00000001 INTL 20160527)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
refs.txt: Imported 10 external method definitions
Pass 1 parse of [DSDT]
ACPI Error: ^PCI0.LPCB.EC0_.ECMX: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PCI0.LPCB.EC0_.ECRG: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PCI0.LPCB.EC0_.PSCF: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^PCI0.LPCB.EC0_.BCSC: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^RP01.PXSX: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^^IETM.DFFG: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20180427/psobject-371)
JEKs-MBP:DSDT jek$
 

Attachments

  • DSDT.dsl
    1.1 KB · Views: 140
  • EFI.zip
    17 MB · Views: 112
Capture new ACPI/origin with F4 in Clover.
Disassemble ACPI/origin.
Disassemble ACPI/patched.
In Terminal, run a diff from ACPI directory:
Code:
diff origin patched | grep SystemMemory

Which part am I doing wrong? When I use the command on Terminal nothing happening.

Screen Shot 2018-09-25 at 20.02.18.png

I attached my origin and patched files could you please check it.
 

Attachments

  • Archive.zip
    120.8 KB · Views: 107
Back
Top