diff mbox

[11/22] data: klog.json: Add support for the ACPI device power handler

Message ID 1351876532-21869-12-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King Nov. 2, 2012, 5:15 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Add support to check for messages in drivers/acpi/power.c

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Comments

Keng-Yu Lin Nov. 7, 2012, 4:17 a.m. UTC | #1
On Sat, Nov 3, 2012 at 1:15 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add support to check for messages in drivers/acpi/power.c
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  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",
> --
> 1.7.10.4
>
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung Nov. 21, 2012, 2:56 a.m. UTC | #2
On 11/03/2012 01:15 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add support to check for messages in drivers/acpi/power.c
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   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",
>
Acked-by: Alex Hung <alex.hung@canonical.com>
diff mbox

Patch

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",