[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [rfc patch seabios 1/3] wakeup: kbd & mouse
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [rfc patch seabios 1/3] wakeup: kbd & mouse |
Date: |
Tue, 17 Jul 2012 14:31:00 +0200 |
Windup gpe bits 0x08 (keyboard) and 0x09 (mouse) for s3 wakeup.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
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