diff options
author | George Hung <george.hung@quantatw.com> | 2021-06-25 10:09:16 +0300 |
---|---|---|
committer | George Hung <george.hung@quantatw.com> | 2021-06-28 04:54:23 +0300 |
commit | 3ab5fd08a77249cd6693e5431d72363a807c1bd5 (patch) | |
tree | 2eb3ff98053e594bf4c88501adf55c3ef5934cf5 /meta-quanta | |
parent | 9cb3a7ce2dce1789c7dd13c10daf241d16104005 (diff) | |
download | openbmc-3ab5fd08a77249cd6693e5431d72363a807c1bd5.tar.xz |
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
Diffstat (limited to 'meta-quanta')
-rw-r--r-- | meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-inventory-sensors.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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 865e4b3b6..76eaa4e51 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 |