Contribute
Register

xps 15 9550 10.12.2 - instant wake after sleep

Status
Not open for further replies.
Joined
Jan 25, 2011
Messages
84
Motherboard
Dell XPS 15 9550
CPU
6th Generation Intel® Core™ i7-6700HQ Quad Core
Graphics
NVIDIA® GeForce® GTX 960M with 2GB GDDR5
I am using darkhandz's clover and acpi patches (attached). My laptop wakes up instantly after it goes to sleep. Can someone help?
 

Attachments

  • clover-io-kext.zip
    4 MB · Views: 92
I am using darkhandz's clover and acpi patches (attached). My laptop wakes up instantly after it goes to sleep. Can someone help?

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Attach contents of Downloads/RehabMan directory as ZIP.
 
Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Note: It is easier if you use copy/paste instead of typing the commands manually.

Attach contents of Downloads/RehabMan directory as ZIP.
Here it is. I also included a latest copy of the clover and kext output.
 

Attachments

  • RehabMan.zip
    66.2 KB · Views: 81
  • clover-n-kext-.zip
    2.7 MB · Views: 82
Last edited:
Delete the PRW method can solve this problem
 
Delete the PRW method can solve this problem
you mean remove the SSDT-PRW.aml which looks like this?

DefinitionBlock ("", "SSDT", 2, "hack", "PRW", 0x00000000)
{
External (XPRW, MethodObj) // 2 Arguments (from opcode)

Method (GPRW, 2, NotSerialized)
{
If (LEqual (0x6D, Arg0))
{
Return (Package (0x02)
{
0x6D,
Zero
})
}

If (LEqual (0x0D, Arg0))
{
Return (Package (0x02)
{
0x0D,
Zero
})
}

Return (XPRW (Arg0, Arg1))
}

Method (UPRW, 2, NotSerialized)
{
If (LEqual (0x6D, Arg0))
{
Return (Package (0x02)
{
0x6D,
Zero
})
}

If (LEqual (0x0D, Arg0))
{
Return (Package (0x02)
{
0x0D,
Zero
})
}

Return (XPRW (Arg0, Arg1))
}
}
 
Here it is. I also included a latest copy of the clover and kext output.

You are missing a patch to rename _PRW for devices in DSDT other than LANC.
You can tell by looking at your DSDT from patchmatic...
 
You are missing a patch to rename _PRW for devices in DSDT other than LANC.
You can tell by looking at your DSDT from patchmatic...
I see that. Do you have a Clover patch that removes _PWR?
 
Read hotpatch guide.
http://www.tonymacx86.com/threads/guide-using-clover-to-hotpatch-acpi.200137/

Generally _PRW calls into GPRW, and we do rename/replace on GPRW.
If it is not working for you, you should look for 'Wake reason' in your system log.

Keep in mind with some systems you still need to disable "wake on USB" in BIOS.

In darkandz's clover config, it is replacing GPRW:

<dict>
<key>Comment</key>
<string>Rename Method GPRW,02 to Method XPRW,02 and need add-on SSDT-PRW.aml</string>
<key>Find</key>
<data>
R1BSVwJwaA==
</data>
<key>Replace</key>
<data>
WFBSVwJwaA==
</data>
</dict>
 
In darkandz's clover config, it is replacing GPRW:

<dict>
<key>Comment</key>
<string>Rename Method GPRW,02 to Method XPRW,02 and need add-on SSDT-PRW.aml</string>
<key>Find</key>
<data>
R1BSVwJwaA==
</data>
<key>Replace</key>
<data>
WFBSVwJwaA==
</data>
</dict>

As I wrote previously, you need to look at your system log for 'Wake reason'.
 
Status
Not open for further replies.
Back
Top