Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Rehabman, is it possible for you to make a youtube video about how to patch DSDT. It will make me understand easier from video. Appreciate a lot for that.
 
Read post #1 for correct disassembly and correct MaciASL setup (ACPI 5.0).

Post ACPI/origin if you need help.

I do it again and now I get this from dsdl.dsl Screen Shot 2016-02-01 at 5.23.24 PM.png. How to fix?

When I open a .txt file in patch, the apply button grey out (cannot apply). Why?
 

Nothing unusual here...

Correct disassembly: iasl -da -dl DSDT.aml SSDT*.aml

DSDT.dsl: Apply "Fix PARSEOP_ZERO Error" and "Fix ADBG Error". Result: no errors.

SSDT-1.dsl: Apply "Remove _PSS placeholders"

SSDT-9.dsl: Apply "Cleanup/Fix Errors (SSDT)"
 
Nothing unusual here...

Correct disassembly: iasl -da -dl DSDT.aml SSDT*.aml

DSDT.dsl: Apply "Fix PARSEOP_ZERO Error" and "Fix ADBG Error". Result: no errors.

SSDT-1.dsl: Apply "Remove _PSS placeholders"

SSDT-9.dsl: Apply "Cleanup/Fix Errors (SSDT)"

You mean apply those patches into the specific .dsl(it's .aml is extract with linux).

Also, the origin I attached is from EFI Partition. Is that correct ? Because I cannot apply some patch(example : graphics_PNLF_haswell.txt) to DSDT.dsl(it's .aml is extract with linux)
 
You mean apply those patches into the specific .dsl(it's .aml is extract with linux).

Use the Clover F4 extract that you provided here.

Also, the origin I attached is from EFI Partition. Is that correct ? Because I cannot apply some patch(example : graphics_PNLF_haswell.txt) to DSDT.dsl(it's .aml is extract with linux)

"Brightness Fix (Haswell/Broadwell)" usually is not applied to DSDT. You should read the guide carefully.
 
I´m a newbie at this.

When I try to compile the dsdt file i get an error:
6201, 6126, syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

Scope (_PR)
{
Processor (CPU0, 0x01, 0x00000410, 0x06) {}
Processor (CPU1, 0x02, 0x00000410, 0x06) {}
Processor (CPU2, 0x03, 0x00000410, 0x06) {}
Processor (CPU3, 0x04, 0x00000410, 0x06) {}
Processor (CPU4, 0x05, 0x00000410, 0x06) {}
Processor (CPU5, 0x06, 0x00000410, 0x06) {}
Processor (CPU6, 0x07, 0x00000410, 0x06) {}
Processor (CPU7, 0x08, 0x00000410, 0x06) {}
}

Attached are my native dsdt extracted from linux and IOreg file.
 

Attachments

  • Nativ_dsdt.zip
    980.1 KB · Views: 56
I´m a newbie at this.

When I try to compile the dsdt file i get an error:
6201, 6126, syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

Scope (_PR)
{
Processor (CPU0, 0x01, 0x00000410, 0x06) {}
Processor (CPU1, 0x02, 0x00000410, 0x06) {}
Processor (CPU2, 0x03, 0x00000410, 0x06) {}
Processor (CPU3, 0x04, 0x00000410, 0x06) {}
Processor (CPU4, 0x05, 0x00000410, 0x06) {}
Processor (CPU5, 0x06, 0x00000410, 0x06) {}
Processor (CPU6, 0x07, 0x00000410, 0x06) {}
Processor (CPU7, 0x08, 0x00000410, 0x06) {}
}

Attached are my native dsdt extracted from linux and IOreg file.

It is caused by a conditional.

Change:
Code:
                If (Or (_OSI ("Windows 2006"), _OSI ("Windows 2009")))
                {
                    Device (MBT)
                    {
                        Name (_HID, EisaId ("PNP0C32"))  // _HID: Hardware ID
                        Method (GHID, 0, NotSerialized)
                        {
                            Return (Buffer (One)
                            {
                                 0x02                                           
                            })
                        }
                    }
                }

To:
Code:
                //If (Or (_OSI ("Windows 2006"), _OSI ("Windows 2009")))
                //{
                    Device (MBT)
                    {
                        Name (_HID, EisaId ("PNP0C32"))  // _HID: Hardware ID
                        Method (GHID, 0, NotSerialized)
                        {
                            Return (Buffer (One)
                            {
                                 0x02                                           
                            })
                        }
                    }
                //}
 
Back
Top