Seite 1 von 1

A waketimer issue

Verfasst: 29. Feb 2020, 15:36
von BeverlyB
I installed Lightsout 3.5 (thank you for fixing the hibernation issue reported - it's running much better now)
I noticed with an earlier beta that the lightsout wake timer is not set if I resume from hibernate when the NAS is powered off.

I just looked through the logs and I see that the waketimer gets set properly after backup and before my PC hibernates.
2020-02-29 01:18:59:563 [ 5] DEBUG Running: powercfg.exe -waketimers
2020-02-29 01:18:59:596 [ 31] DEBUG OUT>> Timer set by [SERVICE] \Device\HarddiskVolume7\Windows\System32\svchost.exe (SystemEventsBroker) expires at 11:58:53 PM on 3/12/2020.
2020-02-29 01:18:59:596 [ 31] DEBUG OUT>> Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Backup Scan' scheduled task that requested waking the computer.
2020-02-29 01:18:59:596 [ 31] DEBUG OUT>> Timer set by [SERVICE] \Device\HarddiskVolume7\Windows\System32\svchost.exe (SystemEventsBroker) expires at 3:23:52 AM on 3/1/2020.
2020-02-29 01:18:59:596 [ 31] DEBUG OUT>> Reason: Windows will execute 'Maintenance Activator' scheduled task that requested waking the computer.
2020-02-29 01:18:59:596 [ 31] DEBUG OUT>> Timer set by [SERVICE] \Device\HarddiskVolume7\Program Files\AxoNet Software GmbH\LightsOut3Client\LightsOut2.Client.Service.exe (Lo3ClntSvc) expires at 12:54:30 AM on 3/1/2020.
2020-02-29 01:18:59:596 [ 5] DEBUG >>>>> finished powercfg.exe -waketimers [=0] <<<<<

Then the NAS shuts off because it detects no activity.
This is all good so far

I do not have my PC set to automatically wakeup the NAS.

When my system is in that state:
PC just resumed from hibernate, NAS is off - nothing scheduled to run in the calendar at this time

There is no waketimer set by lightsout.

I see this in the logs. It looks like the waketimer is being canceled when the system resumes.
2020-02-29 07:53:17:517 [ 44] DEBUG ServiceCore.EntryWritten: ******** 107/Microsoft-Windows-Kernel-Power=The system has resumed from sleep. ********
2020-02-29 07:53:18:088 [ 50] DEBUG >> NetworkAddressChanged: Address has changed, no network available
2020-02-29 07:53:18:088 [ 50] DEBUG RestartTimer 160 - (re)started!
2020-02-29 07:53:18:239 [ 50] DEBUG >> NetworkAvailabilityChanged: Network is NOT available!
2020-02-29 07:53:18:239 [ 50] DEBUG RestartTimer 160 - (re)started!
2020-02-29 07:53:18:570 [ 12] INFO > ------ PBS ResumeAutomatic ------
2020-02-29 07:53:18:570 [ 12] DEBUG > HandleResume 1
2020-02-29 07:53:18:570 [ 12] DEBUG > HandleResume 2
2020-02-29 07:53:18:570 [ 12] DEBUG WakeTimeHandler.Reset
2020-02-29 07:53:18:570 [ 12] WARN WakeupTimer.CancelWakeUpTime 3/1/2020 12:53:00 AM
...
2020-02-29 07:53:50:364 [ 28] DEBUG ShowPowerCfgWakeTimers
2020-02-29 07:53:50:373 [ 28] DEBUG Running: powercfg.exe -waketimers
2020-02-29 07:53:50:364 [ 3] DEBUG BlockStandby: Changed Block=True, Reason=Lights-Out 3, Calendar entry is active
2020-02-29 07:53:50:418 [ 12] DEBUG OUT>> Timer set by [SERVICE] \Device\HarddiskVolume7\Windows\System32\svchost.exe (SystemEventsBroker) expires at 11:58:53 PM on 3/12/2020.
2020-02-29 07:53:50:418 [ 12] DEBUG OUT>> Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Backup Scan' scheduled task that requested waking the computer.
2020-02-29 07:53:50:420 [ 12] DEBUG OUT>> Timer set by [SERVICE] \Device\HarddiskVolume7\Windows\System32\svchost.exe (SystemEventsBroker) expires at 3:23:52 AM on 3/1/2020.
2020-02-29 07:53:50:420 [ 12] DEBUG OUT>> Reason: Windows will execute 'Maintenance Activator' scheduled task that requested waking the computer.
2020-02-29 07:53:50:420 [ 28] DEBUG >>>>> finished powercfg.exe -waketimers [=0] <<<<<

It doesn't get set again until the NAS is powered on while my PC is on.
If there is a day that I do not need to access the NAS, my PC will not wake up to do the backup at the scheduled time.

P.S. I'm sorry to hear about your father. May you find comfort in this difficult time.

Re: A waketimer issue

Verfasst: 2. Mär 2020, 12:38
von Martin
Hi Beverly,

you wrote
When my system is in that state:
PC just resumed from hibernate, NAS is off - nothing scheduled to run in the calendar at this time

There is no waketimer set by lightsout.
Yes, if nothing is scheduled in calender, then no waketimer is set.
It doesn't get set again until the NAS is powered on while my PC is on.
If there is a day that I do not need to access the NAS, my PC will not wake up to do the backup at the scheduled time.
Question: Is there a schedule for a later time? Can you tell me the schedule for this pc?

Regards
Martin

Re: A waketimer issue

Verfasst: 2. Mär 2020, 14:22
von Martin
Found the issue. Will be fixed in 3.5.1.

Re: A waketimer issue

Verfasst: 3. Mär 2020, 06:02
von BeverlyB
Fantastic! Thank you!

Re: A waketimer issue

Verfasst: 9. Mär 2020, 18:13
von Martin

Re: A waketimer issue

Verfasst: 11. Mär 2020, 01:27
von BeverlyB
I tried the test build and so far it's working well.
Thank you!