diff options
author | Maulik Shah <mkshah@codeaurora.org> | 2016-12-20 16:32:26 +0530 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2018-01-10 18:27:20 +0100 |
commit | 5bed236ac90337369cb338ee460b384b051923c0 (patch) | |
tree | 335770655699704cf8d242ebde4f42f8c8a3f35e | |
parent | 805c350d0d04f9c46eef4425b8cbbb9f6dbeea42 (diff) |
msm8996-common: Change msm_core node ownership from root to system
Energy-awareness service will be starting as system instead of root.
Change ownership from root to system on nodes that energy-awareness
uses.
Change-Id: Ic23a49817c064b84b6abc5ad949d901c527ca7a8
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rwxr-xr-x | rootdir/etc/init.qcom.rc | 5 | ||||
-rw-r--r-- | rootdir/etc/ueventd.qcom.rc | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index c7f0ed3..331ab28 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -246,6 +246,11 @@ on boot chmod 0660 /dev/ttyHS2 chown bluetooth bluetooth /dev/ttyHS2 + chown system system /sys/module/msm_core/parameters/polling_interval + chown system system /sys/module/msm_core/parameters/disabled + chown system system /sys/kernel/debug/msm_core/enable + chown system system /sys/kernel/debug/msm_core/ptable + chown bluetooth net_bt /sys/class/rfkill/rfkill0/device/extldo chmod 0660 /sys/class/rfkill/rfkill0/device/extldo diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 43ada97..36cf948 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -51,6 +51,9 @@ #permissions for CSVT /dev/smd11 0660 radio radio +#permissions for pta +/dev/pta 0660 system system + /dev/radio0 0640 system system /dev/rfcomm0 0660 bluetooth bluetooth /dev/ttyUSB0 0660 bluetooth bluetooth |