#
a4146eb1 |
| 01-Oct-2020 |
Josh Lehan <krellan@google.com> |
pid/zone: Restore PWM when fans returned to auto
This makes use of the improved write() interface, to allow the PID-loop-determined PWM to be restored, when the fan is returned to automatic mode.
W
pid/zone: Restore PWM when fans returned to auto
This makes use of the improved write() interface, to allow the PID-loop-determined PWM to be restored, when the fan is returned to automatic mode.
Without this fix, a fan set to manual mode, then manually set to a different speed, would not properly return to the correct speed, when transitioning back to automatic from manual.
This patch also adds a stub to allow the caller to learn the raw PWM value written as output, another useful write() interface improvement. Although not the topic of this change, it is included here, to avoid later patch conflicts.
Tested: I can now correctly toggle between automatic, and manual, fan control. Upon resuming automatic control, after a few seconds, the fan PWM is now properly restored, to what the PID loop wanted it to be at.
Signed-off-by: Josh Lehan <krellan@google.com> Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: I46fc65d6b931755d51093ea475c64cf5e3e6bacb
show more ...
|
#
a83a3ecc |
| 04-Aug-2020 |
Patrick Venture <venture@google.com> |
update clang-format from Latest in docs Updates the clang-format file and then applies it. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia9faf13ce171f90bf07547
update clang-format from Latest in docs Updates the clang-format file and then applies it. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia9faf13ce171f90bf07547efd781139bee23e8c7
show more ...
|
#
98055435 |
| 08-Jun-2018 |
Patrick Venture <venture@google.com> |
test: sensor_manager: add test and sensor_mock Adds a mock sensor for use in future tests, as well as adds a unit-test to sensor_manager_unittest to check that the type of a sensor a
test: sensor_manager: add test and sensor_mock Adds a mock sensor for use in future tests, as well as adds a unit-test to sensor_manager_unittest to check that the type of a sensor added is not validated against anything. Change-Id: I684ec71c02f427cfa7a414a6a4162beaba2269da Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|