Announcement

Collapse
No announcement yet.

Computer Doesn't Initiate Hibernate for 20secs

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Computer Doesn't Initiate Hibernate for 20secs

    I'm having an issue with my carpc since i installed CF3.1. When i turn off the car it takes about 20secs before the computer initiates hibernate. With the M2 PSU that i have that only leaves 20 secs before the PSU does a hardoff. My computer takes more than 20secs to hibernate when running CF3.1 but if i close CF3.1 it still takes 20secs before it initiates the hibernate but i can hibernate in less than 20secs without CF3.1 running. Anyone have any ideas? I recently changed the video driver do you guys think that might have caused this? I'm going to try and roll back but does anyone have any other ideas?
    ~The Build Process Begins~
    http://www.mp3car.com/vbulletin/newb...you-think.html

    ~The Build Process Ends~
    http://www.mp3car.com/vbulletin/show...completed.html

  • #2
    Take a look in the system event viewer for any performance alerts that get thrown.... that will tell you what the culprit is.
    openMobile - An open source C# Front End (why choose openMobile?)
    - Always Recruiting Developers -
    Like what you see? Donations are always welcome

    Comment


    • #3
      Turns out installing the driver actually removed the hibernate option from my power settings. I have no idea why or how but now i'm hibernating just wayyyyyy too slow again. I'll check the performance alerts and report back.
      ~The Build Process Begins~
      http://www.mp3car.com/vbulletin/newb...you-think.html

      ~The Build Process Ends~
      http://www.mp3car.com/vbulletin/show...completed.html

      Comment


      • #4
        Just confirming this issue only happens when running CF 3.1..... when CF3.1 is not running it doesn't happen?

        Sounds like the culprit is pretty clear
        openMobile - An open source C# Front End (why choose openMobile?)
        - Always Recruiting Developers -
        Like what you see? Donations are always welcome

        Comment


        • #5
          Yes now it only happens when CF3.1 is running. I think it might be the garmin plugin causing this issue. I tried it after i closed garmin mobile pc and it hibernated fine but when its running sometimes it takes forever and sometimes it works just fine.
          ~The Build Process Begins~
          http://www.mp3car.com/vbulletin/newb...you-think.html

          ~The Build Process Ends~
          http://www.mp3car.com/vbulletin/show...completed.html

          Comment


          • #6
            then of course next step is try it running GMPC alone and see if it still has an issue
            openMobile - An open source C# Front End (why choose openMobile?)
            - Always Recruiting Developers -
            Like what you see? Donations are always welcome

            Comment


            • #7
              why not change the setting on the power supply to wait longer before a hard-off? Regardless of this being an issue, I can see every once in a while the computer will screw up a hard off at a 20 second inteval...
              My Nearly Complete Car:
              http://www.mp3car.com/vbulletin/show...ed-car-pc.html

              Micro Control Center... Control Your Car Across the Internet
              http://www.mp3car.com/fusion-brain/1...-internet.html

              Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
              http://paulfurtado.com/

              Comment


              • #8
                The issue with changing the power supply setting is if i have a crash then i will have to wait 1hr before it shuts down.
                ~The Build Process Begins~
                http://www.mp3car.com/vbulletin/newb...you-think.html

                ~The Build Process Ends~
                http://www.mp3car.com/vbulletin/show...completed.html

                Comment


                • #9
                  Originally posted by Bxsteez View Post
                  The issue with changing the power supply setting is if i have a crash then i will have to wait 1hr before it shuts down.
                  I don't believe that is the case... and I think you may be mis-interpreting your timing issue with the M2. When you turn off the ignition, the M2 sends the power off pulse to the mobo after the off-delay setting and then waits for the motherboard to finish shutting down and assert the PS_ON# signal high. There is a timer (60s I think, I'd have to look at the code again) in case the computer hangs during shutdown that prevents the computer from draining your battery with the computer on. If that timer runs out before the computer has shut down, it then cuts power to the main rails (what it sounds like is happening to you). This is independent of the hard-off setting that is configurable by jumpers. The hard off setting is a delay between when the psu receives the PS_ON# signal high from the mobo indicating completion of shutdown and when the power is cut from the 5V standby rail.

                  It may be a little too soon for this to be the best solution (it still sounds like you have a software issue) but the latest revision of the firmware that I wrote leaves 2 minutes for the computer to shutdown instead of 60 sec. You can follow the progress on that thread as well as sending me a PM if you are interested in trying that as a solution to your problem:

                  http://www.mp3car.com/vbulletin/powe...tionality.html

                  Comment


                  • #10
                    Ahh you are correct. I was misunderstanding the timing. I don't think that 60secs is mentioned in the manual for the M2 but it makes perfect sense. So if i'm following what you are saying the actual shutdown is 5sec delay before the Shutdown signal is sent from the PSU to the MOBO -> Wait 60secs for computer to shutdown -> Force shutdown -> wait 45secs to turn off 5V standby rail? Is that correct? This configuration seems a bit silly to me. Who cares how long the 5V standby is on when the computer is off? Why not make the timer for waiting for the computer to shutdown configurable?

                    Changing the strapping on the PSU would do nothing for me if i'm not mistaken.
                    ~The Build Process Begins~
                    http://www.mp3car.com/vbulletin/newb...you-think.html

                    ~The Build Process Ends~
                    http://www.mp3car.com/vbulletin/show...completed.html

                    Comment


                    • #11
                      That is correct except that I don't think there is a 45 sec hard-off option... it is 60 sec, but the idea is the same. The reason for caring about 5V standby when the computer is off is for using standby mode instead of shutdown or hibernate, or for people who have usb peripherals that require power to behave properly even when the computer is off.

                      I do believe that your problem can't be fixed by changing a jumper setting if the M2 is timing out when waiting for your computer to hibernate. I am of the opinion that the timeout should be longer, but making it configurable would not be useful for most people.

                      Comment


                      • #12
                        I can see that for those who use stanby. That does make sense. I'm pretty sure there is a 45sec hard off option. I couldn't imagine that the 60sec delay being configurable wouldn't be of use to most people. The time it takes the computer to hibernate or shutdown is something that varies depending on system. It would be useful to be able to control that but then agian that may just be my opinion.

                        I'm going to PM you about possibly purchasing your new code or a preprogrammed MCU.
                        ~The Build Process Begins~
                        http://www.mp3car.com/vbulletin/newb...you-think.html

                        ~The Build Process Ends~
                        http://www.mp3car.com/vbulletin/show...completed.html

                        Comment


                        • #13
                          Originally posted by Bxsteez View Post
                          I couldn't imagine that the 60sec delay being configurable wouldn't be of use to most people. The time it takes the computer to hibernate or shutdown is something that varies depending on system.
                          The reason that it is not useful to be configurable in my opinion is that it is only a timeout setting. As long as it is long enough to let the computer shut down properly but not so long as to drain the battery if the system hangs, there is no benefit to being close to the shut down time.

                          For example, consider the case where the timeout is 3 minutes... There are really only a few things that can happen.
                          • the computer shuts down in 5 seconds... the PSU does not wait the other 2 minutes and 55 seconds, it just goes on because it got the PS_ON# signal it expected
                          • the computer shuts down in 2 minutes... again, the PSU goes on as soon as the mobo is done shutting down
                          • the computer hangs during shutdown or does not respond to the button press... the PSU leaves power on for the full 3 minutes waiting for the mobo to finish shutting down and then cuts off power to save the battery. The difference between that 3 minutes and, say, a 2 minute setting would be negligible in terms of battery charge.

                          I am with you though that the 1 minute default setting is probably too short in some cases.

                          Comment


                          • #14
                            I guess i see what your saying. I guess i would hope that the time would be quite long to accommodate all systems. The reason I would think that should be configurable is that my system may take 30 secs to shutdown and someone else's might take 10mins or 20 mins even (of course this would be a sad system lol) but it just seems that this area is an area that would fluctuate based on the system. I dunno maybe its just me.

                            So what will it take to get your code in my uProcessor? Or can i just buy one from you and drop it in.
                            ~The Build Process Begins~
                            http://www.mp3car.com/vbulletin/newb...you-think.html

                            ~The Build Process Ends~
                            http://www.mp3car.com/vbulletin/show...completed.html

                            Comment

                            Working...
                            X