home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Media Portal freezes on wake
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sebastiii" data-source="post: 1160527" data-attributes="member: 60104"><p>Hey,</p><p>I was removed all log but keep a copy in notepad lol</p><p></p><p>So :</p><p>@ 13:25 (PC goes to suspend)</p><p>[2015-11-11 13:25:34,378] [Log ] [MPMain ] [INFO ] - Main: OnSuspend - Done</p><p></p><p>But right after (but that's not true i have start suspend from remote so i wasn't present on my HTPC, the strange thing is that the same suspend doesn't give the same result lol)</p><p>[2015-11-11 13:25:34,794] [Log ] [MPMain ] [INFO ] - Main: User is providing input to the session</p><p></p><p>So MP start the new code (OnResumeSuspend(); from // GUIT_SESSION_USER_PRESENCE is only provide on Win8 and above / case 0<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>[2015-11-11 13:25:34,794] [Log ] [MPMain ] [INFO ] - Main: Providing input - Resuming operation of user interface</p><p></p><p>After that : the real resume that start at 16:08</p><p>[2015-11-11 16:08:07,515] [Log ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Connected</p><p>[2015-11-11 16:08:26,970] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMESUSPEND)</p><p>Note the diff of 20 seconds (no clue why)</p><p></p><p>And here PBT_APMRESUMESUSPEND was skipped because already handled when suspend from case 0:</p><p>[2015-11-11 16:08:26,970] [Log ] [MPMain ] [INFO ] - Main: PBT_APMRESUMESUSPEND was already handled, skipping</p><p>[2015-11-11 16:08:26,986] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMEAUTOMATIC)</p><p>[2015-11-11 16:08:26,986] [Log ] [MPMain ] [INFO ] - Main: PBT_APMRESUMEAUTOMATIC was already handled, skipping</p><p>[2015-11-11 16:08:26,986] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)</p><p></p><p>So what i have done is to let MP try again the resume part of code (even if already executed) but only if already executed (from another test, the case 0: was not executed so it act as normal).</p><p>The thing i didn't understand is that [USER=153825]@Jeffrios[/USER] log didn't have the PBT_APMRESUMESUSPEND executed and this is why you put it in Case 0:, it's strange.</p><p>On his log it seems to always has the PBT_APMRESUMEAUTOMATIC but not the PBT_APMRESUMESUSPEND lol.</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1160527, member: 60104"] Hey, I was removed all log but keep a copy in notepad lol So : @ 13:25 (PC goes to suspend) [2015-11-11 13:25:34,378] [Log ] [MPMain ] [INFO ] - Main: OnSuspend - Done But right after (but that's not true i have start suspend from remote so i wasn't present on my HTPC, the strange thing is that the same suspend doesn't give the same result lol) [2015-11-11 13:25:34,794] [Log ] [MPMain ] [INFO ] - Main: User is providing input to the session So MP start the new code (OnResumeSuspend(); from // GUIT_SESSION_USER_PRESENCE is only provide on Win8 and above / case 0:) [2015-11-11 13:25:34,794] [Log ] [MPMain ] [INFO ] - Main: Providing input - Resuming operation of user interface After that : the real resume that start at 16:08 [2015-11-11 16:08:07,515] [Log ] [TvClient-TvHome: HeartBeat transmitter thread] [INFO ] - RemoteControl - Connected [2015-11-11 16:08:26,970] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMESUSPEND) Note the diff of 20 seconds (no clue why) And here PBT_APMRESUMESUSPEND was skipped because already handled when suspend from case 0: [2015-11-11 16:08:26,970] [Log ] [MPMain ] [INFO ] - Main: PBT_APMRESUMESUSPEND was already handled, skipping [2015-11-11 16:08:26,986] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMEAUTOMATIC) [2015-11-11 16:08:26,986] [Log ] [MPMain ] [INFO ] - Main: PBT_APMRESUMEAUTOMATIC was already handled, skipping [2015-11-11 16:08:26,986] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE) So what i have done is to let MP try again the resume part of code (even if already executed) but only if already executed (from another test, the case 0: was not executed so it act as normal). The thing i didn't understand is that [USER=153825]@Jeffrios[/USER] log didn't have the PBT_APMRESUMESUSPEND executed and this is why you put it in Case 0:, it's strange. On his log it seems to always has the PBT_APMRESUMEAUTOMATIC but not the PBT_APMRESUMESUSPEND lol. :P [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Media Portal freezes on wake
Contact us
RSS
Top
Bottom