History log of /openbmc/phosphor-fan-presence/ (Results 851 – 875 of 994)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
eb639c5704-Aug-2017 Matthew Barth <msbarth@us.ibm.com>

Add support to handle InterfacesAdded signals

Set speed events can not subscribe to InterfaceAdded signals for
properties that are created after fan control initializes the event. Fan
control subscr

Add support to handle InterfacesAdded signals

Set speed events can not subscribe to InterfaceAdded signals for
properties that are created after fan control initializes the event. Fan
control subscribes to property changed signals for all events upon
startup where any properties that do not exist are unable to be
subscribed to and be notified when their property changes. Therefore,
subscribing to the InterfacesAdded signals for properties as well allows
any property defined within a set speed event that may not exist upon
starting the fan control application get added or updated when the
interface it resides on is added.

When a subscribed InterfacesAdded signal is caught, the same setProperty
handler function will be used to add the property value for the object
path, interface, and property name defined to be subscribed to for
property change signals.

Change-Id: If6fe97288140b83e2e2d735fdf61d52de1ec2e88
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...

ccc7770e28-Jul-2017 Matthew Barth <msbarth@us.ibm.com>

Initial updates to support preconditions

Any defined preconditions for a set speed event must be satisfied prior
to configuring the event parameters for fan control. These preconditions
will accept

Initial updates to support preconditions

Any defined preconditions for a set speed event must be satisfied prior
to configuring the event parameters for fan control. These preconditions
will accept a list of group entries that include the value the group's
property must be to have the precondition met for that group. Once all
preconditions are met, the set speed event will be initialized and
become active.

Change-Id: Ia5555be55c5937c891af527bea63da1546655b2f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...

771659fc30-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

monitor: Remove static systemd match callbacks

Replace static systemd match callback wrappers with lamba
methods.

Change-Id: Ib8471478824d87483a60f527d29aa2d35ccb833f
Signed-off-by: Brad Bishop <br

monitor: Remove static systemd match callbacks

Replace static systemd match callback wrappers with lamba
methods.

Change-Id: Ib8471478824d87483a60f527d29aa2d35ccb833f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

78b5845630-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

monitor: Use sdbusplus::bus::match::rules

Change-Id: I96ed7de07acfc864c497a0130c3e5afab579d21d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

fa0766e330-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

monitor: Do not allow TachSensor move

TachSensor uses the this pointer as the systemd callback
context for signal callbacks, which doesn't work with
move semantics.

Change-Id: I5e58fec9a7edfc457103

monitor: Do not allow TachSensor move

TachSensor uses the this pointer as the systemd callback
context for signal callbacks, which doesn't work with
move semantics.

Change-Id: I5e58fec9a7edfc457103d8a36f6076d90246f4f0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

edaeb31c30-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

monitor: Allow missing sensors

Don't count sensors that don't exist as nonfunctional. Let some
other application decide if missing sensors are a problem or not.

Change-Id: Ie3d438c92df16bfd86ddc86

monitor: Allow missing sensors

Don't count sensors that don't exist as nonfunctional. Let some
other application decide if missing sensors are a problem or not.

Change-Id: Ie3d438c92df16bfd86ddc86db8a9dd143bf2cfb0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

d7999b7c30-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

monitor: Remove getService

Remove getService from tach_sensor as it is no longer used.

Change-Id: I568afb502379e05e85685d279033ab198c3cc91f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

2a58e2ce30-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

monitor: Use common wrapper methods

Replace the implementation of readProperty with a call to the
common property accessor in sdbusplus.hpp.

Change-Id: Ic4ba75bad7458a99f3e29c9235e1a54ae62286fe
Sig

monitor: Use common wrapper methods

Replace the implementation of readProperty with a call to the
common property accessor in sdbusplus.hpp.

Change-Id: Ic4ba75bad7458a99f3e29c9235e1a54ae62286fe
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

f2238ae630-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Allow existing bus connections

Overload the wrapper methods in sdbusplus.hpp for clients
that already have a bus connection.

Change-Id: I662385e6afe52179293ccbd41212d208e34bfbc5
Signed-off-by: Brad

Allow existing bus connections

Overload the wrapper methods in sdbusplus.hpp for clients
that already have a bus connection.

Change-Id: I662385e6afe52179293ccbd41212d208e34bfbc5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

e67b41bc30-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

whitespace fixes

Change-Id: Ibce6f79d4f4efb4a1605afc2958dd543f54ae726
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

12e25b6028-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: Remove unused presence variable

