MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2006-06-19, 10:47   #1 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default unwanted wakeup and no hibernate

Hello,
Since many SVN and SVN from 18/06/2006 too, I have unwanted wakeup and no hibernate after this wakeup.
I have no scheduled task in windows, no records scheduled in MP and power scheduler is disabled in MP.
I launch MP, I choose hibernate (because resume on S3 doesn't work) as I wrote in this thread :
http://forum.team-mediaportal.com/vi...790&highlight=

First unwanted wakeup was 18/06/2006 22H26, I manually hibernate by myself.
Second unwanted wakeup was 19/06/2006 07H25 and I manually hibernate by myself too.
I post logs, from 18/06 and 19/06.
http://mp.pastebin.com/717969
What I would like to know is signification of thoses codes, if possible :
in MP log.bak from 18/06
WM_POWERBROADCAST: 0
WM_POWERBROADCAST: 4
in MP log from 19/06
WM_POWERBROADCAST: 18
WM_POWERBROADCAST: 7
Regards.
framug is offline   Reply With Quote
Old 2006-06-19, 11:19   #2 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,509
Thanks: 3
Thanked 101 Times in 59 Posts

Country:


Default Re: unwanted wakeup and no hibernate

Quote:
Originally Posted by framug
What I would like to know is signification of thoses codes, if possible :
in MP log.bak from 18/06
WM_POWERBROADCAST: 0
WM_POWERBROADCAST: 4
in MP log from 19/06
WM_POWERBROADCAST: 18
WM_POWERBROADCAST: 7
Well the codes you see here are the Parameters of the Power Broadcast sent by Windows. They're captured by MP.
In your case:
0 - The system asks if it is possible to go into suspend
All programs need to give an ok on that request, before doing a suspend.

4 - The system goes into suspend.

18 - This is the "Resume Automatic" code, which notifies the system, that the computer woke up automatically from suspend/standby

7 - This code now tells us that the automatic resume from above, was from a suspend state

Those are all messages handled by MP correctly.
However there is no indication, what lead to the wakeup.
Could have been anything, including Wakeonlan, wake on ring by a modem or any other program, inclusing MP itself.
But as you wrote, you have disabled Powerscheduler, which is the only component inside MP doing automatic waekup, i would doubt that MP is the cause of your problems.
hwahrmann is offline   Reply With Quote
Old 2006-06-19, 11:48   #3 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Thanks for your answer for resume code, hwahrmann.
I will go in sleep less idiot, this night. :lol:
The reason power scheduler is disabled is, because I used pvrs-scheduler.
And, when I saw unwanted wakeup, I thought it was a pvrs-scheduler problem then, I uninstalled it.
As I saw unwanted wakeup continue, I performed a complete new install of windows without installing pvrs. (I have a fresh install of XP saved with ghost dos, with no others programs).
I tested XP without install of MP, no wake-up during 3 days.
I installed MP latest SVN again and the problem appears again.
The no resume on S3 problem appears too.
bios PC is wake on ring disabled, Wakeonlan enabled and network card in XP is wake up lan only with magic packet because of no keyboard in my htpc, I use visual vnc and wol from another PC with a keyboard.
Maybe is it because external control plugin II is enabled ? :?
So, am I alone having this problem ?
framug is offline   Reply With Quote
Old 2006-06-19, 12:20   #4 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Around this subject of no hibernate what I have tried too :
If I schedule a task in windows (for example, launching webepg) and hibernate after.
If I don't start MP, I hibernate XP, the PC launch automaticaly, execute task (programmed during one hour max) and hibernate XP after : Normal execution
If I try the same way, with MP launched, hibernate under MP, the PC start correctly, the scheduled task is running, modify the xmltv file but, PC never hibernate and I can see MP use CPU load in manager of tasks.
framug is offline   Reply With Quote
Old 2006-06-19, 12:41   #5 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,509
Thanks: 3
Thanked 101 Times in 59 Posts

Country:


Default

framug,

i'm using pvr-scheduler since more than a year now and never experienced any problem.
It wakes up normally and shuts down as well without any prob.

Normally, when you have problems with S3 it is Hardware or driver related. I had an older driver for one of my PCI cards, which prevented the system from S3.
Updating it, solved the issue.
I'm sure it must be something like that.

As to your problem:
Why should the PC hibernate automatically after a restart?
Did you tell it so?
When you update the xmltv file, then MP will detect that and import the file. This will of course cause CPU load.
But without Powerscheduler or PVR-Scheduler active the pc will not go to sleep automatically.

regards,

Helmut
hwahrmann is offline   Reply With Quote
Old 2006-06-19, 14:31   #6 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by hwahrmann
i'm using pvr-scheduler since more than a year now and never experienced any problem.
It wakes up normally and shuts down as well without any prob.
Well, then I will reinstall it cause, it's better than powerscheduler. I had uninstalled it since some weeks cause of my problem (signaled to STSC in pvr-scheduler forum and he was not sure of pvrs problem, rather MP problem) so, I would like to post my problem here, in MP forum and, I would like to be sure this is a MP problem, not pvrs before annoying you with maybe a false problem not directly caused by MP (ecp2assembly changed and so on...).
Quote:
Originally Posted by hwahrmann
Normally, when you have problems with S3 it is Hardware or driver related. I had an older driver for one of my PCI cards, which prevented the system from S3.
Updating it, solved the issue.
I'm sure it must be something like that.
Well, I believe all my drivers are S3 compliant (I always use latest drivers of all hardware), without installing MP, resume and standby on S3 are OK and, after install MP, problem with S3 without changing any driver.
Quote:
Originally Posted by hwahrmann
Why should the PC hibernate automatically after a restart? Did you tell it so?
But without Powerscheduler or PVR-Scheduler active the pc will not go to sleep automatically.
Yes, for sure, scheduled XP task parametred with "hibernate after process ended" checked.
So, normally, PC should hibernate. How explain without MP launched, hibernate works fine ?
Quote:
Originally Posted by hwahrmann
When you update the xmltv file, then MP will detect that and import the file. This will of course cause CPU load.
OK, I can understand that so, the no hibernate is certainly not due to CPU load but rather what's explained above.
The problem is MP don't crash and/or don't generate specific log in this case then, it's difficult to give you more informations.
Bests regards.
framug is offline   Reply With Quote
Old 2006-06-19, 15:05   #7 (permalink)
Retired Team Member
 
smnnekho's Avatar
 
Join Date: Feb 2006
Location: Germany
Age: 24
Posts: 482
Thanks: 3
Thanked 0 Times in 0 Posts

My System

Send a message via ICQ to smnnekho
Default

i have the same problem. for me it doesn't matter if MP is started or not. just in windows, going to hibernate causes immidiate wake up.

i "resolved" this with going to the hardware manager--> network card properties and uncheck "this device is able to wake the computer from standby (don't know if it's the right translation though, my windows is german.

if you don't need wake on lan, this may help you. it doesn't help me because i need wake on lan... maybe changing the network driver helps... will try that. i also don't know if there are maybe some bios settings causing this. it's just weird because it never happens before, just after my fresh install. i know that ther is a hibernation-logfile from windows somewhere but i can't find it
smnnekho is offline   Reply With Quote
Old 2006-06-19, 15:42   #8 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

What I can say more (may be this help :? ) :
A SVN from few days (I don't rember exactly what SVN was) effectively changed my network card windows driver parameters (gigabit network intel integred on P4C800 motherboard) automaticaly with wake on lan disabled.
When I saw I couldn't restart my PC remotely, I changed network driver parameter card manually again.
framug is offline   Reply With Quote
Old 2006-06-19, 20:15   #9 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Well, I just return at home, my htpc was started at 19h25 and, continue running.
I post a new log :
http://mp.pastebin.com/718959
I can see :
19/06/2006 19:25:59 Main: WM_POWERBROADCAST: 7
19/06/2006 19:25:59 Main: Windows has resumed from hibernate mode
.....
19/06/2006 19:26:05 Main: WM_POWERBROADCAST: 18
19/06/2006 19:26:05 Main: Windows has resumed from standby or hibernate mode to handle a requested event

The wake on link was disabled, only the wake on magic packet was enabled and, network card is able to start this computer.
So, as I can reproduce this each 12h00, I will try disabling wake on magic packet in network driver (but, I will keep network card is able to start this computer for the moment).
This, maybe, will help to know if there is a problem in the wake on magic packet or, in the network card driver.
I will tell you if tomorrow at 7H25, my HTPC will start or not.
So, stay tuned. :wink:
framug is offline   Reply With Quote
Old 2006-06-21, 08:08   #10 (permalink)
Portal Member
 
framug's Avatar
 
Join Date: Apr 2006
Location: France
Posts: 170
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Result :
disabling wake on magic packet in network driver stop the unwanted wake-up indeed.
So, how have I resolved it to continue using wake on lan :
If you are behind a network router, you must specify you don't want magic packet from wan, only for lan. :?
In my case, I unchecked the wol parameter like this :

But, it will not be possible to wake up PC remotely by internet only by wan.
For the no hibernate problem with webepg update, I just installed latest version of pvrs parametred with "close MP before update" and this works fine.
Still stay the resume on S3 problem.
Is there someone with S3 working and MP installed, here ?
framug is offline   Reply With Quote
Reply

Bookmarks

Tags
hibernate, unwanted, wakeup

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MP Suspends too soon after scheduled wakeup gloomyandy fixed 0.2.2.0 bugs 25 2007-01-14 18:59
External Display doesn't work after wakeup from hibernate thkogel Plugins 6 2006-08-16 22:26
Powerscheduler Wakeup solution McChots General Support 0 2006-08-02 17:24
Powerscheduler goes to Hibernate during a recording Dado The old Bugreport Forum 14 2006-05-15 08:10
PVR Scheduler: cant make it work ethanx Codecs, External Players 1 2006-03-20 00:42


All times are GMT +1. The time now is 17:58.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden