[SeaBIOS] [rfc patch seabios 1/3] wakeup: kbd & mouse

Gerd Hoffmann kraxel at redhat.com
Tue Jul 17 14:31:00 CEST 2012


Windup gpe bits 0x08 (keyboard) and 0x09 (mouse) for s3 wakeup.

Signed-off-by: Gerd Hoffmann <kraxel at 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




More information about the SeaBIOS mailing list