Преглед на файлове

touch: change touch sysfs node ownership for dumpstate am: e61c8498e6 am: 4644d5b063

Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19465014

Change-Id: If15c20f57603682ffb4b6f7ecf4b43a01bae9a9c
Signed-off-by: Automerger Merge Worker <[email protected]>
Wendly Li преди 2 години
родител
ревизия
8409956991
променени са 1 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 12 0
      conf/init.lynx.rc

+ 12 - 0
conf/init.lynx.rc

@@ -77,3 +77,15 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
 
 on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
     write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1
+
+# Touch
+on property:vendor.device.modules.ready=1
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/force_active
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/fw_ver
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_base
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_diff
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_raw
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/self_test
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_base
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_diff
+    chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_raw