redfin: dumpstate: collect touch calibration info
Bug: 145262526 Test: check bugreport for touch snapshots Change-Id: I0760eafcd0b9a395a00112eb7f9b7fc280945e91
This commit is contained in:
parent
224f68b3b5
commit
7f3d415097
|
@ -274,7 +274,14 @@ static void DumpTouch(int fd) {
|
|||
snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path);
|
||||
DumpFileToFd(fd, "LSI touch status", cmd);
|
||||
|
||||
//Mutual strength
|
||||
//Calibration info
|
||||
snprintf(cmd, sizeof(cmd),
|
||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||
"get_mis_cal_info",
|
||||
touch_spi_path, touch_spi_path);
|
||||
RunCommandToFd(fd, "Calibration info", {"/vendor/bin/sh", "-c", cmd});
|
||||
|
||||
//Mutual strength
|
||||
snprintf(cmd, sizeof(cmd),
|
||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||
"run_delta_read_all",
|
||||
|
|
Loading…
Reference in New Issue