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:
commit
4266059b87
1 changed files with 6 additions and 0 deletions
|
@ -564,6 +564,12 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
||||||
stm_cmd_path[i + 1], stm_cmd_path[i + 1]);
|
stm_cmd_path[i + 1], stm_cmd_path[i + 1]);
|
||||||
RunCommandToFd(fd, "Packaging Plant - Read 16 bytes from Address 0x00041FD8",
|
RunCommandToFd(fd, "Packaging Plant - Read 16 bytes from Address 0x00041FD8",
|
||||||
{"/vendor/bin/sh", "-c", cmd});
|
{"/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]);
|
snprintf(cmd, sizeof(cmd), "%s/stm_fts_cmd", stm_cmd_path[i]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue