aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorOndrej Hlavac <hlavaco@gmail.com>2017-03-25 11:48:09 +0100
committerdd3boh <dade.garberi@gmail.com>2017-07-13 10:09:47 +0200
commitbe70b922efe0dc4727aa323c94e00f61d5b13643 (patch)
tree45202629d4b64f61b43cbd0f86d6089f84fa85b9 /rootdir
parent481aab22e15246195978af672aee3c260a64bae8 (diff)
z2_plus: Fix KeyDisabler
- fix path in cmhw - change permissions on boot for sysfs - add selinux rule for sysfs
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/etc/init.qcom.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index fb4dc67..77fc609 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -105,6 +105,10 @@ on boot
chown root system /proc/tri-state-key/keyCode_bottom
chmod 0660 /proc/tri-state-key/keyCode_bottom
+ # U-Touch disable - KeyDisabler
+ chown system system /sys/devices/soc/soc:fpc1020/utouch_disable
+ chmod 0660 /sys/devices/soc/soc:fpc1020/utouch_disable
+
# Graphics
chown system graphics /sys/class/graphics/fb0/dyn_pu
chmod 0664 /sys/class/graphics/fb0/dyn_pu