[ltp] Correcting clock after software suspend

Florian Weimer linux-thinkpad@linux-thinkpad.org
Thu, 13 Nov 2003 17:51:41 +0100


On my T40p, I use the software suspend feature from kernel 2.6, but when
the system is back up, the system clock is not updated.  Using an
external NTP server is not always an option.

Any ideas?  How can I detect that the system has been resumed?  Maybe
it's sufficient to restore the system clock from the hardware clock.