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: 74

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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.
 
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
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: 69
  • clover-n-kext-.zip
    2.7 MB · Views: 68
Last edited:
Joined
Sep 5, 2016
Messages
19
Motherboard
XPS 15 9550 4825T
CPU
Intel(R) Core(TM) i7-6700HQ @ 2.60GHz
Graphics
Intel HD 530 & NVIDIA GTX 960M
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Delete the PRW method can solve this problem
 
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
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))
}
}
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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...
 
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
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?
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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
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>
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,100
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
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.
Top