clover: dt2w: move double tap to wake to new node

This commit is contained in:
Max Weffers 2019-01-10 17:45:20 +01:00
parent 1f8694fcff
commit c80c7e348c
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ include device/xiaomi/sdm660-common/PlatformConfig.mk
DEVICE_PATH := device/xiaomi/clover
# 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
TARGET_KERNEL_SOURCE := kernel/xiaomi/clover

View file

@ -52,8 +52,8 @@ on boot
start macaddress_setup
# 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 /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
chmod 0660 /proc/touchscreen/enable_dt2w
chown system system /proc/touchscreen/enable_dt2w
service macaddress_setup /vendor/bin/sh /vendor/bin/init.macaddress_setup.sh
class main