dumpstate: update the nvt touch path. am: 40429a7aef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17341925 Change-Id: I3ffc21f1f394d1cf75e445ef85fec70a248b940c
This commit is contained in:
commit
6b505a8520
2 changed files with 3 additions and 3 deletions
|
@ -659,8 +659,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