davinci: rootdir: Drop led permissions from ueventd
* Set the permissions we need from lights HAL Change-Id: I93bc6cc0aab1d55f32b53a01df662fe5327c0199
This commit is contained in:
parent
6632e3c003
commit
688407d50e
@ -3,11 +3,15 @@ on boot
|
|||||||
chown system system /sys/class/backlight/panel0-backlight/max_brightness
|
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/brightness
|
||||||
chown system system /sys/class/leds/green/breath
|
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/brightness
|
||||||
chmod 0644 /sys/class/backlight/panel0-backlight/max_brightness
|
chmod 0644 /sys/class/backlight/panel0-backlight/max_brightness
|
||||||
chmod 0644 /sys/class/leds/green/brightness
|
chmod 0644 /sys/class/leds/green/brightness
|
||||||
chmod 0644 /sys/class/leds/green/breath
|
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
|
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.davinci
|
||||||
interface android.hardware.light@2.0::ILight default
|
interface android.hardware.light@2.0::ILight default
|
||||||
|
@ -118,17 +118,6 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||||||
# Kmsg device
|
# Kmsg device
|
||||||
/dev/kmsg 0620 root system
|
/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
|
# NPU device
|
||||||
/dev/msm_npu 0644 system system
|
/dev/msm_npu 0644 system system
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user