diff mbox series

klog.json: Add the missing scan error messages to klog database

Message ID 20240911020935.43413-4-ivan.hu@canonical.com
State Accepted
Headers show
Series klog.json: Add the missing scan error messages to klog database | expand

Commit Message

Ivan Hu Sept. 11, 2024, 2:09 a.m. UTC
These messages are specific to the ACPI scan driver.

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 data/klog.json | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/data/klog.json b/data/klog.json
index 6d4132cf..039ded40 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -1875,7 +1875,28 @@ 
    "log_level": "LOG_LEVEL_HIGH",
    "pattern": "Error registering device",
    "advice": "An error occurred when adding a new ACPI device, the device registration failed. See acpi_device_add().",
-   "label": "KlogAcpi"
+   "label": "KlogAcpiRegisterDevice"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Unable to extract wakeup power resources",
+   "advice": "An error occurred when extract wakeup power resources with the _PRW object.",
+   "label": "KlogAcpiGetWakeSourceFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "error in _DSW or _PSW evaluation",
+   "advice": "An error occurred when calling _PSW/_DSW object to disable its ability to wake the sleeping system for the ACPI device with the _PRW object and has been ignored.",
+   "label": "KlogAcpiEvaluateFail"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Error reading device info",
+   "advice": "An error occurred when setting PNP IDs, due to cannot get device infomation with ACPI bus type device.",
+   "label": "KlogAcpiReadInfoFail"
   },
   {
    "compare_mode": "string",