#
a787af09 |
| 20-Jun-2022 |
Mike Capps <mikepcapps@gmail.com> |
meson support: remove autoconf
This commit removes the deprecated autoconf makefiles, artifacts, and service files which have autoconf-style naming (*.in).
Signed-off-by: Mike Capps <mikepcapps@gma
meson support: remove autoconf
This commit removes the deprecated autoconf makefiles, artifacts, and service files which have autoconf-style naming (*.in).
Signed-off-by: Mike Capps <mikepcapps@gmail.com> Change-Id: I9c0e6162798c235f899aeb5cd9ecea1a0eee29a5
show more ...
|
#
a081956f |
| 13-Jun-2022 |
Mike Capps <mikepcapps@gmail.com> |
meson support: create meson.build files
This commit contains the meson.build files necessary to build the project and unit tests. The normal procedure is to run the command 'meson build' followed by
meson support: create meson.build files
This commit contains the meson.build files necessary to build the project and unit tests. The normal procedure is to run the command 'meson build' followed by ninja -C build. Additionally, service files are copied to remove autoconf-style naming convention (they cannot be removed before autoconf files are removed).
Signed-off-by: Mike Capps <mikepcapps@gmail.com> Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6cf8f5c1c923a198ad2fb4638843645479fd0498
show more ...
|
#
b564e15a |
| 29-Oct-2021 |
Matt Spinler <spinler@us.ibm.com> |
fanctl: Add query_dump cmd to search dump contents Add a 'query_dump' subcommand to fanctl to assist in looking at the content of the dump file /tmp/fan_control.json generated by the 'fa
fanctl: Add query_dump cmd to search dump contents Add a 'query_dump' subcommand to fanctl to assist in looking at the content of the dump file /tmp/fan_control.json generated by the 'fanctl dump' command. This dump file contains the flight recorder as well as fan control's objects, service, and parameter cache. The command's output is in JSON. It has the following parameters: --section The section of the dump: objects, parameters, or services --name The name of the top level JSON dictionary key to match on. This can match on substrings, like 'sensors' for all sensors. Optional - if not provided it matches on every name. --properties List of property names to match on. Geared toward printing property values from the objects cache. Optional, if not provided the whole JSON objects under the name is printed. Examples: Print the flight recorder: fanctl query_dump --section flight_recorder { "0": "Oct 29 03:41:29.468444: main: Startup" } Print the altitude: fanctl query_dump -s objects -n Altitude -p Value { "/xyz/openbmc_project/sensors/altitude/Altitude": { "Value": 1032.82 } } Print all temperatures: fanctl query_dump -s objects -n sensors/temp -p Value { "/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp": { "Value": 25.0 }, ... } Print every interface and property of the ambient sensor fanctl query_dump -s objects -n Ambient { ... interfaces with their property names and values ... } Print every Value property in the cache: fanctl query_dump -s objects -p Value { "/xyz/openbmc_project/sensors/altitude/Altitude": { "Value": 1032.82 }, "/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp": { "Value": 25.0 } } Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: If66a74b432481f337f02813f2e61ae5767a57d1d
show more ...
|
#
8d44ddb4 |
| 27-Sep-2021 |
Mike Capps <mikepcapps@gmail.com> |
phosphor-fan: add fanctl binary to .gitignore file Signed-off-by: Mike Capps <mikepcapps@gmail.com> Change-Id: I62b8ef26c3b73d90e631a4cf8c3b35e3145b03d6
|
#
0b49fe78 |
| 09-Feb-2021 |
Matthew Barth <msbarth@us.ibm.com> |
docs: Initial config details for each fan app Created initial README.md files for each fan app to outline the details and the framework of their configuration file(s). This was placed in
docs: Initial config details for each fan app Created initial README.md files for each fan app to outline the details and the framework of their configuration file(s). This was placed in a `docs` directory instead of each app's directory as the intention is to have a `src` directory containing all the apps in the future. Additional details to these READMEs will be added as each fan app solidifies on its JSON configuration structure and usage. *Note: A future commit will add all the details to fan presence's README as the majority of its JSON configuration framework is complete. *Note: A follow-on commit to this will create a fan monitor JSON configuration example. Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Change-Id: If80a7567fb7a121e8e7dfee3eb0842a6931ecb6b
show more ...
|
#
05ae4fe4 |
| 17-Feb-2021 |
Matt Spinler <spinler@us.ibm.com> |
Add service files to .gitignore The service files are generated from the .service.in files so they don't need to be tracked. Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Add service files to .gitignore The service files are generated from the .service.in files so they don't need to be tracked. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ic2ab1cde103b1282fbbd43627e847bc26fa30bf8
show more ...
|
#
00237439 |
| 14-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Create PowerOffCause class hierarchy The PowerOffCause base class and its derived classes will be used to determine when a power off needs to be done based on fan failures.
monitor: Create PowerOffCause class hierarchy The PowerOffCause base class and its derived classes will be used to determine when a power off needs to be done based on fan failures. The 'satisified()' method, which takes the fan health map, is used to say if the cause is satisfied and a shut down will need to occur. It provides two types of causes: * MissingFanFRUCause - Looks at missing fan FRUs * NonfuncFanRotorCause - Looks at nonfunctional rotors (sensors) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I3c43347782dc559eb7c7441bf9c03d3407b248e2
show more ...
|
#
5882e0c0 |
| 24-Oct-2018 |
Patrick Venture <venture@google.com> |
gitignore: add libtool Add libtool artifact to gitignore. Change-Id: Ie283f97cc0d714be89ebed420f439322cda653b1 Signed-off-by: Patrick Venture <venture@google.com>
|
#
372b22c3 |
| 12-Jul-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
presence: Switch to new framework Switch the main application logic to the output produced by the new parser previously. Remove unused code. Signed-off-by: Brad Bishop <brad
presence: Switch to new framework Switch the main application logic to the output produced by the new parser previously. Remove unused code. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: If8b262bd80fd0f0135aeea55e578fb3c7f44339a
show more ...
|
#
0b67b1d5 |
| 13-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Update gitignore Add VIM swap files. Add testcase data and log files. Add testcase binary. Change-Id: I0bc59b9d74c157556e95ce0cc41974c9c42335e0 Signed-off-by: Brad Bisho
Update gitignore Add VIM swap files. Add testcase data and log files. Add testcase binary. Change-Id: I0bc59b9d74c157556e95ce0cc41974c9c42335e0 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>
|
#
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 <spinle
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>
show more ...
|
#
e567dd24 |
| 27-Apr-2017 |
Matt Spinler <spinler@us.ibm.com> |
phosphor-fan-monitor framework This application will monitor the actual speeds of fans (via their sensors) and compare them to their expected speeds. If a fan is too slow for too lo
phosphor-fan-monitor framework This application will monitor the actual speeds of fans (via their sensors) and compare them to their expected speeds. If a fan is too slow for too long, it will have its Functional property in the inventory set to false. If it starts working again, the property will be set back to true. It will use configuration data to say which fans to check and which values to use for various timeout and deviation parameters. Change-Id: Ic61613018a758727835b70f2df0ecd1bf12e8256 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
77d32d1b |
| 12-Apr-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fan control: Enable data generation Start running the python script that generates the fan zone data structures during the build. If the paths to the 2 yaml files aren't provide
Fan control: Enable data generation Start running the python script that generates the fan zone data structures during the build. If the paths to the 2 yaml files aren't provided during configure, then the yaml in the example directory will be used instead. Change-Id: I9f67c1b94b5302c30ac87b0f80746854c42776b2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
e73446e3 |
| 10-Apr-2017 |
Matt Spinler <spinler@us.ibm.com> |
Fan control: Add phosphor-fan-control framework Change-Id: Ie1dc082490997712b4fe3f42d0ddb5049ae5ca06 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
681c98db |
| 17-Feb-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Call gen-fan-detect-defs script during build Change-Id: Ie7b9109f097490401c2f4d75f278afad6926d18b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
#
293477d4 |
| 17-Feb-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add fan presence application framework Add class framework for detecting fans by tach Change-Id: I45295fd6bcd81c62cef36320dfbc4f0da6092557 Signed-off-by: Matthew Barth <msbarth@
Add fan presence application framework Add class framework for detecting fans by tach Change-Id: I45295fd6bcd81c62cef36320dfbc4f0da6092557 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
ae0e96c3 |
| 20-Jan-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Initial fan presence build framework Change-Id: Ic39848e285e776ef198c7a41f20debfa164af644 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|