2023-12-26 14:31:49 +08:00
|
|
|
on property:sys.boot_completed=1
|
2023-04-17 17:42:27 +00:00
|
|
|
# Sysfs
|
2023-04-25 18:10:12 +00:00
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/force_active
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/fw_ver
|
2023-09-18 16:47:04 -07:00
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/interactive_calibrate
|
|
|
|
chmod 666 /sys/devices/virtual/goog_touch_interface/gti.1/interactive_calibrate
|
2023-04-25 18:10:12 +00:00
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/panel_id
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/offload_id
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ms_base
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ms_diff
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ms_raw
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/self_test
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ss_base
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ss_diff
|
|
|
|
chown system system /sys/devices/virtual/goog_touch_interface/gti.1/ss_raw
|
2023-04-17 17:42:27 +00:00
|
|
|
|
|
|
|
# Procfs
|
2022-12-23 01:05:18 +00:00
|
|
|
chown system system /proc/goog_touch_interface
|
2023-04-25 18:10:12 +00:00
|
|
|
chown system system /proc/goog_touch_interface/gti.1
|
2023-06-27 06:08:01 +00:00
|
|
|
chown system system /proc/goog_touch_interface/gti.1/dump
|
2023-04-25 18:10:12 +00:00
|
|
|
chown system system /proc/goog_touch_interface/gti.1/ms_base
|
|
|
|
chown system system /proc/goog_touch_interface/gti.1/ms_diff
|
|
|
|
chown system system /proc/goog_touch_interface/gti.1/ms_raw
|
|
|
|
chown system system /proc/goog_touch_interface/gti.1/ss_base
|
|
|
|
chown system system /proc/goog_touch_interface/gti.1/ss_diff
|
|
|
|
chown system system /proc/goog_touch_interface/gti.1/ss_raw
|
2024-03-26 00:50:43 +00:00
|
|
|
|
|
|
|
on property:vendor.touch.gti1.ical=*
|
|
|
|
setprop vendor.touch.gti1.ical.state init
|
|
|
|
start touch_gti1_ical
|
|
|
|
wait_for_prop vendor.touch.gti1.ical.state done
|
|
|
|
|
|
|
|
service touch_gti1_ical /vendor/bin/touch_gti_ical 1 ${vendor.touch.gti1.ical}
|
|
|
|
class main
|
|
|
|
user system
|
|
|
|
group system shell
|
|
|
|
disabled
|
|
|
|
oneshot
|