summaryrefslogtreecommitdiffstats
path: root/presence
Commit message (Collapse)AuthorAgeFilesLines
* evdevpp: Add C++ bindings for libevdevBrad Bishop2017-08-021-2/+4
| | | | | Change-Id: Iff27168588ee0767902801e6df3c6745a643ac9a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* presence: Check DBus for initial stateBrad Bishop2017-07-081-5/+38
| | | | | | | | 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
* presence: Add initialstate ctor argumentsBrad Bishop2017-07-083-9/+14
| | | | | | | | Allow class users to set the initial state of enclosures and tach sensors. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: If5199361ab051ca46096f66ba925aeb1a874801f
* presence: Remove work from enclosure constructorBrad Bishop2017-07-082-2/+2
| | | | | | | | 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
* presence: Use new sdbusplus wrapperBrad Bishop2017-07-084-42/+19
| | | | | | | Use the sdbusplus wrapper methods introduced previously. Change-Id: Ifd431753e9513436a9b5ab98cc49d907a5929c20 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* phosphor-fan-presence elog error exception.Dinesh Chinari2017-06-282-11/+5
| | | | | | | | Implemented elog exception for phosphor fan presence, replacing runtime_errors. Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* Update to use match methods for signal callbacksMatthew Barth2017-06-262-46/+20
| | | | | | | | | | | Attach the tach change handler function to the match along with using the new match methods on the match string. Add 'argN' sensor value interface to reduce dbus traffic Resolves openbmc/phosphor-fan-presence#5 Change-Id: I9c809e42a384ea751d2f3a51b14ad304ce61cd2c Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* presence: build: Add yaml file to generated depsBrad Bishop2017-06-132-16/+3
| | | | | | | | 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>
* Fan control: Add getService() utility functionMatt Spinler2017-04-261-1/+1
| | | | | | | | | | | This function returns the service name from the mapper based on the dbus path and interface passed in. Eventually, getInvService can be removed and this call can be used instead. Change-Id: Ieb090a9b650803e8cfaf2f24143f25a4bbf1cd23 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* build: Move presence to a subdirectoryBrad Bishop2017-04-2411-0/+664
Change-Id: I33b28922107b9b041de3699e4a6eebd3d05ebdef Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud