[lkml]   [2002]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Momentary timezone problem with apm (bug report)
On Tue, Sep 03, 2002 at 11:59:41AM +0300, Vlodavsky, Zvi wrote:

> Please personally CC me with responses on this posting:
> I have encountered a problem when coming out of apm suspend mode (apm -s):
> the system time gets momentarily skewed by the hour difference between the
> local timezone and GMT. It then returns to normal, but the momentary skew
> can casue problems for applications checking the time right after coming out
> of suspend.

This problem is usually a result of the completely useless "RTC stores time
in GMT" kernel option, whose only effect is to make the kernel load the
wrong time out of the RTC when is comes out of suspend. (You can safely
disable this option even if your clock _is_ stored in GMT.)

So make sure that option is set to NO.

Other than that, try killing apmd and make sure it's not to blame; maybe
it's restoring the wrong time if it's calling hwclock incorrectly for your
system (but since you describe the problem as a "momentary" one, apmd is
likely the one fixing it, not breaking it).

Good luck.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.022 / U:1.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site