dumpstate: stop dumping pretouch status.
Somehow FW will be unstable after dumping status. Temporarily remove this to find out the root cause with vendor. Bug: 193467774 Test: lshal debug android.hardware.dumpstate@1.0::IDumpstateDevice/default pre-touch Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: I670558f30f9d809a8f9df41e4844ee451c7f3f17
This commit is contained in:
parent
41c75ffb57
commit
7dc7b5ff1d
1 changed files with 2 additions and 0 deletions
|
@ -516,6 +516,7 @@ void DumpstateDevice::dumpPreTouchSection(int fd) {
|
||||||
if (!access(cmd, R_OK))
|
if (!access(cmd, R_OK))
|
||||||
DumpFileToFd(fd, "FW version", cmd);
|
DumpFileToFd(fd, "FW version", cmd);
|
||||||
|
|
||||||
|
#if 0 /* b/193467774: remove this temporarily */
|
||||||
snprintf(cmd, sizeof(cmd), "/proc/nvt_diff");
|
snprintf(cmd, sizeof(cmd), "/proc/nvt_diff");
|
||||||
if (!access(cmd, R_OK))
|
if (!access(cmd, R_OK))
|
||||||
DumpFileToFd(fd, "Diff", cmd);
|
DumpFileToFd(fd, "Diff", cmd);
|
||||||
|
@ -523,6 +524,7 @@ void DumpstateDevice::dumpPreTouchSection(int fd) {
|
||||||
snprintf(cmd, sizeof(cmd), "%s/nvt_fw_history", nvt_spi_path);
|
snprintf(cmd, sizeof(cmd), "%s/nvt_fw_history", nvt_spi_path);
|
||||||
if (!access(nvt_spi_path, R_OK))
|
if (!access(nvt_spi_path, R_OK))
|
||||||
DumpFileToFd(fd, "FW History", cmd);
|
DumpFileToFd(fd, "FW History", cmd);
|
||||||
|
#endif
|
||||||
|
|
||||||
snprintf(cmd, sizeof(cmd),
|
snprintf(cmd, sizeof(cmd),
|
||||||
"echo %s > %s/%s",
|
"echo %s > %s/%s",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue