Messages in this thread |  | | Date | Tue, 3 Sep 2002 08:57:19 -0400 | From | Avery Pennarun <> | Subject | Re: 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.
Avery
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |