Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


michaelmurfy

meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

#228879 27-Jan-2018 12:44
Send private message

I've got a bit of a strange one.

 

I use Linux 99% of the time however in the rare time I use Windows to game I often stay booted into it (as it overwrites my bootloader - thanks Windows). My computer wakes from Hibernate (and also Sleep) and I can't for the life of me figure out why it is doing so. It doesn't wake under Linux at all (from Sleep). I do use WOL however magic packets are not being sent to the computer and Windows is instructed to only wake with a magic packet is sent. I've also confirmed it isn't network activity as I've tried unplugging the computer from Ethernet.

 

powercfg -lastwake shows this:

 

PS C:\Users\micha> powercfg -lastwake
Wake History Count - 1
Wake History [0]
Wake Source Count - 0

 

Nothing in the event viewer either. I've tried following anything I can think of. Anyone else got any tips?





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


Filter this topic showing only the reply marked as answer Create new topic
hio77
'That VDSL Cat'
13036 posts

Uber Geek
+1 received by user: 3896

ID Verified
Trusted
Lizard Networks
Subscriber

  #1947530 27-Jan-2018 13:48
Send private message

Wakelocks are a pain to hunt down, i prefer to just ignore them.. 





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have. 




mdf

mdf
3566 posts

Uber Geek
+1 received by user: 1519

Trusted

  #1947542 27-Jan-2018 14:35
Send private message

Always at the same time or does it vary?

bagheera
544 posts

Ultimate Geek
+1 received by user: 189


  #1947555 27-Jan-2018 14:58
Send private message

michaelmurfy:

 

I've got a bit of a strange one.

 

I use Linux 99% of the time however in the rare time I use Windows to game I often stay booted into it (as it overwrites my bootloader - thanks Windows). My computer wakes from Hibernate (and also Sleep) and I can't for the life of me figure out why it is doing so. It doesn't wake under Linux at all (from Sleep). I do use WOL however magic packets are not being sent to the computer and Windows is instructed to only wake with a magic packet is sent. I've also confirmed it isn't network activity as I've tried unplugging the computer from Ethernet.

 

powercfg -lastwake shows this:

 

PS C:\Users\micha> powercfg -lastwake
Wake History Count - 1
Wake History [0]
Wake Source Count - 0

 

Nothing in the event viewer either. I've tried following anything I can think of. Anyone else got any tips?

 

 

 

 

had a problem like this at my last work with all HP pc waking up in windows 10 - it turned out to be a setting in the USB power management that fixed it - can not find the info on it now tho.

 

 

 

edit: some common wol windows 10 stuff

 

https://www.howtogeek.com/122954/how-to-prevent-your-computer-from-waking-up-accidentally/ 




lNomNoml
1841 posts

Uber Geek
+1 received by user: 521

ID Verified

  #1947633 27-Jan-2018 23:22
Send private message

Disable on USB devices (keyboard and mouse), and USB ports.


michaelmurfy

meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1947640 28-Jan-2018 00:33
Send private message

@mdf different times - sometimes during the day, sometimes at night.

 

In Hibernate there is no power being provided to USB devices and there is no way to wake it from these. The only other thing I could think of was the network but this will make no sense as this doesn't occur when the PC is booted into Linux (of which, I can still wake via the network if needed). You literally have to press the power button to wake it from hibernate in Windows on this PC where if I sleep it under Linux (and it doesn't wake at random here either) you can use the keyboard to wake the PC.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


Batman
Mad Scientist
30012 posts

Uber Geek
+1 received by user: 6217

Trusted
Lifetime subscriber

  #1947659 28-Jan-2018 07:03
Send private message

my laptop has had this insomnia for 4 years since i got it. still haven't found the cause.


 
 
 
 

Shop now for Lenovo laptops and other devices (affiliate link).

gzt

gzt
18678 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1947671 28-Jan-2018 08:03
Send private message

Next time it sleeps unplug all the usb devices. See if it wakes up.

gzt

gzt
18678 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1947672 28-Jan-2018 08:23
Send private message

michaelmurfy:
Nothing in the event viewer either.

Event log power-troubleshooter filter?

gzt

gzt
18678 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1947673 28-Jan-2018 08:33
Send private message

powercfg -devicequery wake_armed

^devices with 'allow this device to wake computer' enabled

powercfg -waketimers

^scheduled tasks set to wake computer'

Apparently there is also a power management option to prevent that entirely.




michaelmurfy

meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1947972 28-Jan-2018 23:21
Send private message

Boom! Turned out to be Windows Update because I hardly ever use the Windows side of things. Thanks all! Didn't think that Windows Update could wake the computer from a hibernate. Now back to using Linux for the next while until I decide to play a Windows only game again!





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.