From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org, seabios@seabios.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [rfc patch seabios 1/3] wakeup: kbd & mouse
Date: Tue, 17 Jul 2012 14:31:00 +0200 [thread overview]
Message-ID: <1342528262-11548-2-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1342528262-11548-1-git-send-email-kraxel@redhat.com>
Windup gpe bits 0x08 (keyboard) and 0x09 (mouse) for s3 wakeup.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
src/acpi-dsdt.dsl | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 2060686..93d0b3d 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -372,6 +372,11 @@ DefinitionBlock (
})
Return (TMP)
}
+ /* Power Resources for Wake */
+ Name(_PRW, Package(2) {
+ 0x08, // GPE bit
+ 0x03, // S3
+ })
}
/* PS/2 mouse */
@@ -391,6 +396,11 @@ DefinitionBlock (
})
Return (TMP)
}
+ /* Power Resources for Wake */
+ Name(_PRW, Package(2) {
+ 0x09, // GPE bit
+ 0x03, // S3
+ })
}
/* PS/2 floppy controller */
@@ -775,9 +785,11 @@ DefinitionBlock (
Return(0x01)
}
Method(_L08) {
+ Notify(\_SB.PCI0.ISA.KBD, 0x80)
Return(0x01)
}
Method(_L09) {
+ Notify(\_SB.PCI0.ISA.MOU, 0x80)
Return(0x01)
}
Method(_L0A) {
--
1.7.1
next prev parent reply other threads:[~2012-07-17 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 12:30 [Qemu-devel] [rfc patch seabios 0/3] s3 improvements Gerd Hoffmann
2012-07-17 12:31 ` Gerd Hoffmann [this message]
2012-07-17 12:31 ` [Qemu-devel] [rfc patch seabios 2/3] wakeup: serial Gerd Hoffmann
2012-07-17 12:31 ` [Qemu-devel] [rfc patch seabios 3/3] wakeup: uhci Gerd Hoffmann
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=1342528262-11548-2-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.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;
as well as URLs for NNTP newsgroup(s).