MePo tries to load x10 remote modules although there is no X10 hardware and x10 is disabled (1 Viewer)

megahorst

Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    Country flag
    MediaPortal Version: 1.4.0

    Description
    I have mentioned that MePo tries to load x10 drivers although there is no x10 hardware and x10 is disabled in the config. This trying to load an x10 module causes a delay while resuming.
    Code:
    [2013-07-05 22:33:37,056] [Log	] [MPMain ] [INFO ] - X10 debug: Could not get interface

    Steps to Reproduce:
    resume Mepo client and search for x10 in the log.
     

    Attachments

    • MediaPortal.xml
      72.5 KB · Views: 152
    Last edited:

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    Country flag
    Bump
    Nobody else with this entry in the logfile?
     

    Vasilich

    Test Group
  • Team MediaPortal
  • August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    Country flag
    as @megahorst wrote in his post:
    there is 5 seconds delay before this log entry
    [2013-07-05 22:33:32,059] [Log ] [PS StandbyWakeup] [DEBUG] - PS: Signal client activity to the remote TvServer
    [2013-07-05 22:33:37,056] [Log ] [MPMain ] [INFO ] - X10 debug: Could not get interface
    and it can be that this 5 seconds delay is happening because MP tries to initialize non-present X10 interface.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    Those log entries are from different threads - it is not a fair analysis.
    Actually we should be looking at this:
    [2013-07-05 22:32:59,286] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVNODES_CHANGED)
    ...
    [2013-07-05 22:33:37,056] [Log ] [MPMain ] [INFO ] - X10 debug: Could not get interface
    So, if this were caused by X10 it would be taking ~37 seconds. This is extremely unlikely. I think more likely the issue is related to HDMI stuff.
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    Country flag
    So, if this were caused by X10 it would be taking ~37 seconds. This is extremely unlikely. I think more likely the issue is related to HDMI stuff.
    You are right. A new version of the HDMI CEC-Remote plugin and the new version of the Latest Media Handler nearly solved the delay issue that I have seen from time to time.

    It is not totally gone. I think at least one other plugin can cause delays when resuming. Do you have any hints for debugging this? You are describing that checking the timestamps of the logfiles is not sufficient ...

    One other thing:
    Don't you think that it should be avoided to load modules (the X10 modules) when they are unchecked in the configuration?
     
    Last edited:

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    You are right. A new version of the HDMI CEC-Remote plugin and the new version of the Latest Media Handler nearly solved the delay issue that I have seen from time to time.
    I'm glad. :)

    It is not totally gone. I think at least one other plugin can cause delays when resuming. Do you have any hints for debugging this? You are describing that checking the timestamps of the logfiles is not sufficient ...
    Checking timestamps is okay as long as there are appropriate log entries. You just have to be careful that you are interpreting the entries correctly - particularly in relation to threading.

    One other thing:
    Don't you think that it should be avoided to load modules (the X10 modules) when they are unchecked in the configuration?
    The X10 modules are not actually loaded - the code only checks if an X10 interface is available. I guess this might be to avoid problems in the case where the plugin is enabled but the X10 interface is not present. Anyhow I'm not familiar with the code so I wouldn't want to speculate about why the code is the way it is...
     

    Users who are viewing this thread

    Similar threads

    That's awesome news! I can't say how I'm happy to help fellow XP user :D
    That's awesome news! I can't say how I'm happy to help fellow XP user :D
    Ok, I’m back, MP1.14 has been working great for the last few years, up until last month when a recording overwrote the hard drive...
    Replies
    18
    Views
    2K
    MP1 MP2 No AC3 sound ... DE
    @fanol Thanks for providing the log files. However they contain only limited detail. Could you please collect new log files, and this time use the Watchdog tool with option 1 or 2 ("report a bug...") to do it. The Watchdog tool is the preferred method/source for collecting log files. Please use it whenever you can. General...
    @fanol Thanks for providing the log files. However they contain only limited detail. Could you please collect new log files, and...
    Hi! I start to play, and there is no sound. Established LAV 0.68 everywhere. On the other formats and movies is no such problem. I...
    Replies
    84
    Views
    10K
    Not to be that guy, but one last minor issue... I got EPG-Buddy set up and running on it's new machine, but when mapping guide channels to database channels in EPGB, there is one channel name that is in the MP database but is not in the drop-down box in EPGB. The channel is correct in TV server, and it works there. I even looked at...
    Not to be that guy, but one last minor issue... I got EPG-Buddy set up and running on it's new machine, but when mapping guide...
    Hi. I like to introduce our latest tool, called "EPG-Buddy". This program should make EPG grabbing as easy as possible. Up to now a...
    Replies
    440
    Views
    112K
    It was basic home in both cases. While freezing I saw yesterday's time on the screen. When pressing a button on my remote I can hear it clicking but nothing happens.
    It was basic home in both cases. While freezing I saw yesterday's time on the screen. When pressing a button on my remote I can...
    MediaPortal Version: 1.4.0 Description While doing some testing to help @Sebastiii with his patch for mantis 4477 I have...
    Replies
    32
    Views
    5K
    No clue, maybe a hiccup in the update/install for afc2007, since lazlong fixed his issue by upgrading to 1.7.1 HotFix.
    No clue, maybe a hiccup in the update/install for afc2007, since lazlong fixed his issue by upgrading to 1.7.1 HotFix.
    I recently upgraded from 1.6 direct to 1.7.1 hotfix. I have a regular computer screen plugged to HTPC via DVI, then HDMI out to a...
    Replies
    7
    Views
    1K
    Top Bottom