Dump touch info for multiple panel support am: 23b2692172

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

Change-Id: I7dc3db54ae05f672bb8214a1bd03eabbf3fe6f2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Wendly Li 2023-05-08 21:07:27 +00:00 committed by Automerger Merge Worker
commit 2378b8e3f4
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