9c2994ed | 05-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: build: Add yaml file to generated deps
Makefile updates such that updates to the YAML file result in a retrigger of the python script.
Change-Id: I83b637f71dc380a56be0fd40390176d3b201b29a
presence: build: Add yaml file to generated deps
Makefile updates such that updates to the YAML file result in a retrigger of the python script.
Change-Id: I83b637f71dc380a56be0fd40390176d3b201b29a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
3aac0015 | 05-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Update gitignore
Ignore test-driver
Change-Id: Id2dfa273021f0ea67835b2d2c3a22d00f835c2ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
34f1bda2 | 31-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Use updated match methods for signal callbacks
Attach the event handler callback function to the match along with generating the match string using the new match methods
Change-Id: I7595d65cbc615f2
Use updated match methods for signal callbacks
Attach the event handler callback function to the match along with generating the match string using the new match methods
Change-Id: I7595d65cbc615f29db60e2a65534ee5b635d6f96 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
df3e8d67 | 31-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Check initial event's group members' properties
On start of fan control, check the current event's group members' property states and envoke the defined action function on the results.
Change-Id: I
Check initial event's group members' properties
On start of fan control, check the current event's group members' property states and envoke the defined action function on the results.
Change-Id: I12509403328d90f85d67b393dbdd97d8710c83ef Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
861d77c3 | 22-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add an active state for automatic fan control
Each zone contains an active state that determines whether the automatic fan control algorithm is active and controlling the fan speeds dynamically or n
Add an active state for automatic fan control
Each zone contains an active state that determines whether the automatic fan control algorithm is active and controlling the fan speeds dynamically or not.
This will be used to determine if the fan speeds within the zone are set dynamically or rather held at another speed for a determined reason.
Change-Id: I2f81de168c5f7d859b3ec917022c4749e1a28d4e Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
14184131 | 19-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Only setup set speed events when not init mode
Change-Id: Ia6987295a3eb4e23b9d6ae13a383e440386572de Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
9c72667e | 18-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Fixed alignment issues
Fixed resulting pep8 alignment issues in the generated template
Change-Id: I26d316a86c40896cda729683b26ccf06a3f89d5f Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
7e527c12 | 17-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Generate list of property change signals
Add the list of property(s) associated to a set speed event where the handler updates the property cached on the zone for the action
Change-Id: Ifac61dda6eb
Generate list of property change signals
Add the list of property(s) associated to a set speed event where the handler updates the property cached on the zone for the action
Change-Id: Ifac61dda6eb200ca28735ddfaab3d34c9a9df758 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
ba102b38 | 16-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Generate set speed event actions
Adds the set speed event action functions with the associated parameters in the order required for the function
Change-Id: Ib08f2442d8ff1fb3d49ab5234eacc2db8304a20d
Generate set speed event actions
Adds the set speed event action functions with the associated parameters in the order required for the function
Change-Id: Ib08f2442d8ff1fb3d49ab5234eacc2db8304a20d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
d4d0f083 | 16-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Parse set speed event groups
Adds the groups for a set speed event for each zone listed within the event. The groups are for maintaining a cached property value.
Change-Id: I2de9cf62215f9861e8ea2e6
Parse set speed event groups
Adds the groups for a set speed event for each zone listed within the event. The groups are for maintaining a cached property value.
Change-Id: I2de9cf62215f9861e8ea2e6807df11e6a04638fb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
94b20f7a | 11-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Example set speed event yaml
An example yaml file to define set speed events based on groups of dbus object properties and a set of actions that can be performed based on those property values
Chan
Example set speed event yaml
An example yaml file to define set speed events based on groups of dbus object properties and a set of actions that can be performed based on those property values
Change-Id: I2f713920f9ce25859855cfec783df0adb505f31d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
17d1fe23 | 11-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add setting zone speed action
Enable an action to be defined that sets the zone to a given speed when a number of properties are set to a given value
Change-Id: I5252a20a24bdb14dee63080f2c08b080c82
Add setting zone speed action
Enable an action to be defined that sets the zone to a given speed when a number of properties are set to a given value
Change-Id: I5252a20a24bdb14dee63080f2c08b080c82ad7e8 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
38a93a8a | 11-May-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add property changed signal handler
Enable the control application to handle property changed signals to set or update a cached set of these properties
Change-Id: Ib84ffe1e801ee7dd85d17fdbb122d124d
Add property changed signal handler
Enable the control application to handle property changed signals to set or update a cached set of these properties
Change-Id: Ib84ffe1e801ee7dd85d17fdbb122d124d307dbd3 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
06bae854 | 24-May-2017 |
Matt Spinler <spinler@us.ibm.com> |
Have cooling-type use the common argument.hpp
The cooling-type application should use the common header file for the ArgumentParser class now that one is available.
Also fixed where a static Argume
Have cooling-type use the common argument.hpp
The cooling-type application should use the common header file for the ArgumentParser class now that one is available.
Also fixed where a static ArgumentParser constant was being initialized.
Change-Id: I1fb0dfe3bd0c6e0200ad7c718ef2a3def5476f3f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
07710ef7 | 22-May-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Change example/zones.yaml to full_speed
initial_speed should be full_speed in example/zones.yaml
Change-Id: I64b4803a26006cf78f6d29859bb8dd43a5cf63b3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
ce822444 | 10-Apr-2017 |
Brandon Wyman <bjwyman@gmail.com> |
Implement changes to read GPIO device for cooling type.
Change-Id: If40a54510fb05d67ee0bfdf24026c1d7470897ca Signed-off-by: Brandon Wyman <bjwyman@gmail.com> |
8798854f | 19-May-2017 |
Brandon Wyman <bjwyman@gmail.com> |
Fix bitbake build break due to <utility.hpp>
Should have used #include "utility.hpp" to include that header file in the phosphor-fan-presence repo.
Change-Id: I01ac9a0cd4b3942f4b052ae3f52abd828cf8d
Fix bitbake build break due to <utility.hpp>
Should have used #include "utility.hpp" to include that header file in the phosphor-fan-presence repo.
Change-Id: I01ac9a0cd4b3942f4b052ae3f52abd828cf8dc20 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
show more ...
|
59ae8771 | 06-Apr-2017 |
Brandon Wyman <bjwyman@gmail.com> |
Implement updating the inventory properties
Implement code needed to update the chassis AirCooled and WaterCooled properties.
Change-Id: I9a67d1129e99f841200241e2daae08fb6119d9d3 Signed-off-by: Bra
Implement updating the inventory properties
Implement code needed to update the chassis AirCooled and WaterCooled properties.
Change-Id: I9a67d1129e99f841200241e2daae08fb6119d9d3 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
show more ...
|
fef0295a | 31-Mar-2017 |
Brandon Wyman <bjwyman@gmail.com> |
Fill in shell functions/files for cooling type.
Change-Id: I8d18d3141e955adeffdd8122ebb17549c88edd77 Signed-off-by: Brandon Wyman <bjwyman@gmail.com> |
af5d4c5e | 16-May-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fix typo in configure.ac
Change-Id: I5589183c80c97f2a2a5ed6ed209f529e8f732138 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
ee7f6428 | 09-May-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add modes to phosphor-fan-control
phosphor-fan-control can behave differently based on its command line arguments
--init: Set fans to full speed, delay for a configurable amount of time t
Add modes to phosphor-fan-control
phosphor-fan-control can behave differently based on its command line arguments
--init: Set fans to full speed, delay for a configurable amount of time to allow fans to ramp up, start the fan control ready target, and then exit.
--control: Start the control algorithm. Never exits. Will be started as part of the fan control ready target.
Change-Id: I453daf8cc05a5c85a19c098e1cca64cac2ad9520 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
389ca67f | 09-May-2017 |
Matt Spinler <spinler@us.ibm.com> |
ArgumentParser for fan control
Parses arguments for phosphor-fan-control.
The header file is in the base directory of the repository and can be common to all fan applications. The cpp file needs t
ArgumentParser for fan control
Parses arguments for phosphor-fan-control.
The header file is in the base directory of the repository and can be common to all fan applications. The cpp file needs to be in the subdirectory of the application that uses it, in this case control.
Change-Id: I93dba60daf8f78667df970ab47ec018d90a8c14f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
84201119 | 12-May-2017 |
Matt Spinler <spinler@us.ibm.com> |
Move Fan objects back to heap
Turns out that with the objects on the stack, some of them were corrupt in the callbacks.
Change-Id: Ifd4179839d4e05fdb1f05e417093cb14cec3addc Signed-off-by: Matt Spin
Move Fan objects back to heap
Turns out that with the objects on the stack, some of them were corrupt in the callbacks.
Change-Id: Ifd4179839d4e05fdb1f05e417093cb14cec3addc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
e824f985 | 11-May-2017 |
Matt Spinler <spinler@us.ibm.com> |
Use unique_ptr for sd_event object wrapper
Convert the sd_event object wrapper from a shared_ptr to a unique_ptr. Requires a new header file.
Change-Id: I868a9e88ed93878c2e0bb12e58f8d3a604510da0 S
Use unique_ptr for sd_event object wrapper
Convert the sd_event object wrapper from a shared_ptr to a unique_ptr. Requires a new header file.
Change-Id: I868a9e88ed93878c2e0bb12e58f8d3a604510da0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
14321846 | 28-Apr-2017 |
Matt Spinler <spinler@us.ibm.com> |
Generate data from yaml during build
Run the python script to generate fan_zone_defs.cpp
Change-Id: I242aa4246a277509ddbcf1c62fec96782a48b37b Signed-off-by: Matt Spinler <spinler@us.ibm.com> |