diff options
| author | Ruchi Kandoi <kandoiruchi@google.com> | 2014-04-29 19:14:37 -0700 |
|---|---|---|
| committer | Ruchi Kandoi <kandoiruchi@google.com> | 2014-05-01 17:30:41 +0000 |
| commit | 75b287b771b302c99797d812122b72f83d2f56f9 (patch) | |
| tree | d4a7904fbb28d8ab3646f4a049143a59f5199847 /rootdir | |
| parent | 9ed86eff8890446f0d0b281a26a71c233f95f4c0 (diff) | |
| download | system_core-75b287b771b302c99797d812122b72f83d2f56f9.tar.gz system_core-75b287b771b302c99797d812122b72f83d2f56f9.tar.bz2 system_core-75b287b771b302c99797d812122b72f83d2f56f9.zip | |
ueventd: Ueventd changes the permission of sysfs files for max/min
cpufreq
The owner and permissions for the sysfs file
/sys/devices/system/cpu*/cpufreq/scaling_max/min_freq is changed.
This would allow the PowerHAL to change the max/min cpufreq even after
the associated CPU's are hotplugged out and back in.
Change-Id: Ibe0b4aaf3db555ed48e89a7fcd0c5fd3a18cf233
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/ueventd.rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc index b8fe716c5..eff24c30e 100644 --- a/rootdir/ueventd.rc +++ b/rootdir/ueventd.rc @@ -91,3 +91,5 @@ subsystem adf /sys/devices/virtual/input/input* enable 0660 root input /sys/devices/virtual/input/input* poll_delay 0660 root input /sys/devices/virtual/usb_composite/* enable 0664 root system +/sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system +/sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system |
