summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/sensors/phosphor-virtual-sensor
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18rainier: Add virtual ambient temp thresholdsMatt Spinler1-0/+7
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>
2020-11-12rainier: Add a virtual ambient temp sensorMatt Spinler1-0/+24
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>