bangkk: rootdir: Adjust touch gesture permissions
Change-Id: I2c096d1689844e33cb7f01824a9f186d816f10fe
This commit is contained in:
parent
cd2b9bb029
commit
95f554202f
1 changed files with 3 additions and 7 deletions
|
@ -1,13 +1,6 @@
|
|||
# sec_nfc
|
||||
import /vendor/etc/init/hw/init.nfc.sec.rc
|
||||
|
||||
on post-fs
|
||||
# "Tap to wake" gesture
|
||||
chown root input /sys/class/sensors/dt-gesture/enable
|
||||
chmod 0660 /sys/class/sensors/dt-gesture/enable
|
||||
chown root input /sys/class/sensors/dt-gesture/poll_delay
|
||||
chmod 0660 /sys/class/sensors/dt-gesture/poll_delay
|
||||
|
||||
on post-fs
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/clkgate_enable
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/devfreq/4804000.ufshc/min_freq
|
||||
|
@ -87,6 +80,9 @@ on boot
|
|||
chown root input /sys/class/sensors/Moto\ CapSense\ Ch3/poll_delay
|
||||
chown root input /sys/class/sensors/Moto\ CapSense\ Ch4/enable
|
||||
chown root input /sys/class/sensors/Moto\ CapSense\ Ch4/poll_delay
|
||||
# Change ownership for touch gesture
|
||||
chown root input /sys/class/sensors/dt-gesture/enable
|
||||
chown root input /sys/class/sensors/dt-gesture/poll_delay
|
||||
# touch
|
||||
chown system system /sys/class/touchscreen/primary/interpolation
|
||||
chmod 0660 /sys/class/touchscreen/primary/interpolation
|
||||
|
|
Loading…
Reference in a new issue