summaryrefslogtreecommitdiffstats
path: root/meta-openpower
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-11-27 12:33:58 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-16 12:58:47 +0000
commit219049603784f92d8da4757e038599b4d4415294 (patch)
tree0a43cff06f7675c5da7a3be141735f933794c874 /meta-openpower
parentaa8c33042a89f4d8cd552bd9eba3cea2c5b58370 (diff)
downloadtalos-openbmc-219049603784f92d8da4757e038599b4d4415294.tar.gz
talos-openbmc-219049603784f92d8da4757e038599b4d4415294.zip
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>
Diffstat (limited to 'meta-openpower')
-rw-r--r--meta-openpower/recipes-phosphor/packagegroups/packagegroup-op-apps.bb4
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 \
OpenPOWER on IntegriCloud