Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Feartech

Moderator
Joined
Aug 3, 2013
Messages
10,371
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
I'm So tired of this error, Please help me out !! :crazy:
Use this tool and upload your problem reporting files:
 
Joined
Jul 25, 2013
Messages
17
Motherboard
ASUS Z170-P
CPU
i7-6700
Graphics
GTX 960 Ti
Mobile Phone
iOS
Use this tool and upload your problem reporting files:
I just have only one error in compiling, Because the problem is only with the DSDT Compiling, Please check that out
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
10,371
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
I just have only one error in compiling, Because the problem is only with the DSDT Compiling, Please check that out
can't do much without all your files....
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,731
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Here is my Clover Extracted Origin folder, Please help me out Skip those errors.
The error you have is covered in post #1.
Please read it carefully.
 
Joined
Jul 25, 2013
Messages
17
Motherboard
ASUS Z170-P
CPU
i7-6700
Graphics
GTX 960 Ti
Mobile Phone
iOS
The error you have is covered in post #1.
Please read it carefully.
Fixed as u said already using ACPI 6.1 but I cannot fix the $end of premature file error, Please help me fix it . Please look at the .dsl attached in the post 3,095
 
Joined
Dec 18, 2013
Messages
309
Motherboard
Toshiba KIRA 102
CPU
i7-4510U
Graphics
HD 4400, 2560x1440
Mac
MacBook Pro
Mobile Phone
Android
In the "Common Patches" section, does the patching order matters? For example, are the results of patching Patch A and then Patch B the same as those of patching Patch B and then Patch A?
My approach is to apply the patches as they are listed here. Mr. RehabMan always says "Read the guide very carefully. Again!". So I ended up following every word as written.
 
Joined
Jan 15, 2016
Messages
58
Motherboard
Acer Aspire 7 A717-72G
CPU
i7-8750H
Graphics
UHD 630/GTX1060
Mac
MacBook Pro
Mobile Phone
iOS
Fixed as u said already using ACPI 6.1 but I cannot fix the $end of premature file error, Please help me fix it . Please look at the .dsl attached in the post 3,095
Decompile your DSDT and SSDTs with iasl -da -dl DSDT.aml SSDT-*.aml


390951

That is the fix for the first two errors:

Before:
Code:
                If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW (If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }))
                }
After:
Code:
                If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW) If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }
                }
Then you have to fix the last error:

390952

From:
Code:
    Method (ADBG, 1, Serialized)
    {
        If (CondRefOf (MDBG))
        {
            Return (MDBG)
            Arg0
        }

        Return (Zero)
    }
To:
Code:
    Method (ADBG, 1, Serialized)
    {
        If (CondRefOf (MDBG))
        {
            Store (Arg0, MDBG)
            Return
        }

        Return (Zero)
    }
Result:
390954

As you can see your errors are described in post #1.
Please read carefully.
 
Top