commit | 3ab5fd08a77249cd6693e5431d72363a807c1bd5 | [log] [tgz] |
---|---|---|
author | George Hung <george.hung@quantatw.com> | Fri Jun 25 15:09:16 2021 +0800 |
committer | George Hung <george.hung@quantatw.com> | Mon Jun 28 01:54:23 2021 +0000 |
tree | 2eb3ff98053e594bf4c88501adf55c3ef5934cf5 | |
parent | 9cb3a7ce2dce1789c7dd13c10daf241d16104005 [diff] |
meta-quanta: gbs: add system event sensor to handle non-IPMI-SEL Since the phosphor-logging still has other event types other than IPMI SEL and also put them in the "/var/lib/phosphor-logging/errors" directory. It would make "ipmitool sel list" result in the unspecified error Thus, map these logs to the system event sensor as "Undetermined system hardware failure" Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I00d557fba529d9b762746f8e582df336a16e630f
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-inventory-sensors.yaml b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-inventory-sensors.yaml index 865e4b3..76eaa4e 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-inventory-sensors.yaml +++ b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-inventory-sensors.yaml
@@ -433,3 +433,9 @@ sensorID: 0xFC sensorType: 0x25 offset: 0x01 +# map non-IPMI-SEL to the system event sensor as "Undetermined system hardware failure." +/xyz/openbmc_project/inventory/system: + eventReadingType: 0x6f + sensorID: 0xFE + sensorType: 0x12 + offset: 0x02