[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Time problems after suspend

On Thu, Dec 23, 1999 at 11:20:21AM +0100, Wouter Hanegraaff wrote:
> After I suspend my ibm thinkpad 760 ELD, the time is an hour fast.
> When I suspend again and resume, the time is still one hour fast and not
> two. 
> I have GMT="-u" in /etc/default/rcS, CONFIG_APM_RTC_IS_GMT=y in my
> kernel config and tzconfig shows me 
> Your current time zone is set to Europe/Amsterdam 
> which is exactly what it should be.
> What did I do wrong?

When you resume from a suspend, the apm daemon run some scripts at
/etc/apm/event.d. The apm package install there the 00hwclock file to
resync time; take a look at this script, and see what apmd is doing. At
my system, when GMT="-u" in /etc/default/rcS, is:

    hwclock --hctosys -u

If this is your case, and this command doesn't work, try upgrading to
the last slink "util-linux" package (2.9w-1.slink.0); IIRC there was
some change with the "hwclock" options. Another sugestion: take a look
at /etc/init.d/hwclock.sh and see what command is using your system at
init (it should be the same).

Hope this help.


Reply to: