Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] System date/time goes to GMT when PC wakes from hibernate
Date: Mon, 06 Apr 2015 21:03:19
1 I have a bunch of spreadsheets, browser tabs, etc, open all the time,
2 scattered over various work areas. Rather than re-open them every day,
3 I simply hibernate, using suspend-to-disk. This way, things are where I
4 left them.
6 The past couple of months, when the machine comes up from hibernation,
7 the clock is a few hours ahead. Now it's 4 hours ahead. It was 5 hours
8 ahead before the switch to daylight savings time. This looks
9 suspiciously like GMT. GMT is 5 hours ahead of EST, and 4 hours ahead
10 of EDT.
12 I dug deeper. Apparently, it's just the "kernel system time" that
13 gets bumped forward when it wakes up from hibernation. The BIOS clock
14 is OK. As a heavy-handed hack, I've inserted the line...
16 OnResume 01 hwclock --hctosys
18 ...into my /etc/hibernate/hibernate.conf. This copies over the BIOS
19 time to the kernel system date. It works, but I'd really like to know
20 why it's necessary in the first place.
22 --
23 Walter Dnes <waltdnes@××××××××.org>
24 I don't run "desktop environments"; I run useful applications


Subject Author
Re: [gentoo-user] System date/time goes to GMT when PC wakes from hibernate Fernando Rodriguez <frodriguez.developer@×××××××.com>