clover: dt2w: move double tap to wake to new node
This commit is contained in:
parent
1f8694fcff
commit
c80c7e348c
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ include device/xiaomi/sdm660-common/PlatformConfig.mk
|
||||||
DEVICE_PATH := device/xiaomi/clover
|
DEVICE_PATH := device/xiaomi/clover
|
||||||
|
|
||||||
# DT2W
|
# DT2W
|
||||||
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode"
|
TARGET_TAP_TO_WAKE_NODE := "/proc/touchscreen/enable_dt2w"
|
||||||
|
|
||||||
# Kernel
|
# Kernel
|
||||||
TARGET_KERNEL_SOURCE := kernel/xiaomi/clover
|
TARGET_KERNEL_SOURCE := kernel/xiaomi/clover
|
||||||
|
|
|
@ -52,8 +52,8 @@ on boot
|
||||||
start macaddress_setup
|
start macaddress_setup
|
||||||
|
|
||||||
# Set permission for double tap to wake support
|
# Set permission for double tap to wake support
|
||||||
chown system system /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
chmod 0660 /proc/touchscreen/enable_dt2w
|
||||||
chmod 0660 /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
chown system system /proc/touchscreen/enable_dt2w
|
||||||
|
|
||||||
service macaddress_setup /vendor/bin/sh /vendor/bin/init.macaddress_setup.sh
|
service macaddress_setup /vendor/bin/sh /vendor/bin/init.macaddress_setup.sh
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Reference in a new issue