From patchwork Fri Nov 2 17:15:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 196623 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 2ED1A2C00D0 for ; Sat, 3 Nov 2012 04:15:50 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TUKqS-0006WV-U0; Fri, 02 Nov 2012 17:15:48 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TUKqI-0006SO-4f for fwts-devel@lists.ubuntu.com; Fri, 02 Nov 2012 17:15:38 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TUKqI-0007fj-2X for fwts-devel@lists.ubuntu.com; Fri, 02 Nov 2012 17:15:38 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 11/22] data: klog.json: Add support for the ACPI device power handler Date: Fri, 2 Nov 2012 17:15:21 +0000 Message-Id: <1351876532-21869-12-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351876532-21869-1-git-send-email-colin.king@canonical.com> References: <1351876532-21869-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Add support to check for messages in drivers/acpi/power.c Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Alex Hung --- data/klog.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/data/klog.json b/data/klog.json index 1351fd2..1e7bd3c 100644 --- a/data/klog.json +++ b/data/klog.json @@ -78,6 +78,30 @@ [ { "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI_POWER", + "pattern": "_DSW execution failed", + "advice": "The ACPI control _DSW (Device Sleep Wake) failed to execute, this may impact on the ability to enable or disable the wake capabilities of a device in the computer.", + "label": "KlogAcpiDswFailed" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI_POWER", + "pattern": "_PSW execution failed", + "advice": "The ACPI control _PSW (Power State Wake) failed to execute, this may impact on the ability to enable or disable the wake capabilities of a device in the computer.", + "label": "KlogAcpiPswFailed" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI_POWER", + "pattern": "Transition power state", + "advice": "Failed to power on or shutdown a wakeup device using _PSW or _DSW control methods.", + "label": "KlogAcpiSuspend" + }, + { + "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_EMBEDDED_CONTROLLER", "pattern": "Fail in evaluating the _REG object of EC device",