commit | 373225765ec76e358d11b2ee58488a72fc6c446e | [log] [tgz] |
---|---|---|
author | Jayashree-D <jayashree-d@hcl.com> | Fri Mar 19 17:40:56 2021 +0530 |
committer | Jayashree D <jayashree-d@hcl.com> | Mon Mar 22 05:19:34 2021 +0000 |
tree | 452aa66a2b58c2584fb3d07e86c7cfc7084037c0 | |
parent | d05867c0d32065d36b13bd452f7aff9dcb20ac2f [diff] |
Added readingFormat for PXE1410 in IpmbSensor. Since ADM1278 and PXE1410 has two different format in reading sensor value. Added a new reading format as linearElevenBit for PXE1410 with sign extension. TESTED: Tested in tiogapass and verified the sensor value. root@tiogapass:~# busctl introspect xyz.openbmc_project.IpmbSensor /xyz/openbmc_project/sensors/current/MB_HSC_OUT_CURR NAME TYPE SIGNATURE RESULT/VALUE FLAGS 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/openbmc… emits-change xyz.openbmc_project.Sensor.Threshold.Critical interface - - - .CriticalAlarmHigh property b false emits-change .CriticalHigh property d 52.8 emits-change writable xyz.openbmc_project.Sensor.Value interface - - - .MaxValue property d 255 emits-change .MinValue property d 0 emits-change .Value property d 7.6649 emits-change writable xyz.openbmc_project.State.Decorator.Availability interface - - - .Available property b true emits-change writable xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional property b true emits-change Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I1348f09f4e93690e1303601d6bc2d1678e7b30b2
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