summaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
diff options
context:
space:
mode:
Diffstat (limited to 'light/android.hardware.light@2.0-service.xiaomi_wayne.rc')
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_wayne.rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/light/android.hardware.light@2.0-service.xiaomi_wayne.rc b/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
index 0ebe09b..1d215b9 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_wayne.rc
@@ -2,6 +2,17 @@ on boot
# Notification LED
chown system system /sys/class/leds/red/blink
chown system system /sys/class/leds/red/brightness
+ chown system system /sys/class/leds/red/duty_pcts
+ chown system system /sys/class/leds/red/pause_hi
+ chown system system /sys/class/leds/red/pause_lo
+ chown system system /sys/class/leds/red/ramp_step_ms
+ chown system system /sys/class/leds/red/start_idx
+
+ chmod 660 /sys/class/leds/red/duty_pcts
+ chmod 660 /sys/class/leds/red/pause_hi
+ chmod 660 /sys/class/leds/red/pause_lo
+ chmod 660 /sys/class/leds/red/ramp_step_ms
+ chmod 660 /sys/class/leds/red/start_idx
service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_wayne
class hal