dumpstate: update the nvt touch path. am: 40429a7aef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17341925 Change-Id: I2290503271914dfa6ec272498a144f55b1b82144
This commit is contained in:
commit
bcf1ad31a0
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_result
|
||||
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/devices/virtual/input/nvt_touch/nvt_dttw_mode
|
||||
chown system system /sys/class/spi_master/spi11/spi11.0/input/nvt_touch/force_touch_active
|
||||
chown system system /sys/class/spi_master/spi11/spi11.0/input/nvt_touch/nvt_dttw_mode
|
||||
# Allow access to touch
|
||||
chown system input /dev/touch_offload
|
||||
chmod 660 /dev/touch_offload
|
||||
|
|
|
@ -517,7 +517,7 @@ void DumpstateDevice::dumpThermalSection(int fd) {
|
|||
|
||||
// Dump items related to touch
|
||||
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];
|
||||
|
||||
/* NVT touch */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue