Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Hi
Im' getting an error message when trying to recompile my DSDT. Can someone please take a look at the original .aml files attached and help me to fix the error so that I can add the necessary patches?
thanks
 

Attachments

  • DSDT.zip
    66.5 KB · Views: 59
Hi.

I get a segmentation fault compiling the F4 files with the refs txt

I have seen files in EFI get corrupt or something with some kexts. maybe that happened here?
I will delete the Orig directory and try again.

That was not it. I have done on this build with 10.11 but with different bios settings.

Now I see post #2851 must have changed with the different bios settings

compiled without -da + refs.txt

Interesting, compiling the first time with different bios settings there were quite a lot more errors.
This time only a single small error.
 

Attachments

  • Terminal Saved Output.zip
    1.4 KB · Views: 54
Last edited:
Hi.

I get a segmentation fault compiling the F4 files with the refs txt

I have seen files in EFI get corrupt or something with some kexts. maybe that happened here?
I will delete the Orig directory and try again.

That was not it. I have done on this build with 10.11 but with different bios settings.

Now I see post #2851 must have changed with the different bios settings

compiled without -da + refs.txt

Interesting, compiling the first time with different bios settings there were quite a lot more errors.
This time only a single small error.

You failed to attach your ACPI/origin files.
 
Hi
Im' getting an error message when trying to recompile my DSDT. Can someone please take a look at the original .aml files attached and help me to fix the error so that I can add the necessary patches?
thanks

The error you have is specifically addressed in post #1.
 
I replaced the code for PM6H as mentioned in post # 1 but I do not understand how to fix
20331, 6152, Illegal recursive call to method that creates named objectsIllegal recursive call to method that creates named objects (XTBT)
can you please clarify which part of post #1 I should apply in this case?
thanks
 
I replaced the code for PM6H as mentioned in post # 1 but I do not understand how to fix
20331, 6152, Illegal recursive call to method that creates named objectsIllegal recursive call to method that creates named objects (XTBT)
can you please clarify which part of post #1 I should apply in this case?
thanks

Easy way is to create a new method and call it instead:
Code:
Method(XTB2, 2, Serialized) { XTBT(Arg0, Arg1) }

And at the call site:
Code:
...
                ADBG ("OS_Up_Received")
                If (LAnd (LEqual (DPTF, One), LEqual (DDDR, One)))
                {
                    If (LEqual (_REV, 0x05))
                    {
                        Return (Zero)
                    }

                    XTB2 (TBSE, CPGN)
                }
 
hi rehabman please fix my one ssdt error I could'nt fix I request you
 

Attachments

  • DSDT.dsl.zip
    56.8 KB · Views: 61
Back
Top