dumpstate: show touch HDM debug info am: ed38dde296

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14964816

Change-Id: I66977cbfd1c8a775d0202e8047cc37f9821180de
This commit is contained in:
Tai Kuo 2021-06-15 10:19:14 +00:00 committed by Automerger Merge Worker
commit 4266059b87

View file

@ -564,6 +564,12 @@ void DumpstateDevice::dumpTouchSection(int fd) {
stm_cmd_path[i + 1], stm_cmd_path[i + 1]);
RunCommandToFd(fd, "Packaging Plant - Read 16 bytes from Address 0x00041FD8",
{"/vendor/bin/sh", "-c", cmd});
snprintf(cmd, sizeof(cmd),
"echo 01 A4 06 C3 > %s; echo 02 A7 00 00 00 20 00 > %s && cat %s",
stm_cmd_path[i + 1], stm_cmd_path[i + 1], stm_cmd_path[i + 1]);
RunCommandToFd(fd, "HDM debug information (32 bytes)",
{"/vendor/bin/sh", "-c", cmd});
}
snprintf(cmd, sizeof(cmd), "%s/stm_fts_cmd", stm_cmd_path[i]);