commit | b669b6b54b1bfa499380e518bf508b672dd9a125 | [log] [tgz] |
---|---|---|
author | Nikhil Potade <nikhil.potade@linux.intel.com> | Wed Mar 13 10:52:21 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Mon Jan 13 17:48:08 2020 +0000 |
tree | 1a8423cf863107537313fffc6249b9ef07cc5df2 | |
parent | 8b3f7d401422b8428672e9a664e71b265919a093 [diff] |
Enabling NVMe sensor support This commit introduces the support for NVMe drives for sensors. All the NVMe drives which are detected by the FRU manager and are present in the inventory are scanned at regular interval for reading the temperature values of the NVMe devices. Tested: NAME TYPE SIGNATURE RESULT/VALUE org.freedesktop.DBus.Introspectable interface - - .Introspect method - s org.freedesktop.DBus.Peer interface - - .GetMachineId method - s .Ping method - - org.freedesktop.DBus.Properties interface - - .Get method ss v .GetAll method s a{sv} .Set method ssv - .PropertiesChanged signal sa{sv}as - xyz.openbmc_project.Association.Definitions interface - - .Associations property a(sss) 1 "chassis" "all_sensors" "/xyz/openb... xyz.openbmc_project.Sensor.Threshold.Critical interface - - .CriticalAlarmHigh property b false .CriticalAlarmLow property b false .CriticalHigh property d 115 .CriticalLow property d 0 xyz.openbmc_project.Sensor.Threshold.Warning interface - - .WarningAlarmHigh property b false .WarningAlarmLow property b false .WarningHigh property d 110 .WarningLow property d 5 xyz.openbmc_project.Sensor.Value interface - - .MaxValue property d 127 .MinValue property d -60 .Value property d 22 Change-Id: Icb119b424234d548c8ff5cda9c7a9517ec9696bb Signed-off-by: Nikhil Potade <nikhil.potade@linux.intel.com> Signed-off-by: James Feist <james.feist@linux.intel.com>
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access