Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

After I have applyed USB Fix for 10.11 all of the USB devices that were under AppleUSBXHCI branch went to AppleUSBEHCI one. Does that mean that all of the devices are now operating in the USB 2.0 mode?
 

Attachments

  • Before USB patches.png
    Before USB patches.png
    84.9 KB · Views: 115
  • After USB patches.png
    After USB patches.png
    80.9 KB · Views: 106
After I have applyed USB Fix for 10.11 all of the USB devices that were under AppleUSBXHCI branch went to AppleUSBEHCI one. Does that mean that all of the devices are now operating in the USB 2.0 mode?

It means all the devices you see under EH01/EH02 are likely USB2 devices.
 
It means all the devices you see under EH01/EH02 are likely USB2 devices.

I follow the guide
use : patchmatic - extract DSDT to desktop copy aisle to /usr/bin
Terminal cd ~ /Desktop/extract
iasl -da -dl DSDT.aml
I encountered the error as in image
What can I do to fix this error ?
 

Attachments

  • Screen Shot 2016-01-29 at 6.31.33 AM.png
    Screen Shot 2016-01-29 at 6.31.33 AM.png
    69.6 KB · Views: 139
I follow the guide
use : patchmatic - extract DSDT to desktop copy aisle to /usr/bin
Terminal cd ~ /Desktop/extract
iasl -da -dl DSDT.aml
I encountered the error as in image
What can I do to fix this error ?

What you're doing is all wrong. You need to read carefully.

patchmatic -extract cannot be used unless your Clover configuration is clean.

Disassembly must include all native DSDT and SSDTs.

Use Clover F4 to extract. Disassemble as described in the guide.
 
What you're doing is all wrong. You need to read carefully.

patchmatic -extract cannot be used unless your Clover configuration is clean.

Disassembly must include all native DSDT and SSDTs.

Use Clover F4 to extract. Disassemble as described in the guide.

SSDT7.

please help me how to fix 4096 - syntax error, unexpected PARSEOP_ARGO

Code:
Device (DD02) {
Method (_ADR, 0, Serialized) // _ADR: Address
{
Return (\_SB.PCI0.GFX0.DD02._ADR ())
}


Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
{
Return (\_SB.PCI0.GFX0.DD02._DCS ())
}


Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
{
Return (\_SB.PCI0.GFX0.DD02._DGS ())
}


Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
{
}


Method (_BCL, 0, NotSerialized) // _BCL: Brightness Control Levels
{
Return (\_SB.PCI0.GFX0.DD02._BCL)
}


Method (_BQC, 0, NotSerialized) // _BQC: Brightness Query Current
{
Return (\_SB.PCI0.GFX0.DD02._BQC)
}


Method (_BCM, 1, NotSerialized) // _BCM: Brightness Control Method
{
Return (\_SB.PCI0.GFX0.DD02._BCM)
Arg0
}
}


Device (DD03)
{
Method (_ADR, 0, Serialized) // _ADR: Address
{
Return (\_SB.PCI0.GFX0.DD03._ADR ())
}


Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
{
}


Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
{
Return (\_SB.PCI0.GFX0.DD03._DGS ())
}


Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
{
}
}
 
Remove the line that is just 'Arg0'.
ok thank you.
i use patch [gfx0] Disable/Enable on _WAK/_PTS (DSDT)
error 4057 name already exists inscope (\_SB.PCI0.PEG0.PEGP._OFF)
please help me how to fix
Code:
  ^^^GFX0.GLID (KLID)                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)
                    \_SB.PCI0.PEG0.PEGP._OFF()
                }
            }


            Name (RFST, Zero)
            Name (BTRS, Zero)
            Method (ECPS, 1, NotSerialized)
            {
                Store (Arg0, ECSS)
                Store (BTEN, BTRS)
                Store (Zero, BTEN)
                If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
                {
                    Store (RFEX, RFST)
                }


                If (LEqual (Arg0, 0x04)) {}

 
ok thank you.
i use patch [gfx0] Disable/Enable on _WAK/_PTS (DSDT)
error 4057 name already exists inscope (\_SB.PCI0.PEG0.PEGP._OFF)
please help me how to fix
Code:
  ^^^GFX0.GLID (KLID)                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)
                    \_SB.PCI0.PEG0.PEGP._OFF()
                }
            }


            Name (RFST, Zero)
            Name (BTRS, Zero)
            Method (ECPS, 1, NotSerialized)
            {
                Store (Arg0, ECSS)
                Store (BTEN, BTRS)
                Store (Zero, BTEN)
                If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
                {
                    Store (RFEX, RFST)
                }


                If (LEqual (Arg0, 0x04)) {}


Not possible to diagnose without the complete file.
 
Why are there so many errors ? How I am gonna fix it ? I don't even know what all this errors are. Help please.


This window pop up when I press 'Compile' in MaciASL. Screen Shot 2016-01-31 at 4.09.44 PM.png
 
Why are there so many errors ? How I am gonna fix it ? I don't even know what all this errors are. Help please.


This window pop up when I press 'Compile' in MaciASL. View attachment 174661

Read post #1 for correct disassembly and correct MaciASL setup (ACPI 5.0).

Post ACPI/origin if you need help.
 
Back
Top