Re: Screwy clock after apm suspend

From: Stephen Rothwell
Date: Mon Jan 10 2005 - 22:24:10 EST


On Tue, 11 Jan 2005 01:14:26 +0100 Pavel Machek <pavel@xxxxxx> wrote:
>
> I think that hwclock --hctosys is not quite straightforward operation
> -- it needs to know if your CMOS clock are in local timezone or GMT,
> or something like that, IIRC.
>
> But this might work: compute difference between system and cmos time
> before suspend, and use that info to restore time after suspend.

Which is, of course, what APM has done all along ...

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature