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

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

Change-Id: Ibc4b96ad2edf741e234f3e04928931f9f92669d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-07-03 03:20:21 +00:00 committed by Automerger Merge Worker
commit d4fce61381
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