[PATCH] klog.json: Add more error messages for battery to klog database
Ivan Hu
ivan.hu at canonical.com
Wed Sep 11 02:09:33 UTC 2024
These messages are specific to the ACPI battery 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 039ded40..26411978 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -64,6 +64,20 @@
"advice": "The ACPI battery driver has detected that the Battery Information Extended (_BIX) object seems to be broken and has fallen back to using the less modern Battery Information (_BIF) object instead to get battery specific data.",
"label": "KlogAcpiBixBroken",
},
+ {
+ "compare_mode": "string",
+ "log_level": "LOG_LEVEL_HIGH",
+ "pattern": "extension failed to load:",
+ "advice": "The ACPI battery driver has to notify the hook that a battery is available for each battery, but the registration of the extension has failed.",
+ "label": "KlogAcpiRegistrationFail",
+ },
+ {
+ "compare_mode": "string",
+ "log_level": "LOG_LEVEL_HIGH",
+ "pattern": "error in extension, unloading:",
+ "advice": "The ACPI battery driver adds a new battery to the list and calls add_battery for each hook that was registered, but gets the notification of the extensions has failed.",
+ "label": "KlogAcpiRegistrationFail",
+ },
{
"compare_mode": "regex",
"log_level": "LOG_LEVEL_LOW",
--
2.34.1
More information about the fwts-devel
mailing list