From: "Jouni Laakso" <jounijl-/E1597aS9LT10XsdtD+oqA@public.gmane.org>
To: "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: RTC alarm wake from mechanical power off
Date: Tue, 18 Nov 2003 09:20:03 +0000 (GMT) [thread overview]
Message-ID: <20031118092003.44040.qmail@web25006.mail.ukl.yahoo.com> (raw)
In-Reply-To: <F760B14C9561B941B89469F59BA3A84702C93127-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
Ok. I read from section 4.7.2.4 that wake from s4 is
optional and if implemented in motherboard it should
work in sleep states 1-3. RTC alarm seems to be
optional as a whole as a hardware feature.
Bits RTC_EN and RTC_STS in spec are similar as those
in chips registers. Centenary value CENT is not
supported (if there is not extra space in CMOS RAM to
implement it with a driver?).
Acpi spec includes these lines:
"The OS will disable the RTC_EN bit prior to entering
the G2/S5 or G3 states." [acpi,4.7.2.4]
If hardware rtc alarm is supported, rtc alarm is
disabled by acpi when entering to G3, shutdown? In my
case it's not even possible to write to these
registers, maby the writes are possible if ACPI is
disabled? I mean that writing is possible, but when
reading, the values are not changed. Are rtc-registers
somehow updated by ACPI-driver so that if rtc-alarm
feature is not found, it tries to disable it by
setting standard bit values trough acpi? Is it
possible that bios disables RTC alarm if it finds that
acpi is used? Should I blame bios or acpi?
What is the purpose to try to disable RTC alarm when
shutting down the computer? At startup it could save
previous values from registers and when entering G2/S5
or G3 again, it maby could return saved previous
values when shutting sown? My opinion is that it
should wake optionally from G3 also.. maby in next
specification revision?
It seems in my case that hardware RTC alarm is not in
use (Abit ZM6, Intel 82371eb)?
regards,
Jouni
--- "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> > From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On
> Behalf Of
> > Karol Kozimor
> > Thus wrote Jouni Laakso:
> > > Acpi specification says at page 75 that Real
> time
> > > clock alarm is required, but it's optional as
> fixed
> > > hardware event. I think this means that computer
> can
> > > optionally be woken up from "Mechanical Off" G3?
> Am I
> > > right? (I haven't read it all.)
> >
> > AFAIR, you're supposed to be able to wake up from
> ACPI S5 state (soft
> > power-off), which is what shutdown -h should do.
> Anyway, see
> > if any of the
> > patches found at
> http://bugme.osdl.org/show_bug.cgi?id=1320 help.
> > Best regards,
>
> Have you read section 4.7.2.4 of the ACPI spec? RTC
> appears to wake only
> from S1-S3 and possibly S4.
>
> Regards -- Andy
=====
_____________________
Jouni J. Laakso
jounijl-/E1597aS9LT10XsdtD+oqA@public.gmane.org
phone: +358-41-5165554
Helsinki, Finland
,
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
next prev parent reply other threads:[~2003-11-18 9:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 21:00 RTC alarm wake from mechanical power off Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A84702C93127-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-11-17 21:10 ` Karol Kozimor
2003-11-18 9:20 ` Jouni Laakso [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-11-29 19:45 Jouni Laakso
2003-11-17 20:21 Jouni Laakso
[not found] ` <20031117202152.3703.qmail-2a1B6O8qcK7GRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2003-11-17 20:45 ` Karol Kozimor
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=20031118092003.44040.qmail@web25006.mail.ukl.yahoo.com \
--to=jounijl-/e1597as9lt10xsdtd+oqa@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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