Prechádzať zdrojové kódy

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

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

Change-Id: I655811d259c382815035a1a511f066b7b6fcdbee
Signed-off-by: Automerger Merge Worker <[email protected]>
Wendly Li 2 rokov pred
rodič
commit
4644d5b063
1 zmenil súbory, kde vykonal 12 pridanie a 0 odobranie
  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