Hi
I a running EG 0.3.7r1462 under Windows 7
I have problem with system.suspend event: without MCE TV record, the detection is ok
but when MCE TV record is running, there is no system.suspend event detection.
Another thingk: in the both cases, System.QuerySuspend event is not detected
Everyone can help me ?
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
System suspend detection on win 7 when MCE TV recorder
Re: System suspend detection on win 7 when MCE TV recorder
In fact, i think that in my case when a record is running, Win 7 does'n enter suspend mode, perhaps in away mode ? i dont know how to be sure.
I tried another soft Hibernate trigger (http://www.desimonesystems.com/suspendtrigger/index.php) => this is the same problem
I tried another soft Hibernate trigger (http://www.desimonesystems.com/suspendtrigger/index.php) => this is the same problem
Re: System suspend detection on win 7 when MCE TV recorder
I confirm, the problem is that away.mode is not detected by EG.
Can everyone help me to find an issue ? perhaps by modification of the system plugin file PowerBroadcastNotifier.py ? ( I am not sure)
Regards
Can everyone help me to find an issue ? perhaps by modification of the system plugin file PowerBroadcastNotifier.py ? ( I am not sure)
Regards
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: System suspend detection on win 7 when MCE TV recorder
I have so far not found how an application can catch the "away mode" event. To set it is possible using SetThreadExecutionState but if someone finds information how to catch the system event, the away mode can also be recognized by python/eg
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: System suspend detection on win 7 when MCE TV recorder
Perhaps an idea ..
Does eg catch a windows entry in the windows log file (Kernel Power id 59 for avay mode) ?
Does eg catch a windows entry in the windows log file (Kernel Power id 59 for avay mode) ?
Re: System suspend detection on win 7 when MCE TV recorder
Another idea ..
Task scheduler can launch a program on eventlog like away mode event.
I try ; it's work but eg doe'nt detect all king of program; .bat, vb script are not detected. Why ?
Task scheduler can launch a program on eventlog like away mode event.
I try ; it's work but eg doe'nt detect all king of program; .bat, vb script are not detected. Why ?
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: System suspend detection on win 7 when MCE TV recorder
I now have a prototype script running that reads/loops the event log (but I dislike that approach because you will have to poll the log file continuously or at certain intervals)
- What check interval is needed? (once a minute, once every fifth minute....)
Please post/paste entries from the system log here for the event "away mode" and "not away mode" is shown
I need to see how the two states are logged (don't have a PC with the media stuff)
Best regards, Walter
- What check interval is needed? (once a minute, once every fifth minute....)
Please post/paste entries from the system log here for the event "away mode" and "not away mode" is shown
I need to see how the two states are logged (don't have a PC with the media stuff)
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: System suspend detection on win 7 when MCE TV recorder
I agree with you; this this not the best way ... I prefer my second idea; it's works fine without pooling
I think a plugin than can catch eventlog will be helpfull; So we must configure event Source & ID and pooling time
The joined file, is french eventlog. For Away Mode, Source is Kernel-Power and the ID 59
Regards
I think a plugin than can catch eventlog will be helpfull; So we must configure event Source & ID and pooling time
The joined file, is french eventlog. For Away Mode, Source is Kernel-Power and the ID 59
Regards
- Attachments
-
- log.rar
- (14.17 KiB) Downloaded 139 times
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: System suspend detection on win 7 when MCE TV recorder
Reading the event log method as discussed earlier is related to multiple problems but the major one is that there is no entry when you leave the "away mode"
The correct way is to follow the recommendation in this topic
http://www.eventghost.org/forum/viewtop ... f=2&t=2549
and to use GUID_SYSTEM_AWAYMODE notification
Maybe someone will find the same need and therefore help to write a small plugin
Best regards, Walter
The correct way is to follow the recommendation in this topic
http://www.eventghost.org/forum/viewtop ... f=2&t=2549
and to use GUID_SYSTEM_AWAYMODE notification
Maybe someone will find the same need and therefore help to write a small plugin
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM