Contribute
Register

[Help please] Laptop continue wake from sleep

Status
Not open for further replies.
Joined
Feb 6, 2019
Messages
66
Motherboard
Lenovo Thinkpad x1 yoga 3rd
CPU
i7-8550U
Graphics
UHD 620
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. iOS
My specs:
Thinkpad x1 yoga 2018
i7-8550u
uhd620

Question : sometimes laptop cannot sleep , continue the sleep-wake cycle. Sometimes if this happen and I close the lid for a while , eventually the bluetooth will break , not usable anymore.

Abnormal sleep
In terminal I type : pmset -g
The wake reason is XDCI

In terminal I type : pmset -g log
It shows log like this :
2019-07-13 23:31:47 +0800 Wake Wake from Normal Sleep [CDNVA] due to XDCI/: Using BATT (Charge:50%) 30 secs

Normal sleep
When its sleep normally , the log shows:
2019-07-20 00:38:43 +0800 Wake Wake from Normal Sleep [CDNVA] due to power-button XDCI/User: Using AC (Charge:100%) )

Another findings
1. After I wake my laptop via usb , the sleep will break(wake reason:XDCI) and I have to shutdown and boot again.
2. The first time of sleep 100% working , but the sleep issue often comes up when my laptop sleep again
3. Power-button behaves abnormal :
  • After sleep the power button start blinking , however when I wake my laptop the power-button still blink , until I open the lid shortly after closing it , power-button glows normally again.

Any help is appreciated , thanks.
 

Attachments

  • 8175.zip
    9.4 MB · Views: 83
Last edited:
Have you mapped your USB ports correctly? Sorry, I can't take a look at your PR files right now.
 
ave you mapped your USB ports correctly? Sorry, I can't take a look at your PR files right now.
Thank god!!! Finally someone would like to help...
Yup , I've patch my USB ports according to rehabman , and I'm very sure the patch is perfect
I've also patch USB3_0x6D wake fix in my dsdt...
This problem drives me crazy...
 
Thank god!!! Finally someone would like to help...
Yup , I've patch my USB ports according to rehabman , and I'm very sure the patch is perfect
I've also patch USB3_0x6D wake fix in my dsdt...
This problem drives me crazy...
How and where to install kexts:

and then run the terminal commands:
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
 
How and where to install kexts:
Thanks for reply.
I know that installing kext in \L\E is recommended , but I put all of my kext in \Clover\kext\other just for convenience , does this lead to my sleep issue(sleep prevented by sharingd)

and then run the terminal commands:
Sorry my fault.
After discovering the sleep issue , I use sudo pmset -a hibernatemode 0 to give it a try , but cannot solve the issue.
Now I've change my setting back to hibernatemode 0 , according to rehab's guide.
 
I have found that L/E is better than clover. Although while I find it more convenient to test a kext first in Clover (easier to remove the offending kext if it borks the system), running it in L/E over Clover is important for a number of reasons (one of which is debugging purposes)
 
I have found that L/E is better than clover. Although while I find it more convenient to test a kext first in Clover (easier to remove the offending kext if it borks the system), running it in L/E over Clover is important for a number of reasons (one of which is debugging purposes)
Got it thanks, I'll give it a try.
Last small thing to confirm.
From JayMonkey's guide , I need to install "all kext(including FakeSMC)" to \L\E , and put necessary kext(FakeSMC , VoodooPS2) in clover\kext\other?
416644
 
Got it thanks, I'll give it a try.
Last small thing to confirm.
From JayMonkey's guide , I need to install "all kext(including FakeSMC)" to \L\E , and put necessary kext(FakeSMC , VoodooPS2) in clover\kext\other?
View attachment 416644
yes, all kexts belong in /L/E

and also keep a copy of only essential kexts in clover

you will notice you have duplicate kexts in both places which is fine

also remove that backup folder, does not belong there, only kexts and nothing else
 
yes, all kexts belong in /L/E

and also keep a copy of only essential kexts in clover

you will notice you have duplicate kexts in both places which is fine

also remove that backup folder, does not belong there, only kexts and nothing else
Many many thanks, moderator!
 
@sbeaber4 @Feartech unfortunately the problem still exist.

In addition to the debug file , I also upload two terminal log
"normal_sleep" is the log when it still sleep normally.
"sleep_break" is the log when sleep-wake cycle starts happen.
Thanks.
 

Attachments

  • debug_11461.zip
    4 MB · Views: 73
  • normal_sleep.zip
    2.4 KB · Views: 56
  • sleep_break.zip
    2.5 KB · Views: 60
Status
Not open for further replies.
Back
Top