summaryrefslogtreecommitdiff
path: root/vibrator/drv2624/apex/com.android.vibrator.drv2624.enable.rc
diff options
context:
space:
mode:
Diffstat (limited to 'vibrator/drv2624/apex/com.android.vibrator.drv2624.enable.rc')
-rw-r--r--vibrator/drv2624/apex/com.android.vibrator.drv2624.enable.rc29
1 files changed, 0 insertions, 29 deletions
diff --git a/vibrator/drv2624/apex/com.android.vibrator.drv2624.enable.rc b/vibrator/drv2624/apex/com.android.vibrator.drv2624.enable.rc
deleted file mode 100644
index d9b79f08..00000000
--- a/vibrator/drv2624/apex/com.android.vibrator.drv2624.enable.rc
+++ /dev/null
@@ -1,29 +0,0 @@
-on boot
- wait /sys/class/leds/vibrator/device
-
- mkdir /mnt/vendor/persist/haptics 0770 system system
- chmod 770 /mnt/vendor/persist/haptics
- chmod 440 /mnt/vendor/persist/haptics/drv2624.cal
- chown system system /mnt/vendor/persist/haptics
- chown system system /mnt/vendor/persist/haptics/drv2624.cal
-
- write /sys/class/leds/vibrator/trigger transient
- chown system system /sys/class/leds/vibrator/activate
- chown system system /sys/class/leds/vibrator/brightness
- chown system system /sys/class/leds/vibrator/duration
- chown system system /sys/class/leds/vibrator/state
-
- chown system system /sys/class/leds/vibrator/device/autocal
- chown system system /sys/class/leds/vibrator/device/autocal_result
- chown system system /sys/class/leds/vibrator/device/ctrl_loop
- chown system system /sys/class/leds/vibrator/device/lp_trigger_effect
- chown system system /sys/class/leds/vibrator/device/lp_trigger_scale
- chown system system /sys/class/leds/vibrator/device/lra_wave_shape
- chown system system /sys/class/leds/vibrator/device/mode
- chown system system /sys/class/leds/vibrator/device/od_clamp
- chown system system /sys/class/leds/vibrator/device/ol_lra_period
- chown system system /sys/class/leds/vibrator/device/rtp_input
- chown system system /sys/class/leds/vibrator/device/scale
- chown system system /sys/class/leds/vibrator/device/set_sequencer
-
- enable vendor.vibrator.drv2624