/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/thermal-policy/ibm-ac-server/ |
H A D | thermal-policy.yaml | 13 - meta: SENSOR 15 - meta: SENSOR 17 - meta: SENSOR 19 - meta: SENSOR 21 - meta: SENSOR 23 - meta: SENSOR 25 - meta: SENSOR 27 - meta: SENSOR 29 - meta: SENSOR 31 - meta: SENSOR [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/ |
H A D | Threshold.events.yaml | 9 description: The name or identifier of the sensor. 13 description: The reading of the sensor. 18 type: enum[xyz.openbmc_project.Sensor.Value.Unit] 21 description: The configured threshold value for this sensor. 31 description: The name or identifier of the sensor. 35 description: The reading of the sensor. 40 type: enum[xyz.openbmc_project.Sensor.Value.Unit] 43 description: The configured threshold value for this sensor. 53 description: The name or identifier of the sensor. 57 description: The reading of the sensor [all...] |
/openbmc/phosphor-hwmon/ |
H A D | sensor.hpp | 17 namespace sensor namespace 29 /** @brief Custom exception for async sensor reading timeout 35 "Async sensor read timed out") in AsyncSensorReadTimeOut() 39 /** @class Sensor 40 * @brief Sensor object based on a SensorSet container's key type 41 * @details Sensor object to create and modify an associated device's sensor 42 * attributes based on the key type of each sensor in the set provided by the 45 class Sensor class 48 Sensor() = delete; 49 Sensor(const Sensor&) = delete; [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | sensordatahandler.hpp | 18 extern ipmi::sensor::SensorCacheMap sensorCacheMap; 28 namespace sensor namespace 45 * @param[in] cmdData - Input sensor data 59 /** @brief Populate sensor name from the D-Bus property associated with the 60 * sensor. In the example entry from the yaml, the name of the D-bus 61 * property "AttemptsLeft" is the sensor name. 78 * @param[in] sensorInfo - Dbus info related to sensor. 80 * @return On success return the sensor name for the sensor. 87 /** @brief Populate sensor nam [all...] |
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | dbus_sensor.hpp | 23 #include <xyz/openbmc_project/Sensor/Value/server.hpp> 38 * xyz.openbmc_project.Sensor.Value interface. 40 using ValueInterface = sdbusplus::xyz::openbmc_project::Sensor::server::Value; 73 * valid sensor Unit values on D-Bus. 75 using Unit = sdbusplus::xyz::openbmc_project::Sensor::server::Value::Unit; 90 * This class represents a voltage regulator sensor on D-Bus. 92 * Each voltage rail in the system may provide multiple types of sensor data, 113 * @param name sensor name 114 * @param type sensor type 115 * @param value sensor value [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_cold_reset.robot | 6 ... interrupt enables, event message generation,sensor scanning, 16 ... impact on sensor threshold value change with cold reset. 18 ... The script changes sensor threshold value for Fan sensor, 20 ... compares sensor threshold values of initial and reading after cold reset. 68 Verify Cold Reset Impact On Sensor Threshold Via IPMI 69 [Documentation] Modify sensor threshold, perform cold reset, 70 ... and verify if sensor threshold reverts back to initial value. 73 # Get sensor list. 74 ${sensor_list}= Get Sensor List 76 # Get initial sensor threshold readings. [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 21 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts 27 xyz.openbmc_project.Sensor.Value: 42 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts 48 xyz.openbmc_project.Sensor.Value: 63 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts 69 xyz.openbmc_project.Sensor.Value: 84 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts 90 xyz.openbmc_project.Sensor.Value: 106 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts [all …]
|
/openbmc/webui-vue/src/store/modules/HardwareStatus/ |
H A D | SensorsStore.js | 62 const promises = sensors.map((sensor) => { 63 return api.get(sensor['@odata.id']).catch((error) => { 92 response.data.Members.map((sensor) => { 94 name: sensor.Name, 95 status: sensor.Status?.Health, 96 currentValue: sensor.Reading, 97 lowerCaution: sensor.Thresholds?.LowerCaution?.Reading, 98 upperCaution: sensor.Thresholds?.UpperCaution?.Reading, 99 lowerCritical: sensor.Thresholds?.LowerCritical?.Reading, 100 upperCritical: sensor.Thresholds?.UpperCritical?.Reading, [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | fan.cpp | 86 for (auto& sensor : _sensors) in Fan() local 87 sensor->setFunctional(true); in Fan() 180 std::for_each(_sensors.begin(), _sensors.end(), [this](auto& sensor) { in startMonitor() argument 183 // Force a getProperty call to check if the tach sensor is in startMonitor() 188 sensor->updateTachAndTarget(); in startMonitor() 189 tachChanged(*sensor); in startMonitor() 194 // sensor is nonfunctional, but skip creating an in startMonitor() 197 "Monitoring starting but {} sensor value not on D-Bus", in startMonitor() 198 sensor->name())); in startMonitor() 200 sensor->setFunctional(false, true); in startMonitor() [all …]
|
H A D | trust_manager.hpp | 20 * The sensor trust manager class. It can be asked if a tach sensor's 21 * reading can be trusted or not, based on the trust groups the sensor 27 * See the trust::Group documentation for more details on sensor trust. 64 * Checks if a sensor value can be trusted 66 * Checks if the sensor is trusted in each group 77 * in the same call to this function a sensor shouldn't 80 * @param[in] sensor - the sensor to check 82 * @return bool - if sensor is trusted in all groups or not 84 bool checkTrust(const monitor::TachSensor& sensor) in checkTrust() argument 90 if (group->inGroup(sensor)) in checkTrust() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 21 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 27 xyz.openbmc_project.Sensor.Value: 42 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 48 xyz.openbmc_project.Sensor.Value: 63 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 69 xyz.openbmc_project.Sensor.Value: 84 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 90 xyz.openbmc_project.Sensor.Value: 105 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts [all …]
|
/openbmc/dbus-sensors/src/nvme/ |
H A D | NVMeContext.hpp | 35 void addSensor(const std::shared_ptr<NVMeSensor>& sensor) in addSensor() argument 37 sensors.emplace_back(sensor); in addSensor() 43 for (auto& sensor : sensors) in getSensorAtPath() local 45 if (sensor->configurationPath == path) in getSensorAtPath() 47 return sensor; in getSensorAtPath() 54 // Post-condition: The sensor list does not contain the provided sensor 55 // Post-condition: pollCursor is a valid iterator for the sensor list 56 void removeSensor(const std::shared_ptr<NVMeSensor>& sensor) in removeSensor() argument 58 // Locate the sensor that we're removing in the sensor list in removeSensor() 59 auto found = std::find(sensors.begin(), sensors.end(), sensor); in removeSensor() [all …]
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/ |
H A D | g220a-ipmi-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 22 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 28 xyz.openbmc_project.Sensor.Value: 44 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 50 xyz.openbmc_project.Sensor.Value: 66 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 72 xyz.openbmc_project.Sensor.Value: 88 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 94 xyz.openbmc_project.Sensor.Value: 110 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/ |
H A D | nf5280m7-ipmi-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 22 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 28 xyz.openbmc_project.Sensor.Value: 44 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 50 xyz.openbmc_project.Sensor.Value: 67 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 73 xyz.openbmc_project.Sensor.Value: 90 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 96 xyz.openbmc_project.Sensor.Value: 112 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC [all …]
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/ |
H A D | ethanolx-ipmi-sensors.yaml | 6 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 15 xyz.openbmc_project.Sensor.Value: 26 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 35 xyz.openbmc_project.Sensor.Value: 46 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 55 xyz.openbmc_project.Sensor.Value: 66 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 75 xyz.openbmc_project.Sensor.Value: 86 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 95 xyz.openbmc_project.Sensor.Value: [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Sensor_v1.xml | 4 <!--# Redfish Schema: Sensor v1.11.0 --> 43 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Sensor"> 47 <EntityType Name="Sensor" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 48 …<Annotation Term="OData.Description" String="The `Sensor` schema describes a sensor and its proper… 49 …<Annotation Term="OData.LongDescription" String="This resource shall represent a sensor for a Redf… 88 <Annotation Term="OData.Description" String="Resets metrics related to this sensor."/> 89 …g="This action shall reset any time intervals or counted values for this sensor. The `SensorReset… 90 <Parameter Name="Sensor" Type="Sensor.v1_0_0.Actions"/> 96 <Parameter Name="Sensor" Type="Sensor.v1_0_0.Actions"/> 188 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Sensor.v1_0_0"> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Sensor_v1.xml | 4 <!--# Redfish Schema: Sensor v1.11.0 --> 43 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Sensor"> 47 <EntityType Name="Sensor" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 48 …<Annotation Term="OData.Description" String="The `Sensor` schema describes a sensor and its proper… 49 …<Annotation Term="OData.LongDescription" String="This resource shall represent a sensor for a Redf… 88 <Annotation Term="OData.Description" String="Resets metrics related to this sensor."/> 89 …g="This action shall reset any time intervals or counted values for this sensor. The `SensorReset… 90 <Parameter Name="Sensor" Type="Sensor.v1_0_0.Actions"/> 96 <Parameter Name="Sensor" Type="Sensor.v1_0_0.Actions"/> 188 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Sensor.v1_0_0"> [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/ |
H A D | sensor_monitoring.md | 1 # Sensor Monitoring 5 Sensor values such as output voltage, output current, and temperature can be 6 read from some voltage regulators. Sensor values are measured, actual values 10 application reads sensor values once per second. 12 The sensor values are stored on D-Bus on the BMC, making them available to 15 ## How sensor monitoring is defined 17 Sensor monitoring is defined for a voltage regulator using the 26 The first time a sensor value is read, a corresponding sensor object is created 27 on D-Bus. On subsequent reads, the existing D-Bus sensor object is updated with 28 the new sensor value. [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | sensor_event_message_registry.hpp | 30 "Sensor Event Message Registry", 32 "This registry defines messages used for general events related to Sensor resources.", 45 "Indicates that the service received an invalid reading from a sensor.", 46 "Invalid reading received from sensor '%1'.", 52 "Check the sensor hardware or connection.", 57 …"Indicates that a sensor reading is no longer below the lower critical threshold but is still outs… 58 …"Sensor '%1' reading of %2 (%3) is now above the %4 lower critical threshold but remains outside o… 72 …"Indicates that a sensor reading is no longer below the lower fatal threshold but is still outside… 73 …"Sensor '%1' reading of %2 (%3) is now above the %4 lower fatal threshold but remains outside of n… 87 "Indicates that a sensor reading is above the upper caution threshold.", [all …]
|
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/ |
H A D | daytonax-ipmi-sensors.yaml | 6 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 15 xyz.openbmc_project.Sensor.Value: 26 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 35 xyz.openbmc_project.Sensor.Value: 49 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 56 xyz.openbmc_project.Sensor.Value: 70 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 77 xyz.openbmc_project.Sensor.Value: 91 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 98 xyz.openbmc_project.Sensor.Value: [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 6 xyz.openbmc_project.Sensor.Value: 21 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 27 xyz.openbmc_project.Sensor.Value: 42 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 48 xyz.openbmc_project.Sensor.Value: 63 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 69 xyz.openbmc_project.Sensor.Value: 84 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS 90 xyz.openbmc_project.Sensor.Value: 105 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts [all …]
|
/openbmc/docs/designs/ |
H A D | phosphor-hwmon-refactoring.md | 17 test that the sensor can be constructed correctly, but there is no testing of 18 correct behavior on various sensor reading or failure conditions. 23 implementing different sensor::readValue() method for different sensor types. 43 1. Sensor configuration 45 - DI: make the sensor struct take SensorConfig as dependency 47 - Add unit tests for sensor creation with various SensorConfigs 49 - Refine the sensor object interface and make it abstract 50 - Define sensor types that inherit from the common interface 51 - Add unit tests for sensor interface 52 - DI: make the sensor map take sensor interface as dependency [all …]
|
H A D | virtual-sensors.md | 9 There are some sensors in the system whose values are derived from actual sensor 12 Virtual sensor examples are: 28 This should implement a new virtual sensor for every given sensor and update 31 - a daemon to create and monitor each sensor defined in config file and update 32 them based on value change in each given sensor. 33 - Every virtual sensor will be waiting for event for change in dbus value of 34 each sensor parameter and will update this sensor. 35 - Sensor parameter can be any sensor dbus path and it also supports chaining of 40 algorithm in calculating value for new virtual sensor 45 each sensor: "/xyz/openbmc_project/sensor/temperature/sensor_name" [all …]
|
/openbmc/dbus-sensors/ |
H A D | README.md | 3 dbus-sensors is a collection of sensor applications that provide the 4 xyz.openbmc_project.Sensor collection of interfaces. They read sensor values 6 non-sensor features such as fan presence, pwm control, and automatic cpu 13 - isolated: each sensor type is isolated into its own daemon, so a bug in one 14 sensor is unlikely to affect another, and single sensor modifications are 28 Interfaces xyz.openbmc_project.Sensor.Value 29 xyz.openbmc_project.Sensor.Threshold.Critical 30 xyz.openbmc_project.Sensor.Threshold.Warning 37 Sensor interfaces collection are described in 38 …](https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/yaml/xyz/openbmc_project/Sensor). [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | writesensor.cpp.mako | 10 sensor = sensorDict[key] 11 serviceInterface = sensor["serviceInterface"] 33 namespace sensor { 40 sensor = sensorDict[key] 41 interfaces = sensor["interfaces"] 42 path = sensor["path"] 43 serviceInterface = sensor["serviceInterface"] 44 sensorType = sensor["sensorType"] 45 entityID = sensor.get("entityID", 0) 46 instance = sensor.get("entityInstance", 0) [all …]
|