From f9bb7779edb1e4194e647b81cc3e6a6f5944a9d8 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Mon, 7 Oct 2013 23:39:12 -0700 Subject: [PATCH] cm: Update permissions for ondemand sysfs nodes Change-Id: I4d7e856a720bef539bd5c43624cc8ed746b2cc95 --- prebuilt/common/etc/init.local.rc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index a0ac39f1..997be9b9 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -57,7 +57,17 @@ on boot chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold chown system system /sys/devices/system/cpu/cpufreq/ondemand/input_boost - chmod 0600 /sys/devices/system/cpu/cpufreq/ondemand/input_boost + chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/input_boost + chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core + chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core + chown system system /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core + chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core + chown system system /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq + chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq + chown system system /sys/devices/system/cpu/cpufreq/ondemand/sync_freq + chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/sync_freq + chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load + chmod 0660 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load # Assume SMP uses shared cpufreq policy for all CPUs chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor