summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
diff options
context:
space:
mode:
authorHieu Huynh <hieuh@os.amperecomputing.com>2023-12-22 12:51:31 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2023-12-23 03:48:38 +0300
commit159146e27119cc89ccabc9837bae40d6f6baf1b4 (patch)
treeb2ce92918e7257f0f18c166e025fa898478e4883 /meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
parent8496e57ba3fe4f929626f34449b9240517a37d9a (diff)
downloadopenbmc-159146e27119cc89ccabc9837bae40d6f6baf1b4.tar.xz
meta-ampere: mtmitchell: handle the fan fault
The phosphor-led-manager will monitors the `xyz.openbmc_project.State.Decorator.OperationalStatus` interface of the Inventory D-Bus object, and check whether the Inventory D-Bus object is associated with the LED group D-Bus object, and then update the Asserted property of the LedManager. This adds the fan_fault led group to associations.json file to monitors the FANs and turns on the fault led when the FANs fails. 1. Unplug the fan and verify that both `Fan Fault Led` and `Fault Led` are turned on. 2. Plug the fan and verify that both `Fan Fault Led` and `Fault Led` are turned off. Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: I2adc0fb8846c4690f8eaac3bb80e6dbf25077be3
Diffstat (limited to 'meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json')
-rw-r--r--meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
index 84b78bf42c..ef35e053bb 100644
--- a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
@@ -43,6 +43,23 @@
"Period": 1000
}
]
+ },
+ {
+ "group": "fan_fault",
+ "members": [
+ {
+ "Name": "fan_fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ },
+ {
+ "Name": "fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ }
+ ]
}
]
}