summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorJenhao Chen <jenhaochen@google.com>2018-11-12 00:42:02 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-11-12 00:42:02 -0800
commitb87a03a515e7cd1e02322a2f07f4949a7709b770 (patch)
tree0e59f2da3d08a317ee3734a5a7776a8206e09583 /init.hardware.rc
parent2bb7676df340b8d42270aaabcbda50e7fbe70068 (diff)
parentc294a3f0bf6fb6015d2fc60dbf9399888fb318a7 (diff)
downloadbonito-b87a03a515e7cd1e02322a2f07f4949a7709b770.tar.gz
Merge "bonito: add slowio information to pixelstats sysfs collector" into pi-dev am: 2b62873654
am: c294a3f0bf Change-Id: I1fc4334ab8b7dfe8aacf721d82373fd4ccbd6b51
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index e23f74b2..2d857e73 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -391,6 +391,12 @@ on early-boot
chown system system /sys/devices/platform/soc/a88000.i2c/i2c-0/0-0061/txlen
chown system system /sys/devices/platform/soc/a88000.i2c/i2c-0/0-0061/ccreset
+ # Permission for Pixelstats
+ chown system system /sys/devices/platform/soc/7c4000.sdhci/mmc_host/mmc0/slowio_read_cnt
+ chown system system /sys/devices/platform/soc/7c4000.sdhci/mmc_host/mmc0/slowio_write_cnt
+ chown system system /sys/devices/platform/soc/7c4000.sdhci/mmc_host/mmc0/slowio_discard_cnt
+ chown system system /sys/devices/platform/soc/7c4000.sdhci/mmc_host/mmc0/slowio_flush_cnt
+
on boot
mkdir /dev/socket/qmux_radio 0770 radio radio
chmod 2770 /dev/socket/qmux_radio