davinci: rootdir: Drop led permissions from ueventd

* Set the permissions we need from lights HAL

Change-Id: I93bc6cc0aab1d55f32b53a01df662fe5327c0199
This commit is contained in:
Arian 2020-08-31 18:50:43 +02:00
parent 6632e3c003
commit 688407d50e
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
2 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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