Home
last modified time | relevance | path

Searched +full:phosphor +full:- +full:fan +full:- +full:presence (Results 1 – 25 of 92) sorted by relevance

1234

/openbmc/phosphor-fan-presence/docs/presence/
H A DREADME.md1 # Fan Presence Configuration File
5 - [Overview](#overview)
6 - [Data Format](#data-format)
7 - [Example](#example)
8 - [System Config Location](#system-config-location)
9 - [Contents](#contents)
10 - [Validation](#validation)
11 - [Firmware Updates](#firmware-updates)
12 - [Loading and Reloading](#loading-and-reloading)
16 The `phosphor-fan-presence-tach` application is controlled by a configuration
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/fans/
H A Dphosphor-fan_git.bb1 SUMMARY = "Phosphor Fan"
2 DESCRIPTION = "Phosphor fan provides a set of fan monitoring and \
5 DEPENDS += "${PYTHON_PN}-pyyaml-native"
6 DEPENDS += "${PYTHON_PN}-mako-native"
8 DEPENDS += "${PYTHON_PN}-sdbus++-native"
11 DEPENDS += "phosphor-logging"
13 DEPENDS += "nlohmann-json"
15 PACKAGECONFIG ?= "presence control monitor sensor-monitor"
16 # The control, monitor, and presence apps can either be JSON or YAML driven.
17 PACKAGECONFIG[json] = "-Djson-config=enabled, -Djson-config=disabled"
[all …]
H A Dphosphor-fan-presence-config.bb1 # Provides the config file for the phosphor-fan-presence application.
6 SUMMARY = "Config file for phosphor-fan-presence"
7 LICENSE = "Apache-2.0"
8 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd…
9 PROVIDES += "virtual/phosphor-fan-presence-config"
18 inherit phosphor-fan
21 install -D config.yaml ${D}${presence_datadir}/config.yaml
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend5 CONFIG_FOLDER = "phosphor-fan-presence"
8 EXECCON_OVERRIDE_CONF = "phosphor-fan-override-execco
[all...]
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend5 CONFIG_FOLDER = "phosphor-fan-presence"
8 EXECCON_OVERRIDE_CONF = "phosphor-fan-override-execco
[all...]
/openbmc/phosphor-fan-presence/docs/control/
H A DREADME.md1 # Fan Control Configuration File
5 - [Overview](#overview)
6 - [Data Format](#data-format)
7 - [System Config Location](#system-config-location)
8 - [Contents](#contents)
9 - [Validation](#validation)
10 - [Firmware Updates](#firmware-updates)
11 - [Loading and Reloading](#loading-and-reloading)
12 - [Debug](#debug)
16 The `phosphor-fan-control` application is comprised of as set of configuration
[all …]
/openbmc/openbmc/meta-phosphor/conf/distro/include/
H A Dphosphor-defaults.inc5 # obmc-bmc-state-manager
9 VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc"
11 # obmc-chassis-state-manager
15 VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis"
17 # obmc-host-state-manager
21 VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host"
23 # obmc-discover-system-state
25 # Provides an implementation of phosphor-discover-system-state, which, if the
28 VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover"
30 # obmc-fan-presence
[all …]
H A Dphosphor-mrw.inc1 DISTRO_FEATURES += "obmc-mrw"
2 DISTRO_FEATURES_FILTER_NATIVE += "obmc-mrw"
3 DISTRO_FEATURES_FILTER_NATIVESDK += "obmc-mrw"
5 DISTROOVERRIDES .= ":df-mrw"
7 VIRTUAL-RUNTIME_phosphor-hwmon-config:df-mrw ?= "phosphor-hwmon-config-mrw"
9 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory:df-mrw ?= "phosphor-ipmi-fru-inventory-mrw-n…
10 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties:df-mrw ?= "phosphor-ipmi-fru-properties-mrw
11 PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory:df-mrw ?= "phosphor-ipmi-fru-read-inven…
12 PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory:df-mrw ?= "phosphor-ipmi-sensor-inventory
13 PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel:df-mrw ?= "phosphor-ipmi-inventory-sel-mrw-n…
[all …]
/openbmc/phosphor-fan-presence/docs/monitor/
H A DREADME.md1 # Fan Monitor Configuration File
5 - [Overview](#overview)
6 - [Data Format](#data-format)
7 - [Example](#example)
8 - [System Config Location](#system-config-location)
9 - [Contents](#contents)
10 - [Validation](#validation)
11 - [Firmware Updates](#firmware-updates)
12 - [Loading and Reloading](#loading-and-reloading)
16 The `phosphor-fan-monitor` application is controlled by a configuration file
[all …]
/openbmc/openbmc/meta-ibm/conf/machine/
H A Dwitherspoon.conf2 KERNEL_DEVICETREE = "aspeed/${KMACHINE}-bmc-opp-${MACHINE}.dtb"
4 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-aspeed"
5 PREFERRED_PROVIDER_u-boot = "u-boot-aspeed"
6 PREFERRED_PROVIDER_u-boot-fw-utils = "u-boot-fw-utils-aspeed"
13 MACHINEOVERRIDES =. "ibm-ac-server:"
14 require conf/distro/include/phosphor-ubi.inc
15 require conf/distro/include/openpower-mrw.inc
16 require conf/distro/include/openpower-ubi.inc
18 require conf/machine/include/obmc-bsp-common.inc
21 require conf/distro/include/ibm-yaml.inc
[all …]
/openbmc/phosphor-fan-presence/
H A Dmeson.build2 'phosphor-fan-presence',
11 license: 'Apache-2.0',
55 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
56 phosphor_logging_dep = dependency('phosphor-logging')
89 usr_share_dir = '/usr/share/phosphor-fan-presence'
96 get_option('control-persist-root-path'),
100 get_option('control-persist-root-path'),
102 conf.set_quoted('FAN_DEF_YAML_FILE', get_option('fan-def-yaml-file'))
103 conf.set_quoted('FAN_ZONE_YAML_FILE', get_option('fan-zone-yaml-file'))
104 conf.set_quoted('ZONE_EVENTS_YAML_FILE', get_option('zone-events-yaml-file'))
[all …]
H A DREADME.md5 - [Overview](#overview)
6 - [Building](#building)
7 - [Contents](#contents)
11 The phosphor-fan-presence repository provides a set of thermal related
29 - [Fan Control](#fan-control)
30 - To disable from building, use the `-Dcontrol-service=disabled` meson option:
32 meson build -Dcontrol-service=disabled
34 - [Fan Presence Detection](#fan-presence-detection)
35 - To disable from building, use the `-Dpresence-service=disabled` meson
38 meson build -Dpresence-service=disabled
[all …]
H A Dmeson.options5 'json-config',
8 description: 'Use json at runtime to configure fan packages.',
12 'machine-name',
21 'control-service',
24 description: 'Build fan control service.',
28 'json-control',
31 description: '''This can only be used to disable JSON based fan control
32 (using json-control=disabled) when json-config is enabled.
33 If json-control=enabled and json-config=disabled it will
38 'control-persist-root-path',
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Dfan.hpp7 namespace phosphor namespace
9 namespace fan namespace
11 namespace presence namespace
17 using Fan = std::tuple<std::string, std::string, std::optional<size_t>>; typedef
20 * @brief Update the presence state.
25 * @param[in] fan - The fan to update.
26 * @param[in] newState - The new state of the fan.
28 void setPresence(const Fan& fan, bool newState);
31 * @brief Read the presence state.
36 * @param[in] fan - The fan to read.
[all …]
H A Djson_parser.hpp4 #include "fan.hpp"
17 namespace phosphor namespace
19 namespace fan namespace
21 namespace presence namespace
28 constexpr auto confAppName = "presence";
34 using fanPolicy = std::tuple<Fan, std::vector<std::unique_ptr<PresenceSensor>>>;
36 // Presence method handler function
39 // Presence redundancy policy handler function
56 * @param[in] bus - sdbusplus bus object
61 * @brief Get the json config based fan presence policies
[all …]
H A Dfallback.hpp3 #include "fan.hpp"
9 namespace phosphor namespace
11 namespace fan namespace
13 namespace presence namespace
23 * subsequent presence sensors when the active
25 * sensor indicates the fan is present.
40 * @param[in] fan - The fan associated with the policy.
41 * @param[in] s - The set of sensors associated with the policy.
42 * @param[in] e - EEPROM device instance
44 Fallback(const Fan& fan, in Fallback() argument
[all …]
H A Dfallback.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
18 #include "fan.hpp"
21 #include <phosphor-logging/lg2.hpp>
25 namespace phosphor namespace
27 namespace fan namespace
29 namespace presence namespace
37 // sensor that reports the fan as present, if any. in stateChanged()
45 activeSensor->get().stop(); in stateChanged()
46 present = it->get().start(); in stateChanged()
51 activeSensor->get().fail(); in stateChanged()
[all …]
H A Dtach.hpp12 namespace phosphor namespace
14 namespace fan namespace
16 namespace presence namespace
22 * @brief Fan tach sensor presence implementation.
25 * to determine presence state.
46 * @param[in] sensors - Fan tach sensors for this psensor.
53 * Register for dbus signal callbacks on fan
63 * De-register dbus signal callbacks.
75 * @brief Called when this presence sensor doesn't agree with other ones.
77 * @param[in] fanInventoryPath - The fan inventory D-Bus object path.
[all …]
H A Danyof.hpp3 #include "fan.hpp"
12 namespace phosphor namespace
14 namespace fan namespace
16 namespace presence namespace
42 * @param[in] fan - The fan associated with the policy.
43 * @param[in] s - The set of sensors associated with the policy.
44 * @param[in] e - EEPROM device instance
46 AnyOf(const Fan& fan,
53 * @param[in] fan - The fan associated with the policy.
54 * @param[in] s - The set of sensors associated with the policy.
[all …]
H A Djson_parser.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
26 #include <phosphor-logging/lg2.hpp>
35 namespace phosphor namespace
37 namespace fan namespace
39 namespace presence namespace
58 using config = fan::JsonConfig; in start()
68 p->monitor(); in start()
83 using config = fan::JsonConfig; in sighupHandler()
92 p->monitor(); in sighupHandler()
107 // Set the expected number of fan entries in process()
[all …]
H A Drpolicy.hpp4 #include "fan.hpp"
6 namespace phosphor namespace
8 namespace fan namespace
10 namespace presence namespace
22 * A fan can have multiple ways to detect whether or not it is present.
24 * inputs into a single yes or no the fan is present.
38 * @param[in] fan - The fan associated with this policy.
39 * @param[in] eeprom - EEPROM device instance
41 explicit RedundancyPolicy(const Fan& f, in RedundancyPolicy()
43 fan(f), eepromDevice(std::move(eeprom)) in RedundancyPolicy()
[all …]
/openbmc/phosphor-fan-presence/presence/service_files/yaml/
H A Dphosphor-fan-presence-tach@.service2 Description=Phosphor Fan Presence Tach Daemon
3 Wants=obmc-power-on@%i.target
4 After=obmc-power-on@%i.target
5 Conflicts=obmc-chassis-powered-off@%i.target
8 Restart=on-failure
9 ExecStart=/usr/bin/phosphor-fan-presence-tach
10 SyslogIdentifier=phosphor-fan-presence-tach
13 RequiredBy=obmc-chassis-poweron@%i.target
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend3 RDEPENDS:${PN}-monitor += "bash"
12 file://presence.json \
13 file://phosphor-fan-control.conf \
16 SYSTEMD_OVERRIDE:${PN}-control += "phosphor-fan-control.conf:phosphor-fan-control@0.service.d/phosp…
19 mkdir -p ${S}/control/config_files/${MACHINE}
25 mkdir -p ${S}/monitor/config_files/${MACHINE}
28 mkdir -p ${S}/presence/config_files/${MACHINE}
29 cp ${UNPACKDIR}/presence.json ${S}/presence/config_files/${MACHINE}/config.json
/openbmc/openbmc/meta-ibm/recipes-phosphor/packagegroups/
H A Dpackagegroup-obmc-apps.bbappend2 phosphor-power-monitor \
3 phosphor-power-systemd-links-monitor \
4 phosphor-power-sequencer \
5 phosphor-power-systemd-links-sequencer \
6 phosphor-power-utils \
7 phosphor-power \
12 phosphor-power-control \
13 phosphor-power-utils \
14 phosphor-power \
15 phosphor-power-regulators \
[all …]
/openbmc/phosphor-fan-presence/presence/service_files/json/
H A Dphosphor-fan-presence-tach@.service2 Description=Phosphor Fan Presence Tach Daemon
3 After=mapper-wait@-xyz-openbmc_project-inventory.service
6 Restart=on-failure
7 ExecStart=/usr/bin/phosphor-fan-presence-tach

1234