commit | 761a366c3cde46c7b43726d679c140ab6752e9a6 | [log] [tgz] |
---|---|---|
author | Peter Yin <peter.yin@quantatw.com> | Wed Jul 31 17:19:52 2024 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Aug 02 02:22:07 2024 +0000 |
tree | c9c5b1029859768495404014a1db230f0b6cc1e1 | |
parent | 383fc2fe8104067c41d2f3cafaee7e6bb3943862 [diff] |
meta-facebook: harma: contorl power led when MB power loss. CMM performing DC or AC commands can cause MB power loss and result in the inability to control the SGPIO status. Therefore, add a power LED control command to sync the power status. Change-Id: Iab7f37d9d31838d950d1c9471aef9e23906cbea9 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-off b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-off index 121db3f..1eed8d1 100644 --- a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-off +++ b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-off
@@ -5,3 +5,6 @@ # Set Host Power Off obmcutil poweroff + +# Turn off the power Led +systemctl start obmc-led-group-stop@power_on.service
diff --git a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-on b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-on index d556137..122a89f 100644 --- a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-on +++ b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/host-power-on
@@ -4,3 +4,6 @@ # Set Host Power On obmcutil poweron + +# Turn on the power Led +systemctl start obmc-led-group-start@power_on.service