dumpstate: update the nvt touch path.
Bug: 219602920 Test: TH build pass. Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: I9f97cef742e16ee357bc5b872180682520602c76
This commit is contained in:
parent
278c90473b
commit
40429a7aef
2 changed files with 3 additions and 3 deletions
|
@ -660,8 +660,8 @@ on property:vendor.device.modules.ready=1
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd
|
chown system system /sys/devices/virtual/sec/tsp/cmd
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd_result
|
chown system system /sys/devices/virtual/sec/tsp/cmd_result
|
||||||
chown system system /sys/devices/virtual/sec/tsp/status
|
chown system system /sys/devices/virtual/sec/tsp/status
|
||||||
chown system system /sys/devices/virtual/input/nvt_touch/force_touch_active
|
chown system system /sys/class/spi_master/spi11/spi11.0/input/nvt_touch/force_touch_active
|
||||||
chown system system /sys/devices/virtual/input/nvt_touch/nvt_dttw_mode
|
chown system system /sys/class/spi_master/spi11/spi11.0/input/nvt_touch/nvt_dttw_mode
|
||||||
# Allow access to touch
|
# Allow access to touch
|
||||||
chown system input /dev/touch_offload
|
chown system input /dev/touch_offload
|
||||||
chmod 660 /dev/touch_offload
|
chmod 660 /dev/touch_offload
|
||||||
|
|
|
@ -517,7 +517,7 @@ void DumpstateDevice::dumpThermalSection(int fd) {
|
||||||
|
|
||||||
// Dump items related to touch
|
// Dump items related to touch
|
||||||
void DumpstateDevice::dumpPreTouchSection(int fd) {
|
void DumpstateDevice::dumpPreTouchSection(int fd) {
|
||||||
const char nvt_spi_path[] = "/sys/devices/virtual/input/nvt_touch";
|
const char nvt_spi_path[] = "/sys/class/spi_master/spi11/spi11.0/input/nvt_touch";
|
||||||
char cmd[256];
|
char cmd[256];
|
||||||
|
|
||||||
/* NVT touch */
|
/* NVT touch */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue