Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

I'm trying to apply the system_HPET patch, but it inserts a Return (BUF0) and that is not defined. Could it be that mine is called BUFF?

Please fill out your profile as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Also...
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Please fill out your profile as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Also...
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Sorry, saw that after I had already posted. I attached the output from iasl, and I'm having a hell of a time finding the model number of the motherboard in this thing. It's a Dell Poweredge R320 w/ E5-2407 and an Intel C600 chipset. Here's the technical documentation if you know how to find it...

I think I attached what was asked in the post you linked.

Thanks in advance for any assistance!
 

Attachments

  • CLOVER.zip
    1.5 MB · Views: 60
  • IMG_1740.JPG
    IMG_1740.JPG
    3.8 MB · Views: 96
Sorry, saw that after I had already posted. I attached the output from iasl, and I'm having a hell of a time finding the model number of the motherboard in this thing. It's a Dell Poweredge R320 w/ E5-2407 and an Intel C600 chipset. Here's the technical documentation if you know how to find it...

I think I attached what was asked in the post you linked.

Thanks in advance for any assistance!

Off-topic.
Desktop questions are off-topic in the laptop forums.
 
No idea what you're asking.
Please ask questions that are detailed and clear.

Sorry for my English
I am installing OSX Mac for dell laptop which have no internet I want to edit dsdt/ssdt (which created on clover Pressing F4). So can I copy all dsdt/ssdt files to pendrive then copy to another working OSX Mac system and edit/Patch that file ??
 
Sorry for my English
I am installing OSX Mac for dell laptop which have no internet I want to edit dsdt/ssdt (which created on clover Pressing F4). So can I copy all dsdt/ssdt files to pendrive then copy to another working OSX Mac system and edit/Patch that file ??

You can patch the files on another PC (copy ACPI/origin somewhere, work on them), then copy them to the target machine when done (ACPI/patched).
 
I try to patch DSDT to replace GFX0 to IGPU.

But I still have two errors with acpi 6.1:

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

Return (Zero)
}

compiler return syntax error unexpected "}"

I try to patch it with :

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

But don't work.

And last line of code cause compile error :

unexpected $end and premature End-Of-File

Here is my DSDT.dsl

Thank you for your help.
 

Attachments

  • System DSDT.zip
    51.8 KB · Views: 68
I try to patch DSDT to replace GFX0 to IGPU.

But I still have two errors with acpi 6.1:

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

Return (Zero)
}

compiler return syntax error unexpected "}"

I try to patch it with :

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

But don't work.

And last line of code have compile error :

unexpected $end and premature End-Of-File

Here is my DSDT.dsl

Thank you for your help.

Read post #1.
Disassemble with refs.txt as per guide.
 
Read post #1.
Disassemble with refs.txt as per guide.

I did that with :

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)

in my refs.txt

Should I add something in refs.txt and retry disassembly ?

Thank you
 
I did that with :

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)

in my refs.txt

Should I add something in refs.txt and retry disassembly ?

Thank you

If you had used a correct refs.txt, you would not be having the error you have.
Make sure you created refs.txt properly.
 
Back
Top