Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Blacket

Banned
Joined
Jul 21, 2015
Messages
23
Motherboard
Asus Zenbook Pro UX501VW
CPU
i7-6700HQ
Graphics
HD 530+GTX960M
Mobile Phone
Android, 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)

Tank You.:clap::clap:

But the file below has two errors

DSDT.dsl

Line 12531
Code 6126
Message syntax error unexpected PARSEOP_ARG1

And:

Line 16154
Code 6126
Message syntax error unexpected PARSEOP_CLOSE_PAREN
 
Joined
Jan 15, 2016
Messages
68
Motherboard
Acer Aspire 7 A717-72G
CPU
i7-8750H
Graphics
UHD 630/GTX1060
Mac
MacBook Pro
Mobile Phone
iOS
Tank You.:clap::clap:

But the file below has two errors

DSDT.dsl

Line 12531
Code 6126
Message syntax error unexpected PARSEOP_ARG1

And:

Line 16154
Code 6126
Message syntax error unexpected PARSEOP_CLOSE_PAREN
Then you made something wrong.

407832
407833
 

Attachments

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

Top