summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorBrandon Wyman <bjwyman@gmail.com>2017-08-02 14:16:41 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-02 20:17:28 +0000
commit61c7cd4165df88e23dcc9885aa127749a0c730df (patch)
treeb14833788931d26c778ffd9aac0069d1c9ded434 /meta-openbmc-machines
parentacc74aff4bb0cecaf81b23e61488d19716351ac3 (diff)
downloadtalos-openbmc-61c7cd4165df88e23dcc9885aa127749a0c730df.tar.gz
talos-openbmc-61c7cd4165df88e23dcc9885aa127749a0c730df.zip
Unhardcode gpio keys device for checkstop monitor
The move to gpio-keys-polled will require evdev code to use the symlink that the udev rule (60-persistent-input.rules) will get created. Change-Id: I2be9dcbbf21a8bd212bc273ac488c891f07dd415 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop
index 1259483bc..e6468d898 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop
@@ -1,4 +1,4 @@
-PATH=/dev/input/event0
+PATH=/dev/input/by-path/platform-gpio-keys-event
KEY=74
POLARITY=1
TARGET=obmc-host-crash@0.target
OpenPOWER on IntegriCloud