mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-02-01 05:34:34 +00:00
redfin: dumpstate: collect touch calibration info
Bug: 145262526 Test: check bugreport for touch snapshots Change-Id: I0760eafcd0b9a395a00112eb7f9b7fc280945e91
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user