From 96f1dceb8f8306b2c139048b16787f7768f12883 Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Mon, 17 Oct 2022 11:28:39 +0200 Subject: [PATCH] sm7125-common: touch: Correct touchscreen permissions and move to early-init * Our touch HAL needs read permissions on that Change-Id: Icce27bac1cc2c2909f1a464ddb9fd42862db5a98 --- touch/vendor.lineage.touch@1.0-service.sm7125.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/touch/vendor.lineage.touch@1.0-service.sm7125.rc b/touch/vendor.lineage.touch@1.0-service.sm7125.rc index 50fe9d8..7c2f4e1 100644 --- a/touch/vendor.lineage.touch@1.0-service.sm7125.rc +++ b/touch/vendor.lineage.touch@1.0-service.sm7125.rc @@ -1,3 +1,7 @@ +on early-init + chown system radio /sys/class/sec/tsp/cmd + chmod 0664 /sys/class/sec/tsp/cmd + service vendor.touch-hal-1-0 /vendor/bin/hw/vendor.lineage.touch@1.0-service.sm7125 class hal user system