Dump touch info for multiple panel support am: 23b2692172 am: 1836e4efee

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22817176

Change-Id: I489ac31c022ce8e8951dbb0fcdf23d0d533b8cbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Wendly Li 2023-05-08 18:20:38 +00:00 committed by Automerger Merge Worker
commit 94800b3c98
2 changed files with 20 additions and 0 deletions

View file

@ -14,6 +14,12 @@ echo 1 > $path/force_active
echo "------ Touch Firmware Version ------"
cat $path/fw_ver
echo "------ Panel ID ------"
cat $path/panel_id
echo "------ Offload ID ------"
cat $path/offload_id
echo "------ Get Mutual Sensing Data - Baseline ------"
cat $heatmap_path/ms_base

View file

@ -1,4 +1,18 @@
on property:vendor.device.modules.ready=1
# Sysfs
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/force_active
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/fw_ver
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/panel_id
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/offload_id
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_base
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_diff
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_raw
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/self_test
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_base
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_diff
chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_raw
# Procfs
chown system system /proc/goog_touch_interface
chown system system /proc/goog_touch_interface/gti.0
chown system system /proc/goog_touch_interface/gti.0/ms_base