diff options
author | Mike Capps <mikepcapps@gmail.com> | 2021-08-26 17:19:09 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-08-26 18:43:21 +0300 |
commit | ad3ad6fcd23e0c2e646f0e1e065ce0f76fc62186 (patch) | |
tree | b29df7128c26a090260b563443192494e2d2bf8a | |
parent | b8fea6dafb46cd8c226992f14b7c4d1dce2d6ce6 (diff) | |
download | openbmc-ad3ad6fcd23e0c2e646f0e1e065ce0f76fc62186.tar.xz |
meta-phosphor:fans: Include `fanctl` tool with phosphor-fan-control
This tool allows for controlling fan speeds, viewing targets and
feedback values, and diagnostic info about fans and fan-control services.
Commands:
- status: print the RPM or PWM targets and view RPM feedback values for
each fan/rotor. Also shows the health of the fan-control service and
BMC power states.
- set <target> : sets the targets for all fans (if no additional args)
or for a list of one-or-more specific fans.
- get : gets the targets and prints rotor speeds for all fans
- reload: forces phosphor-fan-control to reload its configuration files
by sending the service an interrupt signal.
- resume: shortcut to restart phosphor-fan-control if it had been
stopped for maintenance.
Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: Iaa7e447d2d5aa977482663ef6dd45aadffc58f55
-rw-r--r-- | meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb b/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb index ccf079b819..9e01493823 100644 --- a/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb +++ b/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb @@ -99,6 +99,7 @@ INSTFMT_CONTROL_INIT = "phosphor-fan-control-init@{0}.service" FMT_CONTROL_INIT = "../${TMPL_CONTROL_INIT}:${POWERON_TGT}.wants/${INSTFMT_CONTROL_INIT}" FILES:${PN}-control = "${bindir}/phosphor-fan-control" +FILES:${PN}-control += "${bindir}/fanctl" SYSTEMD_SERVICE:${PN}-control += "${TMPL_CONTROL}" SYSTEMD_SERVICE:${PN}-control += "${@bb.utils.contains('PACKAGECONFIG', 'json', '', '${TMPL_CONTROL_INIT}', d)}" |