commit | 3804437655d9943e641a208aab44da6e8b2b1a1b | [log] [tgz] |
---|---|---|
author | Faisal Awada <faisal@us.ibm.com> | Tue Jul 25 19:24:37 2023 +0000 |
committer | Faisal Awada <faisal@us.ibm.com> | Tue Aug 01 14:27:37 2023 +0000 |
tree | a79144d3c6cf56563ad1b5fa40e95ad6b2fa73b5 | |
parent | dc98208246406f8fdfd84a6b3c5da1a7c6ad86c3 [diff] |
meta-ibm:sensors:p10bmc: Modify ACBEL READ_VOUT label Modify ACBEL PSU configuration file to read output voltage from sysfs in2_label and to read the output current from curr2_label. Testing: Placed the modified config file in /etc//default/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf then verified the output voltage and current output shows up on the BMC sensors web page and redfish. Change-Id: Iacf1469295b99f6a7363d26983786f9c7ed8826a Signed-off-by: Faisal Awada <faisal@us.ibm.com>
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf index 1c5ccdd..a07d5f7 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf
@@ -1,8 +1,8 @@ LABEL_in1="ps0_input_voltage" -LABEL_in3="ps0_output_voltage" +LABEL_in2="ps0_output_voltage" -LABEL_curr1="ps0_output_current" +LABEL_curr2="ps0_output_current" LABEL_power1="ps0_input_power"
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf index 254c798..3850b52 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf
@@ -1,8 +1,8 @@ LABEL_in1="ps1_input_voltage" -LABEL_in3="ps1_output_voltage" +LABEL_in2="ps1_output_voltage" -LABEL_curr1="ps1_output_current" +LABEL_curr2="ps1_output_current" LABEL_power1="ps1_input_power"