public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: yotta.victor@gmail.com
To: devel@edk2.groups.io
Subject: [edk2-devel] Set RTC_EN bit =1 before entering S5 from S0
Date: Tue, 19 Mar 2024 01:28:35 -0700	[thread overview]
Message-ID: <ZU5h.1710836915563318724.Alif@groups.io> (raw)

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

hi,
In the windows10 environment, set the RTC_EN bit before entering S5 from S0 after pressing the power button to turn on the RTC Wake up function.

At https://github.com/tianocore/e dk2-platforms/blob/bb44e786e7a 7cc618e985b3e0b93a9f33a4b7ea2/ Platform/Intel/Vlv2TbltDeviceP kg/PlatformSmm/Platformcc ( https://github.com/tianocore/edk2-platforms/blob/bb44e786e7a7cc618e985b3e0b93a9f33a4b7ea2/Platform/Intel/Vlv2TbltDevicePkg/PlatformSmm/Platformcc ).
Registered power button event. Is this event automatically generated when the power button is pressed? Or does it need to write a value to port 0xb2 through ACPI's asl code to generate a SW SMI event?

Best Regards
Victor


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116942): https://edk2.groups.io/g/devel/message/116942
Mute This Topic: https://groups.io/mt/105044557/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 3241 bytes --]

                 reply	other threads:[~2024-03-20 13:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-list 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=ZU5h.1710836915563318724.Alif@groups.io \
    --to=devel@edk2.groups.io \
    /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