Change-Id: I72f801067ff09c91c53d32bf5ebb66fed3ec4dfc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

2e9788d728-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Un-hardcode input device path

Allow a device path to be configured.

Change-Id: I2eabd71747b124eae96738d1332f58b96ece6dc9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

d37c0f8528-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Allow missing tach sensors

Do not allow missing tach sensors to abort the program.
Instead, assume the fan is not spinning.

Change-Id: Idc923b9c57b4d180aa16f0aa4933c65e7e4a2d42
Signed-off

presence: Allow missing tach sensors

Do not allow missing tach sensors to abort the program.
Instead, assume the fan is not spinning.

Change-Id: Idc923b9c57b4d180aa16f0aa4933c65e7e4a2d42
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

fcbedca025-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add parser support for any of

Add support for the anyof yaml keyword.

Change-Id: Ib28ca8ef9959cec29cb2d15a0bf758668375895f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

00b5208225-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add any of redundancy policy

Add a bitwise logical or redundancy policy implementation
(fan is present if any sensor indicates as such).

Change-Id: I1d161478a4a6fe9d5690a385703e41c6fff9c8

presence: Add any of redundancy policy

Add a bitwise logical or redundancy policy implementation
(fan is present if any sensor indicates as such).

Change-Id: I1d161478a4a6fe9d5690a385703e41c6fff9c81c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

11083eca25-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add sensor to redundancy policy api

Include a reference to the sensor changing state when sensor
implementations ping the policy object.

This allows policy logic based on multiple sensors

presence: Add sensor to redundancy policy api

Include a reference to the sensor changing state when sensor
implementations ping the policy object.

This allows policy logic based on multiple sensors, simultaneously.

Change-Id: I44cf00c7ecd220d0cc99e51ca6093bac6da7343c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

6174951125-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add sensor comparison

Add a basic comparison operator for presence sensors.

Change-Id: Ib147fd24f6e9ea1daf5f2b0b71943e0b4c96a8b7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

d516c61b19-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

Throw errors after sd_event api failures

Change-Id: Ie0635bc28fcd1a2fd96764674e15c71f1dcbe51a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

7cd75d7813-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add fallback testcase

Change-Id: Ic3390ba18d6f029fc16aee7492d51ac5f49bf2c0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

135a47f912-Jul-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add test directory

Change-Id: I1d0a8e7d4c442beb271c83d5ef6be3ca69c7c115
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

372b22c312-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 <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 <bradleyb@fuzziesquirrel.com>
Change-Id: If8b262bd80fd0f0135aeea55e578fb3c7f44339a

show more ...

76596b2113-Jun-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Invoke pfpgen.py

Invoke the new parser during build.

Change-Id: I3a3c8c227a79e6f80a051c5e1d3a9a2b7f4e9656
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

5593560b13-Jun-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: New parser

Adopt an easy on the tongue acronym similar to other projects.
Add a robust parser with support for sensors and policies.
Sensors: gpio, tach
Policies: fallback
Add an examp

presence: New parser

Adopt an easy on the tongue acronym similar to other projects.
Add a robust parser with support for sensors and policies.
Sensors: gpio, tach
Policies: fallback
Add an example yaml file.

Change-Id: I9158a0ce2a08ef6b7bb3f5d659ea0e0433af5b96
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

bfb8160714-Jun-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add fallback redundancy policy

Add a fallback redundancy implementation of the RedundancyPolicy
interface.

The fallback policy associates multiple PresenceSensor instances
to a single fan

presence: Add fallback redundancy policy

Add a fallback redundancy implementation of the RedundancyPolicy
interface.

The fallback policy associates multiple PresenceSensor instances
to a single fan, and "falls-back" on secondary sensor implementations
when the primary sensor cannot see the fan.

Change-Id: I6468d77d97b8916b3ff33bcd0cd28a102d1aaba1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

5c58948714-Jun-2017 Brad Bishop <bradleyb@fuzziesquirrel.com>

presence: Add gpio presence sensor

Add a gpio presence implementation of the PresenceSensor
interface.

The gpio sensor simply maps the on off state of a gpio
directly to the xyz.openbmc_project.Inv

presence: Add gpio presence sensor

Add a gpio presence implementation of the PresenceSensor
interface.

The gpio sensor simply maps the on off state of a gpio
directly to the xyz.openbmc_project.Inventory.Item
Present property.

Change-Id: I071dd475bebb15372edb59506352746c20542eff
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

1...<<31323334353637383940