#
b6865fdc |
| 16-Dec-2024 |
Matt Spinler <spinler@us.ibm.com> |
Remove vim mode lines
It isn't necessary to store editor settings in source files.
Change-Id: I248bb4db00e3abd93fab50d59c63e1cf48b2ee65 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
caaebd1f |
| 21-Jun-2019 |
Patrick Venture <venture@google.com> |
hwmonio: Add injection point to test internal behavior
With the complexities of the various behaviors within the read() method of HwmonIO, introduce an injection point for testing. There is a defau
hwmonio: Add injection point to test internal behavior
With the complexities of the various behaviors within the read() method of HwmonIO, introduce an injection point for testing. There is a default available, and therefore this is a surgical change that only impacts future tests.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I1ead56c7fe1a2f87ebf316488e68f435a41c9d19
show more ...
|
#
16805a6a |
| 21-Jun-2019 |
Patrick Venture <venture@google.com> |
mainloop: Make HwmonIO injectable dependency
HwmonIO was make into a interface object implementation. This patch transitions mainloop to receive a pointer to this interface to allow for injection t
mainloop: Make HwmonIO injectable dependency
HwmonIO was make into a interface object implementation. This patch transitions mainloop to receive a pointer to this interface to allow for injection testing.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Iaa470fafccb42c4d7fbabac0dc92f96c8075faf2
show more ...
|
#
4d9506cc |
| 19-Dec-2018 |
Patrick Venture <venture@google.com> |
hwmonio: add underscore prefix to members
Add underscore prefix to members for hwmonio object.
Change-Id: Iab5aed5ddba3b1793bb16b0f1501a11ff95b7f35 Signed-off-by: Patrick Venture <venture@google.co
hwmonio: add underscore prefix to members
Add underscore prefix to members for hwmonio object.
Change-Id: Iab5aed5ddba3b1793bb16b0f1501a11ff95b7f35 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
043d3230 |
| 31-Aug-2018 |
Patrick Venture <venture@google.com> |
add .clang-format
Change-Id: I94ce26d595367e08d6fb3734535bcd855f1b1473 Signed-off-by: Patrick Venture <venture@google.com>
|
#
50552377 |
| 07-Jun-2018 |
Patrick Venture <venture@google.com> |
hwmonio:: Add Interface base class and tests
Enable injecting hwmonio::HwmonIO mocks for testing.
Tested: Ran on quanta-q71l and saw all sensors exported to dbus as expected with the expected value
hwmonio:: Add Interface base class and tests
Enable injecting hwmonio::HwmonIO mocks for testing.
Tested: Ran on quanta-q71l and saw all sensors exported to dbus as expected with the expected values.
Change-Id: I35912bf2a733932d9e1e774ff53b0114ae16560b Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
0b305058 |
| 26-Apr-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Remove OCC EREMOTEIO return code hack
With openbmc/openbmc#2329, an OCC sensor value will not be read when the associated fault file is set to true. This will set the value to 0 when a sensor is fau
Remove OCC EREMOTEIO return code hack
With openbmc/openbmc#2329, an OCC sensor value will not be read when the associated fault file is set to true. This will set the value to 0 when a sensor is faulted at startup or not update the previous value during the monitoring loop if the OCC sensor becomes faulted.
Applications(i.e. fan control) needing to react to a faulted OCC sensor can subscribe to property changed signals on the OperationalStatus Functional property for the sensor's dbus object.
Tested: A faulted OCC sensor has a non-functional status on dbus
Change-Id: Ia43ebb1e0fe0227797bc4034e617ac357edd348d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
75e56c67 |
| 20-Apr-2018 |
Patrick Venture <venture@google.com> |
hwmonio: split IoAccess object out
Split out the hwmon io access object from the sysfs namespace into its own.
Change-Id: I8d1a45630117d1d503d0d5fa6061163911b695e8 Signed-off-by: Patrick Venture <v
hwmonio: split IoAccess object out
Split out the hwmon io access object from the sysfs namespace into its own.
Change-Id: I8d1a45630117d1d503d0d5fa6061163911b695e8 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|