Merge "dump_gti: Add procfs dump logs" into udc-d1-dev am: 012b36b172 am: d17e9813c1

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

Change-Id: I9e738d0871231dba9df9dd5082e621ce427762b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-07-03 02:29:27 +00:00 committed by Automerger Merge Worker
commit 9f6aa7e1da
4 changed files with 12 additions and 0 deletions

View file

@ -41,5 +41,10 @@ cat $heatmap_path/ss_raw
echo "------ Self Test ------"
cat $path/self_test
if [[ -f "${procfs_path}/dump" ]]; then
echo "------ Dump ------"
cat ${procfs_path}/dump
fi
echo "------ Disable Force Touch Active ------"
echo 0 > $path/force_active

View file

@ -41,5 +41,10 @@ cat $heatmap_path/ss_raw
echo "------ Self Test ------"
cat $path/self_test
if [[ -f "${procfs_path}/dump" ]]; then
echo "------ Dump ------"
cat ${procfs_path}/dump
fi
echo "------ Disable Force Touch Active ------"
echo 0 > $path/force_active

View file

@ -15,6 +15,7 @@ on property:vendor.device.modules.ready=1
# 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/dump
chown system system /proc/goog_touch_interface/gti.0/ms_base
chown system system /proc/goog_touch_interface/gti.0/ms_diff
chown system system /proc/goog_touch_interface/gti.0/ms_raw

View file

@ -15,6 +15,7 @@ on property:vendor.device.modules.ready=1
# Procfs
chown system system /proc/goog_touch_interface
chown system system /proc/goog_touch_interface/gti.1
chown system system /proc/goog_touch_interface/gti.1/dump
chown system system /proc/goog_touch_interface/gti.1/ms_base
chown system system /proc/goog_touch_interface/gti.1/ms_diff
chown system system /proc/goog_touch_interface/gti.1/ms_raw