LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* swsusp also stores system clock
@ 2004-05-17 4:24 Rajsekar
2004-05-17 5:22 ` Nigel Cunningham
2004-05-21 9:14 ` Pavel Machek
0 siblings, 2 replies; 3+ messages in thread
From: Rajsekar @ 2004-05-17 4:24 UTC (permalink / raw)
To: linux-kernel
I started liking swsusp so much that I dont shutdown my system anymore, I
just suspend. Is this wrong?
But I noticed that the clock also gets saved and when I resume my system,
the clock is annoyingly wrong. I suppose that this is done on purpose for
some reasons by the developers.
Currently, I use hwclock to set my system clock on resume.
Is there a better way or a patch ?
--
M Rajsekar
IIT Madras
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: swsusp also stores system clock
2004-05-17 4:24 swsusp also stores system clock Rajsekar
@ 2004-05-17 5:22 ` Nigel Cunningham
2004-05-21 9:14 ` Pavel Machek
1 sibling, 0 replies; 3+ messages in thread
From: Nigel Cunningham @ 2004-05-17 5:22 UTC (permalink / raw)
To: Rajsekar; +Cc: linux-kernel
Hi.
The solution to this is to run
/sbin/hwclock --hctosys
after resuming. You might need to add --direct-isa if this hangs.
Regards,
Nigel
Rajsekar wrote:
> I started liking swsusp so much that I dont shutdown my system anymore, I
> just suspend. Is this wrong?
>
> But I noticed that the clock also gets saved and when I resume my system,
> the clock is annoyingly wrong. I suppose that this is done on purpose for
> some reasons by the developers.
>
> Currently, I use hwclock to set my system clock on resume.
>
> Is there a better way or a patch ?
>
--
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (2) 6251 7727(wk); +61 (2) 6254 0216 (home)
Evolution (n): A hypothetical process whereby infinitely improbable
events occur
with alarming frequency, order arises from chaos, and no one is given
credit.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: swsusp also stores system clock
2004-05-17 4:24 swsusp also stores system clock Rajsekar
2004-05-17 5:22 ` Nigel Cunningham
@ 2004-05-21 9:14 ` Pavel Machek
1 sibling, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2004-05-21 9:14 UTC (permalink / raw)
To: Rajsekar; +Cc: linux-kernel
Hi!
> I started liking swsusp so much that I dont shutdown my system anymore, I
> just suspend. Is this wrong?
>
> But I noticed that the clock also gets saved and when I resume my system,
> the clock is annoyingly wrong. I suppose that this is done on purpose for
> some reasons by the developers.
>
> Currently, I use hwclock to set my system clock on resume.
>
> Is there a better way or a patch ?
Which kernel?
I thought I fixed that in 2.6.
Pavel
--
934a471f20d6580d5aad759bf0d97ddc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-21 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-17 4:24 swsusp also stores system clock Rajsekar
2004-05-17 5:22 ` Nigel Cunningham
2004-05-21 9:14 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).