dumpstate: show touch HDM debug info

Bug: 187174041
Test: trigger a bug report.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I0bd8329f087391c95447e015be6f576a4ecbb3e2
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 10bee54..235c5fb 100644
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -564,6 +564,12 @@
                      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]);