diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-11-27 21:33:58 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-01-16 15:58:47 +0300 |
commit | 219049603784f92d8da4757e038599b4d4415294 (patch) | |
tree | 0a43cff06f7675c5da7a3be141735f933794c874 | |
parent | aa8c33042a89f4d8cd552bd9eba3cea2c5b58370 (diff) | |
download | openbmc-219049603784f92d8da4757e038599b4d4415294.tar.xz |
Switch to phosphor-buttons for button handling
Use the 2 button packages from the phosphor-buttons repo for
button press handling:
obmc-phosphor-buttons-signals
- Sends signals when buttons are pressed and released
obmc-phosphor-buttons-handler
- Listens for the signals and performs the corresponding
actions, which are the same as the current button code
that lives in skeleton.
These support the power, host reset, and ID buttons, All buttons are
optional, and for a button to be configured its GPIO must reside in
/etc/default/obmc/gpio/gpio_defs.json. If the GPIO isn't found, then
nothing will listen for those button presses. See the phosphor-buttons
code for the naming requirements.
Tested: Built and ran image.
(From meta-openpower rev: 5c738445228bc3916d24f582fe8b82e6ef7c539e)
Change-Id: Ic6ac31d2df0000108b191971b959dbd635558258
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | meta-openpower/recipes-phosphor/packagegroups/packagegroup-op-apps.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openpower/recipes-phosphor/packagegroups/packagegroup-op-apps.bb b/meta-openpower/recipes-phosphor/packagegroups/packagegroup-op-apps.bb index 421789d3b..cdbc3f014 100644 --- a/meta-openpower/recipes-phosphor/packagegroups/packagegroup-op-apps.bb +++ b/meta-openpower/recipes-phosphor/packagegroups/packagegroup-op-apps.bb @@ -24,8 +24,8 @@ RPROVIDES_${PN}-system += "virtual-obmc-system-mgmt" SUMMARY_${PN}-chassis = "OpenPOWER Chassis" RDEPENDS_${PN}-chassis = " \ - obmc-button-power \ - obmc-button-reset \ + obmc-phosphor-buttons-signals \ + obmc-phosphor-buttons-handler \ obmc-control-chassis \ obmc-op-control-power \ obmc-host-failure-reboots \ |