aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Lay <slay16@student.monash.edu>2017-03-02 13:25:37 +1100
committertunturn <arbiter1000@gmail.com>2017-03-09 11:48:39 +1100
commit8112285a6f986d3d4db3a5b73d024384b946a7fc (patch)
tree71574200545fc67ca4c5cc6c071edf7663ba48d0
parent592e80d23d7bc2632cbce7849c2a2b66353ce1b6 (diff)
shinano-common: init: Change perms for RGB led
Change-Id: I89d99a4c8226c5ffc5194b2123404ed381b6cbb4
-rw-r--r--rootdir/init.qcom.rc19
1 files changed, 19 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 2015408..1cdc528 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -262,6 +262,25 @@ on post-fs
mkdir /dev/socket/suntory 0755 system system
mkdir /data/suntory 0755 system system
+ # led RGB
+ chown system system /sys/class/leds/rgb/sync_state
+ chown system system /sys/class/leds/rgb/start_blink
+ chown system system /sys/class/leds/led:rgb_red/brightness
+ chown system system /sys/class/leds/led:rgb_red/lut_pwm
+ chown system system /sys/class/leds/led:rgb_red/step_duration
+ chown system system /sys/class/leds/led:rgb_red/pause_lo_multi
+ chown system system /sys/class/leds/led:rgb_red/pause_hi_multi
+ chown system system /sys/class/leds/led:rgb_green/brightness
+ chown system system /sys/class/leds/led:rgb_green/lut_pwm
+ chown system system /sys/class/leds/led:rgb_green/step_duration
+ chown system system /sys/class/leds/led:rgb_green/pause_lo_multi
+ chown system system /sys/class/leds/led:rgb_green/pause_hi_multi
+ chown system system /sys/class/leds/led:rgb_blue/brightness
+ chown system system /sys/class/leds/led:rgb_blue/lut_pwm
+ chown system system /sys/class/leds/led:rgb_blue/step_duration
+ chown system system /sys/class/leds/led:rgb_blue/pause_lo_multi
+ chown system system /sys/class/leds/led:rgb_blue/pause_hi_multi
+
on post-fs-data
# create directory for DRM plug-ins - give drm the read/write access to
# the following directory.