From 41c75ffb573838cdff83e39a5dc1a3dd0e6c83a0 Mon Sep 17 00:00:00 2001 From: Super Liu Date: Wed, 10 Nov 2021 11:05:12 +0800 Subject: [PATCH] init.gs101.rc: adjust the sysfs permission for touch. Bug: 193467774 Test: check bugreport for touch pre-logs. Signed-off-by: Super Liu Change-Id: Iccf138fd891fd54bf22a56e8ed57643ef4d7d384 --- conf/init.gs101.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index c9d59ee0..cd207c75 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -646,6 +646,7 @@ on property:vendor.device.modules.ready=1 chown system system /sys/devices/virtual/sec/tsp/cmd chown system system /sys/devices/virtual/sec/tsp/cmd_result chown system system /sys/devices/virtual/sec/tsp/status + chown system system /sys/devices/virtual/input/nvt_touch/force_touch_active # Allow access to touch chown system input /dev/touch_offload chmod 660 /dev/touch_offload