diff options
-rw-r--r-- | rootdir/init.device-common.rc | 22 | ||||
-rw-r--r-- | rootdir/init.qcom.rc | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/rootdir/init.device-common.rc b/rootdir/init.device-common.rc new file mode 100644 index 0000000..775f981 --- /dev/null +++ b/rootdir/init.device-common.rc @@ -0,0 +1,22 @@ +on boot + # PM8941 flash + chown media system /sys/class/misc/pm8941-flash/device/current1 + chown media system /sys/class/misc/pm8941-flash/device/current2 + chown media system /sys/class/misc/pm8941-flash/device/fault_status + chown media system /sys/class/misc/pm8941-flash/device/fine_current1 + chown media system /sys/class/misc/pm8941-flash/device/fine_current2 + chown media system /sys/class/misc/pm8941-flash/device/flash_timer + chown media system /sys/class/misc/pm8941-flash/device/mask_clamp_current + chown media system /sys/class/misc/pm8941-flash/device/mask_enable + chown media system /sys/class/misc/pm8941-flash/device/max_current + chown media system /sys/class/misc/pm8941-flash/device/mode + chown media system /sys/class/misc/pm8941-flash/device/startup_delay + chown media system /sys/class/misc/pm8941-flash/device/strobe + chown media system /sys/class/misc/pm8941-flash/device/vph_pwr_droop + + # Touch + chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture + + # Glove input + chown system system /sys/devices/virtual/input/clearpad/glove + chmod 0660 /sys/devices/virtual/input/clearpad/glove diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index d3bb53a..fb4bd2f 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -15,7 +15,7 @@ # limitations under the License. # -import /init.device.rc +import /init.device-common.rc import /init.sony.usb.rc import /init.qcom.power.rc import /init.camera.rc |