Software suspend Time Recovery

Submitted by MindSpark on Fri, 01/04/2005 - 13:37.
( categories: Software Issue )

Alright everyone, As I been experimenting with the "still experimental" software suspend, which obviously works even better than the hardware suspend on my computer, I've had the common clock problem. I got some suggestions of adding a line in my crontab to syncronize the system clock using network time protocol. This wouldn't be the ultimate solution for me though. So one day, while I was booting up my box, I saw the command: "Setting System clock from Hardware clock" and thought, why wouldn't I do the same after resuming a software suspend ?

So, here's the command:

hwclock --hctosys

Currently I am a bit busy doing stuff for uni, but it's in my to-do list to hack up the kernel and let it do this automatically after booting up from such a suspend. If anyone knows the exact place where this piece of code is located, I'd appreciate it :)

Thanks guys


Reply





*

  • Allowed HTML tags: <a> <b> <dd> <dl> <dt> <i> <li> <ol> <ul> <pre> <blockquote> <img> <ins> <del> <br> <div> <span> <em> <h1> <h2> <h3> <h4> <h5> <h6> <code> <p> <hr>
  • You can insert tables with comma separated values (CSV) into the text, they will be automatically converted to appropriate HTML-tables.
  • You may link to images on this site using a special syntax
  • WikiText is converted to HTML (supported WikiText formatting will show in the long tip format).
  • You may write mixed Arabic and English freely, line direction will be computed automaticaly
  • Glossary terms will be automatically marked with links to their descriptions