public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Morten Friesgaard <friesgaard@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: daylight saving makes computer wake up late
Date: Sun, 8 Apr 2007 11:10:40 -0300	[thread overview]
Message-ID: <20070408141040.GA14308@khazad-dum.debian.net> (raw)
In-Reply-To: <135ab3ff0704080512k2bcf3973m46c8153ff6a6f7df@mail.gmail.com>

On Sun, 08 Apr 2007, Morten Friesgaard wrote:
> I'm running a mythbox, and ever since we had our yearly change of
> daylight savings (summer time) my computer wakes up late. At first it
> was only an hour, then I set the time with hwclock (realised that
> CLOCK_SYSTOHC="no"), now it is 2 hours late. And it is really precise
> (1-2 hours later), and it is certainly because of daylight savings.
> 
> Any ideas?

My guess is that you have to set ACPI wake times to *exactly* the time zone
you use your RTC in.  Typically UTC, but semi-broken MS-compatible setups
use the local time zone.

The kernel can know the timezone, but almost nobody ever sets that right,
and it is not summer-time aware anyway (too complex).  It is best to just
keep everything UTC as far as the kernel goes, *including* the RTC.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

  reply	other threads:[~2007-04-08 14:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-08 12:12 daylight saving makes computer wake up late Morten Friesgaard
2007-04-08 14:10 ` Henrique de Moraes Holschuh [this message]
2007-04-08 18:18   ` Morten Friesgaard
2007-04-08 19:50     ` Dominique Michel
2007-04-14 10:06       ` Morten Friesgaard
     [not found]         ` <20070414184639.79fb4835@localhost>
2007-04-18 17:15           ` Morten Friesgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070408141040.GA14308@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=friesgaard@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox