Win7 HP shutdown 2 fast for iMon... (1 Viewer)

polarie

Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    Salute ---

    got a small "optical" problem with my new experimental client.

    System at home is Multiseat all working fine.
    New client with following hardware:

    Gigabyte GA-E350-USB3
    4 Gig Ram
    Intel 40 Gig SSD (mSATA)
    iMon VFD (Coolermaster)
    BluRay drive (any slot in - i think its a Teak - had it in stock)
    Software: only Win7HP + MePo 1.3.0 Alpha nothing more

    works good so far ...
    only one small speed problem:

    shutdown seams to be too fast (only 2-3 seconds)
    so the iMon front-view does not have the time to restart after leaving MePo.
    result is - that the iMon VFD shows the last state after shutdown
    - normal it is (for example)
    first row: Mediaportal
    second row: 11.26

    the second row just shows the point of time when the PC was shutdown.
    nothing more ... clock is not running ... nothing
    (clock shouldn't running - not implementet @ coolermasters VFD)
    and so i miss the mesage "not active" ...

    so thats not dramatic - couse the system correct that problem after the start
    again ... but is not nice to know/look at it.

    so the question:

    is there some kind of tutorial how i can delay the win7 shutdown a few seconds
    that frontview has enought time to restart and let MePo show the
    right information in the second row?

    i shutdown the HTPC with the power button on the remote or the power button at the case ...

    so a batchfile won't help.

    thx

    Polarie
     
    Last edited:

    polarie

    Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    i found something last night but i am not sure if that is the right "key"

    Registry Path:

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control
    "WaitToKillServiceTimeout" chosing"change-option"
    and there i can fill in a value in milliseconds ...
    normaly that tweak was used to accelerate the shutdown
    by setting a smaller millisecond value

    will that increase the time till shuting down the system if i increase the ms value?

    i am a bit afraid by just changing some values in the registry. :D
    couse that experimental client was dificult to install (the OS win7 from USB stick) --- lot of work

    any registry-cracks here to verfy that solution?
     
    Last edited:

    polarie

    Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    i gave it a try last night ... but it didn't work
    maybe couse the key seems to be a just given a timewindow
    how long windows wait till a service is stopped ...

    still need a solution - couse if iMon is not startet again befor shuting down the system -
    the VFD-module does not start the PC via remote ...
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Off the top of my head you have several options:

    PS(++) - Get it to run an external command on shutdown/suspend: http://wiki.team-mediaportal.com/in...Server_Plugins/PowerScheduler++/Configuration
    Use something like MPStandbyHandler: https://forum.team-mediaportal.com/threads/mpstandbyhandler.44296/
    Configure an OS policy to specify a loggoff/shutdown script: http://en.kioskea.net/faq/3358-execute-a-script-a-startup-and-shutdown
    Configure a scheduled task (potentially not as suitable as the above)

    J.
     

    polarie

    Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    wohw ... thx J
    PS++ would be cool and ok ... but only for this little issue another plugin on the client
    :) hmm will think about it.

    MPStanbyhandler same ...

    but your third suggestion sounds perfekt ... IF i get this running with a script that initiate a 5 second pause.

    task-scheduler - no idea how tu use it - couse i have no idea what kind of trigger
    would be needed for the TM to feel that system is going down...
     
    Last edited:

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi again,

    With the script option, instead of pausing, you could manaually restart the iMon process?

    With the Task Scheduler, when you create an event, you specify the "trigger", here you have a few options on what the trigger is.

    From a quick google, I found
    For sleep use
    Log= System
    Source= Kernel-Power
    Event ID= 42

    For Shutdown
    Log = System
    Source=Security
    Event=513

    I cant gaurentee how well the schedule task option will work.... the concept seems a bit flawed to me...but give it a try :D

    J.
     

    robbo100

    Retired Team Member
  • Premium Supporter
  • May 5, 2009
    1,291
    308
    UK
    Home Country
    United Kingdom United Kingdom
    There is a tool for windows 7 called power triggers, which will run a batch file nicely on suspend or resume. I used to use it to run Devcon to reset my audio hardware every time my HTPC recovered from standby. I think this might be it (after a name change): http://win7suspendresume.codeplex.com/

    With all of that said, I personally don't have any problems with iMon, and it may be your setup method that is causing the problem. What version of IMon are you using, and are you using the replacement iMon binaries from this thread (post number 65) with IMon in plugin mode: https://forum.team-mediaportal.com/...iaportal-1-1-3-1-2-1.95616/page-7#post-759455?
     

    polarie

    Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    Thx @ Jay_uk

    ... will have a look at it .. if .... :)

    thx @ robo100

    hints won't cure the system :)

    i will give this a try in few minutes ...
    just build another client with the same spec as i have it @ home - here in my office...
    ... same problems occur here .... so i can also test it in my office...

    2 your questions:
    i used different versions of iMon ...
    mostly 7.20 which worked like a charm on my winXP machines.
    but also have 8.12 - 6.20 and mostly all others on my server.

    and some more information:

    i use the iMon in a hmm really home-brew sepcial way...
    the iMons IR reciever is only needed for the start up of the machine (S5) and displaying MePo stats ...
    all other commands where send thru a normal USB-wired IR-reciever (standart MCE remote reciever)
    i soldered in a relais @ the IR recieving diode (@ iMon) to kill double cammands...
    that means the relais disconnect the IR-diode from the iMON-pcb after wakeing-up from S5 ...
    so it also connect the diode if the PC shuts down ... (powerless relais fall down and connect)
    hope my explanation was readable ...

    that all grow in a time where the internal IR-reciever in iMon was dificult to handle couse the mapping didn't work
    (3 years ago or so) ... since that point i allways re-configure my iMons ... all of them.
    benefit was also - after this "tunning" i could use any MoBo in my machines ...
    not neccessary to look if the PSU brings in the 5Volt standby USB power or something like that.

    never had any problems under winXP - but now after upgrading to win7 .. :) problems arrived....
    hmmm no - challange arrived :D
     
    Last edited:

    Users who are viewing this thread

    Top Bottom