History log of /openbmc/phosphor-gpio-monitor/presence/ (Results 26 – 31 of 31)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
902d1c3701-Sep-2017 Matt Spinler <spinler@us.ibm.com>

gpio-presence: Add function to bind/unbind drivers

The cards that this app is doing presence detection for
may have devices with drivers that need to be bound and
unbound when the card is added and

gpio-presence: Add function to bind/unbind drivers

The cards that this app is doing presence detection for
may have devices with drivers that need to be bound and
unbound when the card is added and removed, respectively.

The drivers to do this to will be passed into the app
on startup (in a future commit). Then when presence detect
changes the proper binds/unbinds will be done.

This commit adds the code in the Presence class to do so.

Change-Id: I32827e45b88ddb7586aba6b819cc591b49aa9c51
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

835dfb8826-Jul-2017 Gunnar Mills <gmills@us.ibm.com>

Refactor GPIO Presence class

Refactor the GPIO Presence class to use a common class, Evdev,
to inherit from. Evdev does the basic libevdev handling.
A later commit moves monitor.hpp to this common c

Refactor GPIO Presence class

Refactor the GPIO Presence class to use a common class, Evdev,
to inherit from. Evdev does the basic libevdev handling.
A later commit moves monitor.hpp to this common class as well.

Change-Id: I3c872680c88f8f400fefe3af49eb9b84c7491ceb
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

765725e006-Jul-2017 Gunnar Mills <gmills@us.ibm.com>

Monitor for GPIO state change

Use libevdev to monitor for GPIO state change and
update item present accordingly.

Change-Id: I1959a5ea09a7570c096b05d78a190394767a5ddd
Signed-off-by: Gunnar Mills <gm

Monitor for GPIO state change

Use libevdev to monitor for GPIO state change and
update item present accordingly.

Change-Id: I1959a5ea09a7570c096b05d78a190394767a5ddd
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

80292bbe05-Jul-2017 Gunnar Mills <gmills@us.ibm.com>

Update inventory item interface

Update the inventory item interface, setting
Present and PrettyName.

Change-Id: I6a0a8bd66a8427253706b2b1ee14dca919d0a809
Signed-off-by: Gunnar Mills <gmills@us.ibm.

Update inventory item interface

Update the inventory item interface, setting
Present and PrettyName.

Change-Id: I6a0a8bd66a8427253706b2b1ee14dca919d0a809
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

5f10110329-Jun-2017 Gunnar Mills <gmills@us.ibm.com>

Read GPIO key on startup

Create class Presence which will be responsible for
determining and monitoring presence of inventory items
and updating D-Bus accordingly. With this commit
class Presence on

Read GPIO key on startup

Create class Presence which will be responsible for
determining and monitoring presence of inventory items
and updating D-Bus accordingly. With this commit
class Presence only reads the GPIO key on startup,
more to come later.

Change-Id: I647ae11d42a813a103e6d9d8922fd0f5b2155132
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

7263915a22-Jun-2017 Gunnar Mills <gmills@us.ibm.com>

Add base support for GPIO presence

This is the starting code needed to build the application.

Change-Id: I46112a222afbc057ac4fc4f8fb2b4c83822023df
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

12