From 9fb2f8e0b859fe31e5efa7e776149dfe30e13bfa Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Fri, 10 Apr 2020 22:38:03 +0530 Subject: [PATCH] kunlun2: Update tap to wake node Signed-off-by: SamarV-121 --- BoardConfig.mk | 2 +- rootdir/etc/init.qcom.rc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 42c2038..b6796f5 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -58,7 +58,7 @@ BOARD_HAS_QCA_FM_SOC := "cherokee" DEVICE_FRAMEWORK_MANIFEST_FILE := $(DEVICE_PATH)/framework_manifest.xml # Power -TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/double_tap_enable" +TARGET_TAP_TO_WAKE_NODE := "/sys/class/touch/tp_dev/gesture_on" TARGET_USES_INTERACTION_BOOST := true # Partitions diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 5c92876..3d7af1a 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -20,8 +20,8 @@ on property:sys.boot_completed=1 on boot # Touchscreen - chown system system /proc/touchpanel/double_tap_enable - chown 0660 /proc/touchpanel/double_tap_enable + chown system system /sys/class/touch/tp_dev/gesture_on + chown 0660 /sys/class/touch/tp_dev/gesture_on service cvphalservice /system/bin/true disabled