Age | Commit message (Collapse) | Author | Files | Lines |
|
This tells phosphor-virtual-sensors to look on D-Bus for a virtual
sensor config of type ModifiedMedian. This way we can use the same
recipe for different hardware configurations.
Change-Id: I3ebd0a636f07a0854251e06b952ad9646f12f637
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
|
|
The Altitude measurement is from the computation of
the DPS310 pressure sensor with this
"Expression": "44330.0 * (1.0 - ((P0/101325.0) ^ (1/5.255)))"
Tested: busctl introspect xyz.openbmc_project.VirtualSensor \
/xyz/openbmc_project/sensors/altitude/Altitude returned
results consistent with location of the Rainier system.
Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com>
Change-Id: I07b83dd6b8f4ccf0755ccbdc81c40976a3e571cd
|
|
The IBM rainier machine name is being replaced with the generic p10bmc.
Change-Id: I43d08c3be45d8cc8b03914b9bc257df2668e9fe0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
The phosphor-virtual-sensor code recently started checking the values of
the upper/lower warning/critical thresholds for the virtual sensors and
prints to the journal if they are exceeded. If the threshold values to
use aren't specified in the JSON file, it will just set them to zero so
any nonzero sensor value will trigger the trace.
So, even though code will not use the threshold values for the virtual
ambient temperature sensor, put some into the JSON anyway that should
never be exceeded to avoid these traces. If the temperature does happen
to go outside the range of between 0 and 100, then seeing the trace may
be interesting anyway.
(From meta-ibm rev: 9fdb9598d0eee4d9820962320391bb9f7e4568ea)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I1c6c5f1faaaf58599a3840eed6ec4749a70a1364
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Use the virtual-sensor application to put a virtual ambient temperature
sensor on D-Bus. Currently, it just mirrors the value of the TMP275
ambient temperature sensor, but in the future the output will be based
on all three temp sensors on the panel after the remaining two show up
on D-Bus.
(From meta-ibm rev: f43eab1e5637cf87a38ca2e9a6acc33e5db3a0c3)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I187d88c7e1245c7014aee8b9b6c0840daf1e622d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|