summaryrefslogtreecommitdiff
path: root/rootdir/init.platform-common.rc
blob: 58a30631de154d220482ee57278c8892b3956951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
on boot
    # Touch
    chown system system /sys/devices/virtual/input/clearpad/wakeup_gesture
    chown system system /sys/devices/virtual/input/max1187x/wakeup_gesture

    # Glove input
    chown system system /sys/devices/virtual/input/clearpad/glove
    chown system system /sys/devices/virtual/input/max1187x/glove
    chmod 0660 /sys/devices/virtual/input/clearpad/glove
    chmod 0660 /sys/devices/virtual/input/max1187x/glove

# TFA9890 AMP
service tfa9890_amp /system/bin/tfa9890_amp
    class late_start
    user root
    group root
    oneshot