AtmoWakeHelper - 1.00 - Solution for auto COM reconnect on sleep/resume (1 Viewer)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Could be the same reason it can't find the includes .exe file, as the logfile is written to the application root and if somehow that is different it will place it somewhere else on your filesystem (default path of Windows or user account).
    Could you do filesystem search for debug.log?

    /edit: will add a new version in sec with a hardcoded log path to c:\temp
     

    Attachments

    • AtmoWakeHelper_DEBUG_V2.zip
      144.6 KB

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Seems the application directory by default is:

    C:\Windows\System32\GroupPolicy\User\Scripts\Logon

    Which was the reason why it couldn't work before the custom AtmoWin location :) , however the AppUSBDevice location in the log looks correct.
    That should be the default location when unpacking AtmoWakeHelper in the AtmoWin folder, does the file indeed not exists at the below location?

    C:\ProgramData\Team MediaPortal\MediaPortal\Atmowin\includes\USBDeview.exe

    Attached version also sets the AtmoWinA.exe path correctly based on the custom folder.
     

    Attachments

    • AtmoWakeHelper_DEBUG_V3.zip
      144.6 KB
    Last edited:

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    With my error. I have previously relocated atmowakehelper to c:/atmowake/.exe and the includes files are also inside it.

    The user script is due to shell replacement. For start all my software i use logon script. Because run registry dont work if shell is not explorer.exe
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Currently it expects AtmoWin and the AtmoWakeHelper to be in the same folder as Atmowin itself as otherwise it would need 2 paths in the config ui as we need 1 for starting AtmoWinA.exe and 1 for USBDeview.exe.
    Could change the config UI to make it so you can setup those paths separately however it might get confusing, let me know what you think :)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,954
    5,626
    France - IDF
    Home Country
    France France
    I think it's an good way. To add ability to set custom path. This can be good for using it without MP.
    But i can use it on atmowin folder for now.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Attachted new version which allows for setting up 2 paths, like you said if you don't use MP this is better :)
     

    Attachments

    • AtmoWakeHelper_DEBUG_V4.zip
      145 KB

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Hehe, was working on XAML stuff so this is a nice distraction :D
    Just attached version 1.00 without the debug logging and removed the beta tag since its now stable enough.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom