Contribute
Register

ThinkPad W550s -- Still Working -- Some Hints -- Need Your Help

Status
Not open for further replies.
It sets the "lowest wake state" of the _PRW object to zero, thus disabling wake from sleep for objects that share that _GPE index (really it disables wake for that _GPE index). Refer to the ACPI spec for more information on _GPE/_PRW/sleep states, etc.

The idea is to find all objects that share a common _GPE index in their _PRW and change the lowest wake state from whatever it is (usually 3 or 4) to zero. If your laptop uses a different _GPE index than my Lenovo, you should change the replacement _PRW to match.

Quite busy these days.
I checked out my log again, and find some messages.
Code:
May  4 10:51:20 Geoferrys-MacBook-Pro.local discoveryd[74]: Basic BTMMServer Sleep offload failed. Start deregistering
May  4 10:51:24 Geoferrys-MacBook-Pro kernel[0]: PM response took 3108 ms (49, powerd)
May  4 10:51:24 Geoferrys-MacBook-Pro kernel[0]: Failed to get hibernate image filename
May  4 10:52:50 localhost bootlog[0]: BOOT_TIME 1430707970 0
What BTMMServer short for?
 
Quite busy these days.
I checked out my log again, and find some messages.
Code:
May  4 10:51:20 Geoferrys-MacBook-Pro.local discoveryd[74]: Basic BTMMServer Sleep offload failed. Start deregistering
May  4 10:51:24 Geoferrys-MacBook-Pro kernel[0]: PM response took 3108 ms (49, powerd)
May  4 10:51:24 Geoferrys-MacBook-Pro kernel[0]: Failed to get hibernate image filename
May  4 10:52:50 localhost bootlog[0]: BOOT_TIME 1430707970 0
What BTMMServer short for?

No idea. But it comes from discoveryd, which is network related.
 
No idea. But it comes from discoveryd, which is network related.


Alright. I've successful put my laptop into sleep. But it can't wake up any more.

So let me make a description :
When I try to wake it up, the led of mutex is on, the fan starts to run, however, the red led and power button led are still blinking. Still no log about "wake reason".
Then I checked the ioreg, LPC & HPET have loaded, but AppleIntelCPUPowerManagement didn't.... I use the patch both AsusAICPUPM in clover and patch the AppleIntelCPUPowerManagement.kext directly, both in vain.
 
Alright. I've successful put my laptop into sleep. But it can't wake up any more.

So let me make a description :
When I try to wake it up, the led of mutex is on, the fan starts to run, however, the red led and power button led are still blinking. Still no log about "wake reason".
Then I checked the ioreg, LPC & HPET have loaded, but AppleIntelCPUPowerManagement didn't.... I use the patch both AsusAICPUPM in clover and patch the AppleIntelCPUPowerManagement.kext directly, both in vain.

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:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
 
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:
rm -R ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu

Code:
Geoferrys-MacBook-Pro:~ Solars$ kextstat|grep -y acpiplat
   13    2 0xffffff7f83280000 0x5f000    0x5f000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
Geoferrys-MacBook-Pro:~ Solars$ kextstat|grep -y appleintelcpu
Geoferrys-MacBook-Pro:~ Solars$

:crazy: Thanks.

View attachment Geoferry’s MacBook Pro.ioreg
View attachment RehabMan.zip
 
Code:
Geoferrys-MacBook-Pro:~ Solars$ kextstat|grep -y acpiplat
   13    2 0xffffff7f83280000 0x5f000    0x5f000    com.apple.driver.AppleACPIPlatform (3.1) <12 11 7 6 5 4 3 1>
Geoferrys-MacBook-Pro:~ Solars$ kextstat|grep -y appleintelcpu
Geoferrys-MacBook-Pro:~ Solars$

:crazy: Thanks.

View attachment 136172
View attachment 136173

Your sleep problem is probably an ACPI issue. Looks like you have dropped all OEM SSDTs and so there are probably some missing that are required. Better to include them all.

You should also disable the nvidia drivers with nv_disable=1. Best to disable the device itself via DSDT/SSDT edits as well.

You may also have "instant wake". See patches/usb.txt from my u430 repo: https://github.com/RehabMan/Lenovo-U430-Touch-DSDT-Patch
 
Your sleep problem is probably an ACPI issue. Looks like you have dropped all OEM SSDTs and so there are probably some missing that are required. Better to include them all.

You mean, the SSDT generated by ssdtPRgen miss some required method, and I have to edit the SSDT myself?

You should also disable the nvidia drivers with nv_disable=1. Best to disable the device itself via DSDT/SSDT edits as well.

I hope I can disable it.....It sounds a bad idea to buy W550s...

You may also have "instant wake". See patches/usb.txt from my u430 repo: https://github.com/RehabMan/Lenovo-U430-Touch-DSDT-Patch

The previous issue is "instant wake", after I use this patch, it can't wake...
 
You mean, the SSDT generated by ssdtPRgen miss some required method, and I have to edit the SSDT myself?

SSDTs and DSDT work together. DSDT is designed to assume OEM SSDTs (also codec by the OEM) are present and available. If you remove a bunch of code (the SSDTs), things can break.

Include all your OEM SSDTs. You can include unpatched versions simply by setting DropOem=false.

I hope I can disable it.....It sounds a bad idea to buy W550s...

There is likely an option in BIOS.

If you want an easy way to get Yosemite, buy a Mac. Getting OS X on PC laptops requires lots of work.

The previous issue is "instant wake", after I use this patch, it can't wake...

See above regarding SSDTs.
 
SSDTs and DSDT work together. DSDT is designed to assume OEM SSDTs (also codec by the OEM) are present and available. If you remove a bunch of code (the SSDTs), things can break.


Include all your OEM SSDTs. You can include unpatched versions simply by setting DropOem=false.


I'll try. :)




There is likely an option in BIOS.


If you want an easy way to get Yosemite, buy a Mac. Getting OS X on PC laptops requires lots of work.


I mean, I meant to buy T550, then I don't need to disable discrete card, the nvidia discrete card really stopped me
 
What setup_var address value did you use? I am unable to extract the actual BIOS update file from the Lenovo pre-packaged BIOS installer.
 
Status
Not open for further replies.
Back
Top