diff options
| author | Jason Riordan <jriordan001@gmail.com> | 2017-01-13 23:55:29 -0500 |
|---|---|---|
| committer | Jason Riordan <jriordan001@gmail.com> | 2017-01-14 20:29:54 -0500 |
| commit | c7f08bad9ff43c12b99f4f3c51c46c76bb1ee594 (patch) | |
| tree | 8fe367989af36efd0639034f5b72231d0d7f012f /rootdir | |
| parent | 83a2c6553bf925a2caa9b6f81fb7d7f672955b58 (diff) | |
mofd: sensors: correct perms for sensorhubd
Change-Id: I560315035c3d4541092133ec44ea0c78ce72ee49
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/etc/init.mofd_v1.rc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rootdir/etc/init.mofd_v1.rc b/rootdir/etc/init.mofd_v1.rc index 24bc221..7845002 100644 --- a/rootdir/etc/init.mofd_v1.rc +++ b/rootdir/etc/init.mofd_v1.rc @@ -273,9 +273,9 @@ service drm /system/bin/drmserver service sensorhubd /system/bin/sensorhubd class main - user system - group system - socket sensorhubd stream 660 system system + user root + group root system readproc + socket sensorhubd stream 666 system system on charger mount ext4 /dev/block/by-name/system /system ro noatime barrier=1,data=ordered @@ -296,8 +296,8 @@ on charger #Turn on VPROG2 Power rail to avoid power leakage in Sensor -# chmod 0664 /sys/bus/pci/devices/0000:00:16.1/control -# write /sys/bus/pci/devices/0000:00:16.1/control "0 1 0" + chmod 0664 /sys/bus/pci/devices/0000:00:16.1/control + write /sys/bus/pci/devices/0000:00:16.1/control "0 1 0" on property:persist.asus.instant_camera=1 write sys/devices/platform/gpio-keys/enabled_wakeup 115 |
