[ltp] TP suspend/hibernation

Jay Lyerly linux-thinkpad@www.bm-soft.com
Fri, 07 Jul 2000 07:34:19 -0400


The newer releases of redhat do this out of the box (don't know about
other dists.), but all you need to do is run

hwclock --hctosys 

to set the system clock from the hardware clock when you come out of
suspend.  Add a --utc if your bios time is stored in Greenwich Mean
Time.

jay

Ralph Zajac wrote:
> 
> I have a some what related question. I've noticed that when I suspend my i1412 under Linux, the system time is off by however long the system has been suspended. Suspending the TP does not affect the time in the BIOS, just the time Linux reports (ie. through the `date' command). I realize that this is a result of how *nix keeps track of what time it is, but don't know how to fix it.
> 
> It is likely that this has been asked/answered here before. If so, just post a link to it. :)
> 
> -==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-
> Ralph Zajac, Jr.           cenotaph@linuxmail.org
> "Knowledge itself is power." --Francis Bacon
> --
> Get your free email from www.linuxmail.org
> 
> <br>
> <a href=http://adserver-hk.outblaze.com/cgi-bin/nph-ad1?id=6&c=RANDOM>
> <img src=http://adserver-hk.outblaze.com/cgi-bin/nph-img1?id=6&c=RANDOM
> border="0"></a>
> <br>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html