dumpstate: show touch HDM debug info
Bug: 187174041 Test: trigger a bug report. Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: I0bd8329f087391c95447e015be6f576a4ecbb3e2
This commit is contained in:
parent
283a690993
commit
ca8a4cc11d
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