dd62e36e | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Add new tach sensor implementation
Add a new fan speed (tach) presence implementation for the new PresenceSensor interface.
This fan tach sensor behaves mostly like the existing one, with
presence: Add new tach sensor implementation
Add a new fan speed (tach) presence implementation for the new PresenceSensor interface.
This fan tach sensor behaves mostly like the existing one, with the addition of support for multiple tach sensors for the single PresenceSensor instance, and implementation of the PresenceSensor start and stop interfaces.
Change-Id: I535a3e2c78ef0f06f10b6f4cda9a7e2d0e9c11db Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
221b36b5 | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Add redundancy policy interface
Add a redundancy policy interface class. Redundancy policies introduce the concept of multiple presence sensors for a given fan. A redundancy model implem
presence: Add redundancy policy interface
Add a redundancy policy interface class. Redundancy policies introduce the concept of multiple presence sensors for a given fan. A redundancy model implementation determines how the distinct sensors making up the redundancy set are controlled and how their feedbacks determine the overall fan presence state reflected in the inventory.
Change-Id: Ibb5f71b3189dbb253bb669691e8016cda83a6ebb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
878b964a | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Add presence sensor interface
Prepare to extend the fan presence model to include sensors of other types with a presence sensor interface class.
Presence sensors can be both event driven
presence: Add presence sensor interface
Prepare to extend the fan presence model to include sensors of other types with a presence sensor interface class.
Presence sensors can be both event driven or polled. Provide start and stop for the former and present for the latter.
Change-Id: Ia1b91a5e30e27fbe66c6f075e5e5ce620dac997e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
825e31e5 | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Add fan utility
Add utility wrappers for reading/writing xyz.openbmc_project.Inventory.Item.Present.
Change-Id: I9d6bb776e56b67b9cac1f991790886ec8105d4b1 Signed-off-by: Brad Bishop <bradl
presence: Add fan utility
Add utility wrappers for reading/writing xyz.openbmc_project.Inventory.Item.Present.
Change-Id: I9d6bb776e56b67b9cac1f991790886ec8105d4b1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
f138c568 | 15-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
evdevpp: Add evmon utility
Add a sample/test ev event monitor program for evdevpp.
Change-Id: I46dcc47b67b377a1abd79ceef3bc28dbf269d6f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
5d70c251 | 15-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
evdevpp: Add test directory for libevdev wrappers
Change-Id: Ib9d2e5cee2b9c1e28eb08c3c85f36f448160c16f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
8a502f51 | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
evdevpp: Add C++ bindings for libevdev
Change-Id: Iff27168588ee0767902801e6df3c6745a643ac9a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
42394327 | 15-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add sdevent singleton
Avoid sdevent::event::Event reference proliferation.
Change-Id: I5c3de11e902cd9e61fdaca8f06c73d329bf4d293 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
a51f8fe0 | 15-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add iotest for sdevent io wrapper
Change-Id: I5f3054720e9c48248351c398b58f98f499799a0a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
e2c65d43 | 15-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add test directory for sdevent wrappers
Change-Id: I23843493e8f2c43ed50cdf1ad5def66a2f29dec3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
0c9271f0 | 15-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add loop exit wrapper
Add a wrapper for sd_event_exit.
Change-Id: Ie08a74cb388e8441683fbf90902cbcb463aa9e6f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
e54a98f4 | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add sdevent io source C++ wrappers
Change-Id: Ifadee2bb8788be87e759d1f0be875f7047a2f37e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
4253fcaa | 27-Jul-2017 |
Brandon Wyman <bjwyman@gmail.com> |
Switch which GPIO value sets air or water cooled
During the coding and testing of this application there was some miscommunication on the jumper position for a Witherspoon system. The system was jum
Switch which GPIO value sets air or water cooled
During the coding and testing of this application there was some miscommunication on the jumper position for a Witherspoon system. The system was jumpered for Air when intended to be jumpered for the Water cooled position. Further examination of the documentation and the jumper settings on systems found that the logic was reversed. This change should correct the problem and report the correct cooling properties.
Resolves openbmc/openbmc#2041
Change-Id: I7e25bd72342fde40df1fec8f6a1a444eac401f09 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
show more ...
|
ce75b511 | 26-Jul-2017 |
Matt Spinler <spinler@us.ibm.com> |
fan-monitor: Capture more data on failure
When a fan gets set to nonfunctional, it is useful to know how fast the rotor was actually going and what the expected speed was.
Change-Id: I760d6fa7d1930
fan-monitor: Capture more data on failure
When a fan gets set to nonfunctional, it is useful to know how fast the rotor was actually going and what the expected speed was.
Change-Id: I760d6fa7d193038f9740d241bf4d4d0039020f64 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
c5f5351d | 25-Jul-2017 |
Brandon Wyman <bjwyman@gmail.com> |
Changes to auto generate fan_zone_defs.cpp
If the control/fan_zone_defs.cpp is removed, an attempt to rebuild from the phosphor-fan-presence top directory will fail due to that file being missing.
Changes to auto generate fan_zone_defs.cpp
If the control/fan_zone_defs.cpp is removed, an attempt to rebuild from the phosphor-fan-presence top directory will fail due to that file being missing.
These changes fix that so that 'make' will redo the configure step.
Change-Id: Ia774677ec2e3e62c9ba6939f2bfac63d64613886 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
show more ...
|
f2fb8992 | 25-Jul-2017 |
Gunnar Mills <gmills@us.ibm.com> |
phosphor-fan-presence README
Change-Id: I651338de2d07b9fae105e3225ffd08f2088a4518 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
1e4922a6 | 12-Jul-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
sdbusplus: Add PropertiesChanged type alias
Add an alias to cut down on typing when using properties changed signal callbacks.
Change-Id: I494d58006cbc136fc2f1d9395039a4535922f35e Signed-off-by: B
sdbusplus: Add PropertiesChanged type alias
Add an alias to cut down on typing when using properties changed signal callbacks.
Change-Id: I494d58006cbc136fc2f1d9395039a4535922f35e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
8e942504 | 10-Jul-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
monitor: Avoid Target interface for mapper queries
Avoid asking the mapper for the Target interface on sensors that do not have it.
Change-Id: I43f61c98291cc15d7daf43d2b01c6b7fa4edfa62 |
8e9a8e75 | 08-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Check DBus for initial state
At startup load the initial state from the DBus object if one exists already.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ia4ad2f3c2b5
presence: Check DBus for initial state
At startup load the initial state from the DBus object if one exists already.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ia4ad2f3c2b5c521406d9a186113b11cf8ed69b14
show more ...
|
1fd8f741 | 08-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Add initialstate ctor arguments
Allow class users to set the initial state of enclosures and tach sensors.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: If5199361ab0
presence: Add initialstate ctor arguments
Allow class users to set the initial state of enclosures and tach sensors.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: If5199361ab051ca46096f66ba925aeb1a874801f
show more ...
|
0dea38e5 | 08-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Remove work from enclosure constructor
Allow class users to control when an enclosure should export its state on DBus.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id:
presence: Remove work from enclosure constructor
Allow class users to control when an enclosure should export its state on DBus.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I64bc2d85b7a072e9ec539330640f766961724b17
show more ...
|
ec613db1 | 08-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Use new sdbusplus wrapper
Use the sdbusplus wrapper methods introduced previously.
Change-Id: Ifd431753e9513436a9b5ab98cc49d907a5929c20 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel
presence: Use new sdbusplus wrapper
Use the sdbusplus wrapper methods introduced previously.
Change-Id: Ifd431753e9513436a9b5ab98cc49d907a5929c20 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
6e9cfdb7 | 08-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add sdbusplus wrapper
Facilitate mocking. Avoid sdbusplus::bus::bus reference proliferation.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I0a55fa178a96af4fd63f249cde0a129b700
Add sdbusplus wrapper
Facilitate mocking. Avoid sdbusplus::bus::bus reference proliferation.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I0a55fa178a96af4fd63f249cde0a129b7007731f
show more ...
|
be605c5f | 29-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Fan control: Example yaml updates(doc only)
Change-Id: I30fdecd3af3dcdc7f954bdb9d535c6bc92edd67a Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
a956184b | 29-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add increase & decrease timer values in seconds
Support setting the increase delay time(in seconds) for each zone from the zone yaml file. Speed increases use a delay type timer where the amount of
Add increase & decrease timer values in seconds
Support setting the increase delay time(in seconds) for each zone from the zone yaml file. Speed increases use a delay type timer where the amount of time given delays additional increase requests from happening until the fans within the zone reach the highest net increase in speeds.
Support setting the decrease interval time(in seconds) for each zone from the zone yaml file. Since decreasing is done on an interval, a decrease interval time of zero disables the decrease interval timer causing no decreases in speed to occur. Speed decreases use an interval type timer to decrease the fan speeds within the zone when no speed increase requests exist on the given time interval.
Change-Id: I88334a313b6e2820b768fa7e3f1cb65887f29258 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|