sanders: mods/greybus cleanup
This commit is contained in:
@@ -86,14 +86,6 @@ on post-fs-data
|
||||
chown oem_5001 oem_5001 /sys/class/power_supply/battery/device/force_chg_fail_clear
|
||||
chown oem_5001 oem_5001 /sys/class/power_supply/battery/device/force_chg_usb_otg_ctl
|
||||
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_rechrg_start_soc
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_rechrg_stop_soc
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_attach_start_soc
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_attach_stop_soc
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_low_start_soc
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_low_stop_soc
|
||||
chown root oem_5020 /sys/module/qpnp_smbcharger_mmi/parameters/eb_on_sw
|
||||
|
||||
chmod 0664 /sys/module/qpnp_smbcharger_mmi/parameters/eb_rechrg_start_soc
|
||||
chmod 0664 /sys/module/qpnp_smbcharger_mmi/parameters/eb_rechrg_stop_soc
|
||||
chmod 0664 /sys/module/qpnp_smbcharger_mmi/parameters/eb_attach_start_soc
|
||||
@@ -102,9 +94,6 @@ on post-fs-data
|
||||
chmod 0664 /sys/module/qpnp_smbcharger_mmi/parameters/eb_low_stop_soc
|
||||
chmod 0664 /sys/module/qpnp_smbcharger_mmi/parameters/eb_on_sw
|
||||
|
||||
chown root oem_5020 /sys/class/power_supply/usb/usb_priority
|
||||
chmod 0660 /sys/class/power_supply/usb/usb_priority
|
||||
|
||||
# Sensor Hub calibration data directory
|
||||
mkdir /data/misc/sensorhub 0770 system compass
|
||||
|
||||
@@ -121,9 +110,6 @@ on post-fs-data
|
||||
mkdir /data/wapi_certificate 0750 system wifi
|
||||
chown system wifi /data/wapi_certificate
|
||||
|
||||
# Create greybus firmware folder
|
||||
mkdir /data/gbfirmware 0770 oem_5020 oem_5020
|
||||
|
||||
# Create bug2go folder
|
||||
mkdir /data/bug2go 0770 log log
|
||||
|
||||
|
||||
@@ -293,51 +293,6 @@
|
||||
/dev/hidraw0 0660 root oem_5004
|
||||
/dev/hidraw1 0660 root oem_5004
|
||||
|
||||
# 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
|
||||
|
||||
# RAW device
|
||||
/dev/gbraw* 0660 root oem_5020
|
||||
# Audio device
|
||||
/sys/devices/platform/mods_codec.0 uevent 0660 root oem_5020
|
||||
/sys/devices/platform/mods_codec.0/* uevent 0660 root oem_5020
|
||||
|
||||
# MOD camera device
|
||||
/dev/mot_camera_ext* 0660 system camera
|
||||
/sys/devices/virtual/video4linux/mot_camera_ext* open_mode 0660 system camera
|
||||
/sys/devices/virtual/video4linux/mot_camera_ext* uevent 0660 root oem_5020
|
||||
/sys/devices/virtual/video4linux/video* open_mode 0660 system camera
|
||||
/sys/devices/virtual/video4linux/video* uevent 0660 root oem_5020
|
||||
|
||||
# Laser device
|
||||
/dev/laser 0660 system camera
|
||||
|
||||
|
||||
Reference in New Issue
Block a user