diff options
author | George Hung <george.hung@quantatw.com> | 2020-09-02 17:20:04 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-09-03 18:17:39 +0300 |
commit | cad1788fe19a7a8186d9c9b98390357dd8ab71fa (patch) | |
tree | 1d77143f4d53626154808d83d160536b195f3bb7 /meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor | |
parent | 6113cc091b925318205d15c836dc8d1bf38697ce (diff) | |
download | openbmc-cad1788fe19a7a8186d9c9b98390357dd8ab71fa.tar.xz |
meta-quanta: gbs: fix BMC can't record gpio present SEL logs
It needs to set the correct sensor type in sensor DBus path and
then records the gpio present SEL logs successfully
cable sensors -> set sensor type 'cable'
Non-cable sensors -> set sensor type 'entity presence'
(From meta-quanta rev: c144969b7fc813610fa55a24629ead297ff24cfe)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I454d87439141b1b55d995a3276384429ad10d9a9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor')
10 files changed, 10 insertions, 10 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-0.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-0.conf index e6dfdac67..e26c8f50e 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-0.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-0.conf @@ -1,6 +1,6 @@ #The gpio 70 is a real gpio, which is used to #store the sas cable 0 present signal -INVENTORY=/system/chassis/gpios/ss_cab0_prsnt +INVENTORY=/system/chassis/cable/ss_cab0_prsnt DEVPATH=/dev/input/event0 KEY=70 NAME=ss_cab0_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-1.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-1.conf index 2f3e5f5bc..e6a18ee6c 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-1.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-1.conf @@ -1,6 +1,6 @@ #The gpio 71 is a real gpio, which is used to #store the sas cable 1 present signal -INVENTORY=/system/chassis/gpios/ss_cab1_prsnt +INVENTORY=/system/chassis/cable/ss_cab1_prsnt DEVPATH=/dev/input/event0 KEY=71 NAME=ss_cab1_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-2.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-2.conf index 719311d5f..490f97f49 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-2.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-2.conf @@ -1,6 +1,6 @@ #The gpio 72 is a real gpio, which is used to #store the sas cable 2 present signal -INVENTORY=/system/chassis/gpios/ss_cab2_prsnt +INVENTORY=/system/chassis/cable/ss_cab2_prsnt DEVPATH=/dev/input/event0 KEY=72 NAME=ss_cab2_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-3.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-3.conf index 2e1a82836..f3579ab97 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-3.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-3.conf @@ -1,6 +1,6 @@ #The gpio 73 is a real gpio, which is used to #store the sas cable 3 present signal -INVENTORY=/system/chassis/gpios/ss_cab3_prsnt +INVENTORY=/system/chassis/cable/ss_cab3_prsnt DEVPATH=/dev/input/event0 KEY=73 NAME=ss_cab3_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-4.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-4.conf index ecd074791..be6ed95af 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-4.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-4.conf @@ -1,6 +1,6 @@ #The gpio 57 is a real gpio, which is used to #store the HSBP cable present signal -INVENTORY=/system/chassis/gpios/hsbp_cab_prsnt +INVENTORY=/system/chassis/cable/hsbp_cab_prsnt DEVPATH=/dev/input/event0 KEY=57 NAME=hsbp_cab_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-5.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-5.conf index 2838872f8..223ef4a7c 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-5.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-5.conf @@ -1,6 +1,6 @@ #The gpio 58 is a real gpio, which is used to #store the fan board cable present signal -INVENTORY=/system/chassis/gpios/fanbd_cab_prsnt +INVENTORY=/system/chassis/cable/fanbd_cab_prsnt DEVPATH=/dev/input/event0 KEY=58 NAME=fanbd_cab_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-6.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-6.conf index ca3fbd4b1..c32fb3c97 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-6.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-6.conf @@ -1,6 +1,6 @@ #The gpio 69 is a real gpio, which is used to #store the HSBP 12V standby cable present signal -INVENTORY=/system/chassis/gpios/bp12v_cab_prsnt +INVENTORY=/system/chassis/cable/bp12v_cab_prsnt DEVPATH=/dev/input/event0 KEY=69 NAME=bp12v_cab_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-7.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-7.conf index 0a0aed7c7..1cc7da265 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-7.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-7.conf @@ -1,6 +1,6 @@ #The gpio 5 is a real gpio, which is used to #store the SATA0 present signal -INVENTORY=/system/chassis/gpios/sata0_prsnt +INVENTORY=/system/chassis/entity/sata0_prsnt DEVPATH=/dev/input/event0 KEY=5 NAME=sata0_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-8.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-8.conf index 342aaf0a9..38c72e11e 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-8.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-8.conf @@ -1,6 +1,6 @@ #The gpio 120 is a real gpio, which is used to #store the PE0 present signal -INVENTORY=/system/chassis/gpios/pe_slot0_prsnt +INVENTORY=/system/chassis/entity/pe_slot0_prsnt DEVPATH=/dev/input/event0 KEY=120 NAME=pe_slot0_prsnt diff --git a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-9.conf b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-9.conf index 10d3a2ee7..007229d44 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-9.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc/gpio/gpios-9.conf @@ -1,6 +1,6 @@ #The gpio 121 is a real gpio, which is used to #store the PE1 present signal -INVENTORY=/system/chassis/gpios/pe_slot1_prsnt +INVENTORY=/system/chassis/entity/pe_slot1_prsnt DEVPATH=/dev/input/event0 KEY=121 NAME=pe_slot1_prsnt |