lkml.org 
[lkml]   [2004]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: swsusp also stores system clock
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.
-
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/

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