Contribute
Register

[Help] My hackintosh error dsdt/ssdt i can't patch

Status
Not open for further replies.
The only thing you're interested in doing is moving the EC related code from _OFF to _REG.
The rest of the code in _OFF is left as-is.
\_SB.PCI0.LPCB.EC.ECNV (0x02) move to _reg
and If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, One)))
in patching for _reg right?
 
\_SB.PCI0.LPCB.EC.ECNV (0x02) move to _reg
and If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, One)))
in patching for _reg right?

Yes.
 
+ when i move
\_SB.PCI0.LPCB.EC.ECNV (0x02)
and
If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, One)))
to _reg nothing change
+ssdt 5-6 there is a bug in
OperationRegion (PCI2, SystemMemory, EBAS (0x1000), Field (PCI2, DWordAcc, Lock, Preserve)
+evething i used
iasl -da -dl DSDT.aml SSDT*.aml
 

Attachments

  • Screen Shot 2018-04-25 at 23.46.26.png
    Screen Shot 2018-04-25 at 23.46.26.png
    76 KB · Views: 106
  • Screen Shot 2018-04-25 at 23.47.27.png
    Screen Shot 2018-04-25 at 23.47.27.png
    172.9 KB · Views: 101
  • DSDT.dsl
    565.6 KB · Views: 111
  • SSDT-5.dsl
    16.8 KB · Views: 101
  • SSDT-6.dsl
    29.2 KB · Views: 100
+ when i move
\_SB.PCI0.LPCB.EC.ECNV (0x02)
and If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, One))) to reg nothing change
+ssdt 5-6 there is a bug in
OperationRegion (PCI2, SystemMemory, EBAS (0x1000), Field (PCI2, DWordAcc, Lock, Preserve)
+evething i used
iasl -da -dl DSDT.aml SSDT*.aml

Your files are not disassembled properly.
Make sure you use: iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
(all native DSDT and SSDTs must be present in the current directory)
(refs.txt must have the correct content)
As per guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Your DSDT has no _REG method in EC scope (quite unusual, actually), so you need to add one.

Note: It could be that your DSDT has no EmbeddedControl region (I didn't check). If so, no need for _REG and _OFF will probably work unmodified. Hint: knowledge of the ACPI specification is useful.
 
what is this ? how i do it?

Read all of post #44.

Hint: Your next step is to patch SSDT-5 for calling _OFF from _INI and just that. Then test.
 
Your files are not disassembled properly.
Make sure you use: iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
(all native DSDT and SSDTs must be present in the current directory)
(refs.txt must have the correct content):
I did something wrong? check attched file help me
 

Attachments

  • Terminal Saved Output.txt
    6.7 KB · Views: 138
I did something wrong? check attched file help me

You do not have all DSDT+SSDTs in the directory.
You have only DSDT.aml,SSDT-5.aml,SSDT-6.aml.
As per guide, for proper disassembly, you must have all SSDTs + DSDT (from ACPI/origin).
Please read the guide carefully; follow as written instead of doing something different.
 
Your SSDT-10.aml has nothing to do with brightness controls. It has to do with keyboard mapping.
You should name it SSDT-Keyboard.aml.
when i rename keyboard mapping not working
Hint: Your next step is to patch SSDT-5 for calling _OFF from _INI and just that. Then test.
i try again ssdt 5 and ssdt 6 compile not error
but patch _reg in DSDT not change when i used patch into method label _REG parent_hid PNP0C09 insert for dsdt of you in guide
what i should do
 

Attachments

  • debug_24644.zip
    2 MB · Views: 50
Last edited:
when i rename keyboard mapping not working

Your mistake.
The name you chose to use is not in SortedOrder.
Clover will load only the SSDTs you name in SortedOrder, if SortedOrder specified.
No need for SortedOrder, so you might as well remove it.
Refer to the guide, "Recommended configurations":
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

i try again ssdt 5 and ssdt 6 compile not error
but patch _reg in DSDT not change when i used patch into method label _REG parent_hid PNP0C09 insert for dsdt of you in guide
what i should do

As I mentioned earlier, probably no need for any edits to _OFF, no need to move such code to _REG (your computer has no EmbeddedControl region, therefore no concern for "EC related" code).

You need to patch only SSDT-5 (to call _OFF from _INI).

Note: Your config.plist ACPI settings are wrong. See ACPI guide, "Recommended configurations", or see plists provided in the guide:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Also, a simple add-on SSDT can be used to call _OFF.
Save as SSDT-DDGPU.aml
Code:
// For disabling the discrete GPU
DefinitionBlock("", "SSDT", 2, "hack", "_DDGPU", 0)
{
    External(_SB.PCI0.RP05.PEGP._OFF, MethodObj)
    Device(RMD1)
    {
        Name(_HID, "RMD10000")
        Method(_INI) { \_SB.PCI0.RP05.PEGP._OFF() }
    }
}
//EOF
 
Last edited:
Status
Not open for further replies.
Back
Top