From e2e1a607c59cf260b236143142366b551398e9b9 Mon Sep 17 00:00:00 2001 From: jeangraff30 Date: Sat, 6 Feb 2021 16:33:17 -0300 Subject: [PATCH] msm8953-common: Add missing permission for ModServices --- rootdir/root/ueventd.qcom.rc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/rootdir/root/ueventd.qcom.rc b/rootdir/root/ueventd.qcom.rc index 0eb66e8..3dfd56b 100644 --- a/rootdir/root/ueventd.qcom.rc +++ b/rootdir/root/ueventd.qcom.rc @@ -407,3 +407,35 @@ firmware_directories /vendor/firmware_mnt/image/ #DTV /dev/isdbt 0660 oem_5019 oem_5019 + +# MOD device +/sys/devices/soc/75b5000.i2c/i2c-7/7-0072 irq_enable 0660 oem_5004 oem_5004 +/sys/devices/soc/0.apba_ctrl apba_enable 0660 oem_5004 oem_5020 +/sys/devices/soc/0.apba_ctrl apba_mode 0660 oem_5004 oem_5020 +/sys/devices/soc/0.apba_ctrl flash_partition 0220 oem_5004 oem_5020 +/sys/devices/soc/0.apba_ctrl unipro_mid 0440 root oem_5020 +/sys/devices/soc/0.apba_ctrl unipro_pid 0440 root oem_5020 +/sys/devices/soc/0.apba_ctrl vid 0440 root oem_5020 +/sys/devices/soc/0.apba_ctrl pid 0440 root oem_5020 +/sys/devices/soc/0.apba_ctrl fw_version 0440 root oem_5020 +/sys/devices/soc/0.apba_ctrl fw_version_str 0440 root oem_5020 +/sys/devices/soc/soc:muc_svc@0/mods_interfaces/* hotplug 0660 root oem_5020 +/sys/devices/soc/soc:muc_svc@0/mods_interfaces/* uevent 0660 root oem_5020 +/sys/devices/soc/soc:muc_svc@0/mods_interfaces/* current_limit 0220 root oem_5020 +/sys/devices/soc/soc:muc_svc@0/mods_interfaces/* rtc_sync 0220 root oem_5020 +/sys/devices/soc/soc:muc_svc@0 flashmode 0660 root oem_5020 +/sys/devices/soc/soc:muc_svc@0 reset 0660 root oem_5020 +/sys/devices/soc/0.muc/0.muc:muc_svc@0/mods_interfaces/* hotplug 0660 root oem_5020 +/sys/devices/soc/0.muc/0.muc:muc_svc@0/mods_interfaces/* uevent 0660 root oem_5020 +/sys/devices/soc/0.muc/0.muc:muc_svc@0 flashmode 0660 root oem_5020 +/sys/devices/platform/mods_ap uevent 0660 root oem_5020 +/sys/devices/platform/mods_ap/* uevent 0660 root oem_5020 +/sys/devices/platform/mods_ap/greybus1 uevent 0664 root oem_5020 + +# MOD display device +/sys/devices/platform/mods_ap/greybus1/*/*/display/display* state 0660 root oem_5020 +/sys/devices/platform/mods_ap/greybus1/*/*/display/display* config 0444 root oem_5020 +/sys/devices/platform/mods_ap/greybus1/*/*/display/display* notification 0660 root oem_5020 + +# MOD light device +/sys/devices/platform/mods_ap/greybus1/*/*/leds/mod_light*::backlight brightness 0660 root oem_5020