summaryrefslogtreecommitdiff
path: root/rootdir/etc
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2019-08-19 14:34:58 +0200
committerArian <arian.kulmer@web.de>2019-10-25 22:16:14 +0200
commit5a10a48362471c23f512da7a34b16e4fe3724852 (patch)
tree75a7d29b396f69e87bbaea3a9fd4e7d4fa4be636 /rootdir/etc
parent234ab87747f39a9bd9c73f7b8058b550cd777f81 (diff)
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
Diffstat (limited to 'rootdir/etc')
-rw-r--r--rootdir/etc/init.platform-common.rc17
-rw-r--r--rootdir/etc/init.qcom.rc11
2 files changed, 11 insertions, 17 deletions
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