[PATCH] klog.json: Add some missing power kernel messages to klog database

Ivan Hu ivan.hu at canonical.com
Mon Oct 30 06:47:24 UTC 2023


These messages are specific to the ACPI power driver.

Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 data/klog.json | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/data/klog.json b/data/klog.json
index 5cdae30c..46e8d748 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -4131,6 +4131,13 @@
    "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
    "label": "KlogAcpiPowerWakeupResources"
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Cannot turn on wakeup power resources",
+   "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
+   "label": "KlogAcpiPowerWakeupResources"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_MEDIUM",
@@ -4138,6 +4145,13 @@
    "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
    "label": "KlogAcpiPowerWakeupResources"
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Cannot turn off wakeup power resources",
+   "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
+   "label": "KlogAcpiPowerWakeupResources"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
-- 
2.34.1




More information about the fwts-devel mailing list