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.


Meow
8007 posts

Uber Geek
+1 received by user: 4003

Moderator
Trusted
Lifetime subscriber

Topic # 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?





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

Uber Geek
+1 received by user: 1937

Trusted
Spark
Subscriber

  Reply # 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

1992 posts

Uber Geek
+1 received by user: 589

Trusted
Subscriber

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

Always at the same time or does it vary?

322 posts

Ultimate Geek
+1 received by user: 76


  Reply # 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/ 


973 posts

Ultimate Geek
+1 received by user: 200


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

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




Meow
8007 posts

Uber Geek
+1 received by user: 4003

Moderator
Trusted
Lifetime subscriber

  Reply # 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.





Mad Scientist
19094 posts

Uber Geek
+1 received by user: 2481

Trusted
Lifetime subscriber

  Reply # 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.





Swype on iOS is detrimental to accurate typing. Apologies in advance.


gzt

10253 posts

Uber Geek
+1 received by user: 1576


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

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

gzt

10253 posts

Uber Geek
+1 received by user: 1576


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

michaelmurfy:
Nothing in the event viewer either.

Event log power-troubleshooter filter?

gzt

10253 posts

Uber Geek
+1 received by user: 1576


  Reply # 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.






Meow
8007 posts

Uber Geek
+1 received by user: 4003

Moderator
Trusted
Lifetime subscriber

  Reply # 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!





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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



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.

Alternatively, you can receive a daily email with Geekzone updates.