]> xenbits.xen.org Git - xenclient/xen.git/commitdiff
Add AMW acpid events generated by Dell and few other OEMs.
authorKamala Narasimhan <kamala.narasimhan@citrix.com>
Thu, 5 Mar 2009 17:29:46 +0000 (12:29 -0500)
committerKamala Narasimhan <kamala.narasimhan@citrix.com>
Thu, 5 Mar 2009 17:29:46 +0000 (12:29 -0500)
tools/xenpmd/acpi-events.c

index 7abecb81d7d32ce80ff677d444455b8e560578ef..b4752880c43b747e82a25b86d1d1a2812a294f9c 100644 (file)
@@ -130,7 +130,8 @@ void process_acpi_message(char *acpi_buffer)
         return;
     }
 
-    if ( strstr(acpi_buffer, "WMID") )
+    if ( (strstr(acpi_buffer, "WMID")) ||
+         (strstr(acpi_buffer, "AMW0")) ) 
         handle_oem_event();
 }