Patchwork [rfc,seabios,2/3] wakeup: serial

login
register
mail settings
Submitter Gerd Hoffmann
Date July 17, 2012, 12:31 p.m.
Message ID <1342528262-11548-3-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/171420/
State New
Headers show

Comments

Gerd Hoffmann - July 17, 2012, 12:31 p.m.
Windup gpe bit 0x0a for s3 wakeup.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/acpi-dsdt.dsl |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Patch

diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 93d0b3d..03efbfd 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -479,6 +479,12 @@  DefinitionBlock (
 		    })
 		    Return (BUF0)
 		}
+                /* Power Resources for Wake */
+                Name(_PRW, Package(2) {
+                    0x0a,  // GPE bit
+                    0x03,  // S3
+                })
+
 	    }
 
 	    Device (COM2)
@@ -793,6 +799,7 @@  DefinitionBlock (
             Return(0x01)
         }
         Method(_L0A) {
+            Notify(\_SB.PCI0.ISA.COM1, 0x80)
             Return(0x01)
         }
         Method(_L0B) {