commit | 7363737c5b6002d95636f13436b5c931bf63955e | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Aug 02 01:37:20 2017 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Aug 02 18:11:46 2017 +0000 |
tree | 7fa9fc7009c358995d0be94f35868ab628df53a4 | |
parent | 13752dff4cb71e42007a042dbf38af3369cf9720 [diff] |
wspoon: Unhardcode cooling type gpio keys device Use the udev created symlink given the forthcoming introduction of additional input devices (gpio-keys-polled) and the non-deterministic probe order that comes along with that. Change-Id: I0f0ffa96adb958be0c1835ccb1a1e73d5378de03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/obmc/phosphor-fan/phosphor-cooling-type-0.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/obmc/phosphor-fan/phosphor-cooling-type-0.conf index 334ded0..e5e8f43 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/obmc/phosphor-fan/phosphor-cooling-type-0.conf +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan%/obmc/phosphor-fan/phosphor-cooling-type-0.conf
@@ -1,6 +1,6 @@ OBJPATH="--path=/system/chassis" AIR="--air" WATER="" -DEVICE="--dev=/dev/input/event0" +DEVICE="--dev=/dev/input/by-path/platform-gpio-keys-event" CODE="--event=13"