From 5a10a48362471c23f512da7a34b16e4fe3724852 Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 19 Aug 2019 14:34:58 +0200 Subject: shinano-common: Remove init.platform-common.rc * Glove mode should be set from the touch HAL * Move TFA9890 AMP and Double tap to wake to init.qcom.rc --- rootdir/etc/init.platform-common.rc | 17 ----------------- rootdir/etc/init.qcom.rc | 11 +++++++++++ 2 files changed, 11 insertions(+), 17 deletions(-) delete mode 100644 rootdir/etc/init.platform-common.rc (limited to 'rootdir/etc') diff --git a/rootdir/etc/init.platform-common.rc b/rootdir/etc/init.platform-common.rc deleted file mode 100644 index 58a3063..0000000 --- a/rootdir/etc/init.platform-common.rc +++ /dev/null @@ -1,17 +0,0 @@ -on boot - # Touch - chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture - chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture - - # Glove input - chown system system /sys/devices/virtual/input/clearpad/glove - chown system system /sys/devices/virtual/input/max1187x/glove - chmod 0660 /sys/devices/virtual/input/clearpad/glove - chmod 0660 /sys/devices/virtual/input/max1187x/glove - -# TFA9890 AMP -service tfa9890_amp /system/bin/tfa9890_amp - class late_start - user root - group root - oneshot diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 60aec1c..d3a88e6 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -265,6 +265,10 @@ on boot chown system system /sys/devices/virtual/graphics/fb0/rgb chmod 0660 /sys/devices/virtual/graphics/fb0/rgb + # Touchscreen + chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture + chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture + on post-fs # Change to socket location on libkeyctrl/suntory for /data encryption # Create suntory data directory @@ -532,3 +536,10 @@ service hvdcp /vendor/bin/hvdcp class core user root disabled + +# TFA9890 AMP +service tfa9890_amp /system/bin/tfa9890_amp + class late_start + user root + group root + oneshot -- cgit v1.2.3