unwanted wakeup and no hibernate (2 Viewers)

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    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 :
    https://forum.team-mediaportal.com/viewtopic.php?t=14790&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.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    framug said:
    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.
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    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

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #4
    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.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    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
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #6
    hwahrmann said:
    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...).
    hwahrmann said:
    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.
    hwahrmann said:
    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 ?
    hwahrmann said:
    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.
     

    smnnekho

    Retired Team Member
  • Premium Supporter
  • February 6, 2006
    507
    7
    40
    Germany
    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
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #8
    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

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #9
    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

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,068
    2,141
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #10
    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 ?
     

    Users who are viewing this thread

    Top Bottom