[patch] A possible fix for some resume from standby/hibernation problems

Discussion in 'General Development (no feature request here!)' started by ziphnor, August 30, 2006.

  1. ziphnor
    • Team MediaPortal

    ziphnor Retired Team Member

    Joined:
    August 4, 2005
    Messages:
    755
    Likes Received:
    13
    Location:
    Copenhagen
    Ratings:
    +13 / 0
    Home Country:
    Denmark Denmark
    A made a patch in an attempt to try to fix some of the hibernate/standby problems im having. Basicly alot of people seem to need to restart MP(not reboot) when resuming , in order to watch TV properly(the problem differs, for me its no scrambled channels until i restart).

    Basicly i noted that the Recorder which handles the TV stuff can be stopped and started, so i thought to make Powerscheduler stop and start the Recorder when resuming which according to the method descriptions should basicly 'reinit' tuner related resources. It *seems* to have helped in my case anyway.



    On the other hand i can see the new TV engine progressing fast, which might fix all this, but right now there are some people who would like to test this, which is much easier if its in the SVN.

    The patch only takes effect if one activates it in the powerscheduler config so it should be harmless.

    link to patch queue entry
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ziphnor
    • Team MediaPortal

    ziphnor Retired Team Member

    Joined:
    August 4, 2005
    Messages:
    755
    Likes Received:
    13
    Location:
    Copenhagen
    Ratings:
    +13 / 0
    Home Country:
    Denmark Denmark
    I tried running without the patch for a while, and had some massive problems with my second tuner when resuming from hibernate, reapplying the patch fixed it.

    Its a bit of a bummer having to recompile the patch everytime i want to update my MP version to the newest SVN version, and there are also some other people who would like to test this patch out, so i was sort of wondering why it has been left in the queue for so long(i noticed more recent things being added)? As i mentioned above, it does nothing before you enable it in the PowerScheduler config, so it should be completely harmless.
     
  4. Paranoid Delusion
    • Team MediaPortal

    Paranoid Delusion Moderation Manager

    Joined:
    June 13, 2005
    Messages:
    13,062
    Likes Received:
    1,481
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Cheshire
    Ratings:
    +1,482 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    And if it solves a lot of problems, really would be appreciated by its potential end users.

    ziphnor, thanks again at looking at this and pushing your fix.

    Must be busy trying to sort out the timeshifting/record complete program problem.

    Regards
     
  5. mzemina
    • Team MediaPortal

    mzemina Retired Team Member

    Joined:
    February 23, 2005
    Messages:
    2,065
    Likes Received:
    13
    Occupation:
    Project Manager
    Location:
    Tulsa, OK
    Ratings:
    +13 / 0
    Home Country:
    United States of America United States of America
    ziphnor - Have you thought about getting on the MP IRC chat and asking there?
     
  6. ziphnor
    • Team MediaPortal

    ziphnor Retired Team Member

    Joined:
    August 4, 2005
    Messages:
    755
    Likes Received:
    13
    Location:
    Copenhagen
    Ratings:
    +13 / 0
    Home Country:
    Denmark Denmark
    I guess ill try that, its been a long time since i used IRC for anything though :)
     
  7. rtv
    • Team MediaPortal

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I've added it to svn for further testing now
     
  8. roosterx

    roosterx Portal Pro

    Joined:
    April 24, 2006
    Messages:
    137
    Likes Received:
    1
    Occupation:
    MCSE, Watchmaker
    Location:
    Högsäter, Sweden
    Ratings:
    +1 / 0
    Home Country:
    Norway Norway
    rtv: sorry this is off topic, but i noticed in your system you have logitech harmony series remote, does MP support that one now? i know some pps have been asking after that support. tia
     
  9. ziphnor
    • Team MediaPortal

    ziphnor Retired Team Member

    Joined:
    August 4, 2005
    Messages:
    755
    Likes Received:
    13
    Location:
    Copenhagen
    Ratings:
    +13 / 0
    Home Country:
    Denmark Denmark
    rtv: Thanks

    For any one wanting to use this patch happening on this thread:
    This 'fix' is turned off by default, it has to be enabled in the Powerscheduler plugin configuration.
     
  10. rtv
    • Team MediaPortal

    rtv Retired Team Member

    Joined:
    April 7, 2005
    Messages:
    3,622
    Likes Received:
    301
    Occupation:
    CTO at ES2000
    Location:
    Osnabruck
    Ratings:
    +301 / 0
    Home Country:
    Germany Germany
    Show System Specs
    roosterx I'm using it with my mce receiver but Trax wants to add support for it soon.
     
  11. Paranoid Delusion
    • Team MediaPortal

    Paranoid Delusion Moderation Manager

    Joined:
    June 13, 2005
    Messages:
    13,062
    Likes Received:
    1,481
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Cheshire
    Ratings:
    +1,482 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    ziphnor

    Works a treat, Many Thanks.
    Now if we could get something inside MP that detected a hibernate/standby restart, that did the same thing from either power button remote or MP own hibernate shutdown, would be absolutely perfect.

    A Big well done to all the DEVELOPERS of MediaPortal for all the amazing updates that have been implemented in recent weeks, We know it's time consuming and it is appreciated.

    BIG Respect Guys
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!