Messages in this thread | | | Date | Mon, 17 May 2004 15:22:47 +1000 | From | Nigel Cunningham <> | Subject | Re: 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/
| |