MPstandbyHandler (1 Viewer)

josch.hh

MP Donator
  • Premium Supporter
  • March 29, 2008
    476
    77
    Hamburg
    Home Country
    Germany Germany
    Hi,

    First of all… for this tool… Good Job!!!!. But will it work with Vista 64?. I installed the tool like you discribe (Beta02). There is a problem with configuring my Technotrend S2-3200. I like to use the option restaring my DVB-S2 card on resume. I can not select my DVB-S card in the MpstandbyHandlerGui / HardwareDeviceRestart, because the box for the hardware is total empty. I’m running another system with Vista 32 and there is a list of all hardware divices. Is there another way to select my tv card??

    Currently not, i don't know what is different from Vista 32 to 64. I have no chance to test it, because i don't own a 64bit Vista.

    But you can find out on your own if you want. As soon as Mpsh2 is ready i will post the sources. The function you like to use on Vista 64 is based on system lib calls via .net interop. Maybe the handleing is differnt on Vista 64.
     

    Zwalek

    New Member
    October 1, 2008
    2
    0
    Home Country
    Netherlands Netherlands
    Hi,

    First of all… for this tool… Good Job!!!!. But will it work with Vista 64?. I installed the tool like you discribe (Beta02). There is a problem with configuring my Technotrend S2-3200. I like to use the option restaring my DVB-S2 card on resume. I can not select my DVB-S card in the MpstandbyHandlerGui / HardwareDeviceRestart, because the box for the hardware is total empty. I’m running another system with Vista 32 and there is a list of all hardware divices. Is there another way to select my tv card??

    Currently not, i don't know what is different from Vista 32 to 64. I have no chance to test it, because i don't own a 64bit Vista.

    But you can find out on your own if you want. As soon as Mpsh2 is ready i will post the sources. The function you like to use on Vista 64 is based on system lib calls via .net interop. Maybe the handleing is differnt on Vista 64.

    Maybe a stupid question but I’m not a programmer..
    Could it be that handling to select the Tv card in HardwareDeviceRestart only looks in the directory’s c:\Programfiles?. In Vista 64 Bits ther are two maps for the programfiles. C:\Programfiles an C:\ProgramfilesX86. Programs are normaly installed in the directory C:\ProgramfilesX86.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Hi,

    First of all… for this tool… Good Job!!!!. But will it work with Vista 64?. I installed the tool like you discribe (Beta02). There is a problem with configuring my Technotrend S2-3200. I like to use the option restaring my DVB-S2 card on resume. I can not select my DVB-S card in the MpstandbyHandlerGui / HardwareDeviceRestart, because the box for the hardware is total empty. I’m running another system with Vista 32 and there is a list of all hardware divices. Is there another way to select my tv card??

    Currently not, i don't know what is different from Vista 32 to 64. I have no chance to test it, because i don't own a 64bit Vista.

    But you can find out on your own if you want. As soon as Mpsh2 is ready i will post the sources. The function you like to use on Vista 64 is based on system lib calls via .net interop. Maybe the handleing is differnt on Vista 64.

    Try compiling the binaries target system as x86.
     

    visteon

    Portal Pro
    October 19, 2007
    94
    2
    First, thanks for this. It seems like what I need.

    My Problem......

    When I try to test the Suspend function there is an access denied message, see picture.

    I am using Beta06, Vista32 with UAC and ForThe Record.

    Thanks.
     

    Attachments

    • MPSrandbyHandler TvS Not Stopping.jpg
      MPSrandbyHandler TvS Not Stopping.jpg
      46.7 KB

    josch.hh

    MP Donator
  • Premium Supporter
  • March 29, 2008
    476
    77
    Hamburg
    Home Country
    Germany Germany
    First, thanks for this. It seems like what I need.

    My Problem......

    When I try to test the Suspend function there is an access denied message, see picture.

    I am using Beta06, Vista32 with UAC and ForThe Record.

    Thanks.
    That is right. If you like to test this function you have to run the Gui in Admin mode, or disable UAC.
    The service which executes this job runs with localSystem rights, means the service will have the rights to do it.. only the gui needs admin rights for testing on Vista with UAC.

    Hi,

    First of all… for this tool… Good Job!!!!. But will it work with Vista 64?. I installed the tool like you discribe (Beta02). There is a problem with configuring my Technotrend S2-3200. I like to use the option restaring my DVB-S2 card on resume. I can not select my DVB-S card in the MpstandbyHandlerGui / HardwareDeviceRestart, because the box for the hardware is total empty. I’m running another system with Vista 32 and there is a list of all hardware divices. Is there another way to select my tv card??

    Currently not, i don't know what is different from Vista 32 to 64. I have no chance to test it, because i don't own a 64bit Vista.

    But you can find out on your own if you want. As soon as Mpsh2 is ready i will post the sources. The function you like to use on Vista 64 is based on system lib calls via .net interop. Maybe the handleing is differnt on Vista 64.

    Maybe a stupid question but I’m not a programmer..
    Could it be that handling to select the Tv card in HardwareDeviceRestart only looks in the directory’s c:\Programfiles?. In Vista 64 Bits ther are two maps for the programfiles. C:\Programfiles an C:\ProgramfilesX86. Programs are normaly installed in the directory C:\ProgramfilesX86.


    Brrrrr, of course not. This function really enumerates the local devices with the builtin system functions.

    Try compiling the binaries target system as x86.

    Can you tell me were to find this setting within VS Express 2005?
     

    visteon

    Portal Pro
    October 19, 2007
    94
    2
    Thanks for that....

    My next problem is that the TvService is not being restarted on resume - see log.
    For information, if I try stopping the TvS from the management console the service stays on 'stopping' indefinitely. I don't know why.

    I can't see why the service having been killed should stop it being restarted.
    See log below.

    Edit...
    I see in this log the TvS stopped OK. Does not normally !! Anyway the service is not restarted. It starts ok from the gui.


    09/10/2008 13:47:39 - Info PowerEvent: Suspend
    09/10/2008 13:47:39 - Info OnSuspend
    09/10/2008 13:47:39 - Info JobTools Load - Loading SUSPEND jobs from C:\ProgramData\MPstandbyHandler\Jobs
    09/10/2008 13:47:39 - Info Job Load - Loading MediaportalStop job from file C:\ProgramData\MPstandbyHandler\Jobs\SUSPEND_000_MediaportalStop.xml
    09/10/2008 13:47:39 - Info Job Load - Loaded MediaportalStop job with 5 properties
    09/10/2008 13:47:39 - Info Job Load - Loading TVServiceStop job from file C:\ProgramData\MPstandbyHandler\Jobs\SUSPEND_001_TVServiceStop.xml
    09/10/2008 13:47:39 - Info Job Load - Loaded TVServiceStop job with 5 properties
    09/10/2008 13:47:39 - Info JobTools Load - Loaded 2 SUSPEND jobs
    09/10/2008 13:47:39 - Info JobTools Load - Loading RESUME jobs from C:\ProgramData\MPstandbyHandler\Jobs
    09/10/2008 13:47:39 - Info Job Load - Loading TVServiceStart job from file C:\ProgramData\MPstandbyHandler\Jobs\RESUME_000_TVServiceStart.xml
    09/10/2008 13:47:39 - Info Job Load - Loaded TVServiceStart job with 5 properties
    09/10/2008 13:47:39 - Info JobTools Load - Loaded 1 RESUME jobs
    09/10/2008 13:47:39 - Info Flags Save - Saving flags to C:\ProgramData\MPstandbyHandler\Flags.xml
    09/10/2008 13:47:39 - Info TVServiceStart - Setting TVService run flag to False
    09/10/2008 13:47:39 - Info Service Stop - Trying to stop (40s): TVService
    09/10/2008 13:47:39 - Info Service Stop - Successfully stopped: TVService
    09/10/2008 13:47:39 - Info OnSuspend - Done
    09/10/2008 13:48:24 - Info PowerEvent: ResumeAutomatic
    09/10/2008 13:48:24 - Info OnResume
    09/10/2008 13:48:24 - Info JobTools Load - Loading RESUME jobs from C:\ProgramData\MPstandbyHandler\Jobs
    09/10/2008 13:48:24 - Info Job Load - Loading TVServiceStart job from file C:\ProgramData\MPstandbyHandler\Jobs\RESUME_000_TVServiceStart.xml
    09/10/2008 13:48:24 - Info Job Load - Loaded TVServiceStart job with 5 properties
    09/10/2008 13:48:24 - Info JobTools Load - Loaded 1 RESUME jobs
    09/10/2008 13:48:24 - Info TVServiceStart - TVService was not running on suspend, canceling start
    09/10/2008 13:48:24 - Info OnResume - Done
    09/10/2008 13:48:30 - Info PowerEvent: ResumeSuspend
    09/10/2008 13:48:30 - Info OnResume - Already resumed
     

    josch.hh

    MP Donator
  • Premium Supporter
  • March 29, 2008
    476
    77
    Hamburg
    Home Country
    Germany Germany
    Thanks for that....

    My next problem is that the TvService is not being restarted on resume - see log.
    For information, if I try stopping the TvS from the management console the service stays on 'stopping' indefinitely. I don't know why.


    Let, me find out. Can't be nothing serious. Maybe only a little bug.


    Edit:
    Found the bug. Sorry it was a stupid one :)
    Will post Beta07 soon.
     

    J-B-N

    Portal Pro
    December 29, 2005
    196
    20
    Sweden
    Home Country
    Sweden Sweden
    I just tried beta6 and it worked perfectly for me including stop/restart of MP. My last item on the wishlist is simply a cosmetic and perhaps unneeded feature that I miss from the previous version, the Splash screen.

    When the wife starts the HTPC she wants to see that something is happening, the splashscreen was perfect in that aspect. There might be a better soloution that I don't know about.

    Anyhow, many thancks Josch for a excellent work.
     

    josch.hh

    MP Donator
  • Premium Supporter
  • March 29, 2008
    476
    77
    Hamburg
    Home Country
    Germany Germany
    @ J-B-N
    You are right, i am missing it too.
    Unfornunatly this will be not as easy as in the first version. I will see what i can do.




    @All
    I need your help!

    I found out that the MPSH2 windows service gets the information that the system has resumed from standby very late on my machine.

    How about yours?

    Can someone check the logs and take a look at the time (exact time with seconds) when you awake your system.
    I am interested in the timespan from awakening until the MPSH2 windows service start to do something...
     

    Users who are viewing this thread

    Top Bottom