diff --git a/light/android.hardware.light@2.0-service.davinci.rc b/light/android.hardware.light@2.0-service.davinci.rc index c550d82..3a4f0bc 100644 --- a/light/android.hardware.light@2.0-service.davinci.rc +++ b/light/android.hardware.light@2.0-service.davinci.rc @@ -3,11 +3,15 @@ on boot chown system system /sys/class/backlight/panel0-backlight/max_brightness chown system system /sys/class/leds/green/brightness chown system system /sys/class/leds/green/breath + chown system system /sys/class/leds/blue/brightness + chown system system /sys/class/leds/blue/breath chmod 0644 /sys/class/backlight/panel0-backlight/brightness chmod 0644 /sys/class/backlight/panel0-backlight/max_brightness chmod 0644 /sys/class/leds/green/brightness chmod 0644 /sys/class/leds/green/breath + chmod 0644 /sys/class/leds/blue/brightness + chmod 0644 /sys/class/leds/blue/breath service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.davinci interface android.hardware.light@2.0::ILight default diff --git a/rootdir/etc/ueventd.rc b/rootdir/etc/ueventd.rc index d10d89a..c4f789a 100644 --- a/rootdir/etc/ueventd.rc +++ b/rootdir/etc/ueventd.rc @@ -118,17 +118,6 @@ firmware_directories /vendor/firmware_mnt/image/ # Kmsg device /dev/kmsg 0620 root system -# LED class devices -/sys/class/leds/red delay_on 0640 system system -/sys/class/leds/red delay_off 0640 system system -/sys/class/leds/red breath 0640 system system -/sys/class/leds/green delay_on 0640 system system -/sys/class/leds/green delay_off 0640 system system -/sys/class/leds/green breath 0640 system system -/sys/class/leds/blue delay_on 0640 system system -/sys/class/leds/blue delay_off 0640 system system -/sys/class/leds/blue breath 0640 system system - # NPU device /dev/msm_npu 0644 system system