Initial touch sysfs config. am: 840e751461
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/18156625 Change-Id: Ia85a3d885b4f6ce86b88a5b531f4a85d00f3e177 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
34e65c3678
1 changed files with 19 additions and 0 deletions
|
@ -37,6 +37,25 @@ on property:vendor.mfgapi.touchpanel.permission=1
|
||||||
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
|
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd
|
chown system system /sys/devices/virtual/sec/tsp/cmd
|
||||||
|
|
||||||
|
# Touch
|
||||||
|
on property:vendor.device.modules.ready=1
|
||||||
|
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/force_touch_active
|
||||||
|
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode
|
||||||
|
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_fw_history
|
||||||
|
chown system system /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_high_sensi_mode
|
||||||
|
|
||||||
|
on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=
|
||||||
|
write /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode 1
|
||||||
|
write /sys/devices/platform/exynos-drm/primary-panel/force_power_on 1
|
||||||
|
|
||||||
|
on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=1
|
||||||
|
write /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode 1
|
||||||
|
write /sys/devices/platform/exynos-drm/primary-panel/force_power_on 1
|
||||||
|
|
||||||
|
on property:vendor.all.modules.ready=1 && property:persist.sys.tap_gesture=0
|
||||||
|
write /sys/devices/platform/10d10000.spi/spi_master/spi0/spi0.0/input/nvt_touch/nvt_dttw_mode 0
|
||||||
|
write /sys/devices/platform/exynos-drm/primary-panel/force_power_on 0
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
chown system system /dev/goodix_fp
|
chown system system /dev/goodix_fp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue