Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 1 | # Raven specific init.rc |
| 2 | import /vendor/etc/init/hw/init.gs101.rc |
Robin Peng | 334022f | 2021-05-05 12:01:32 +0800 | [diff] [blame] | 3 | import /vendor/etc/init/hw/init.raviole.rc |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 4 | |
| 5 | on init |
| 6 | # logbuffer |
| 7 | chown system system /dev/logbuffer_5-0057 |
| 8 | # register/nvmem dump |
| 9 | chown system system /d/regmap/6-0036/registers |
| 10 | chown system system /sys/bus/nvmem/devices/5-00500/nvmem |
| 11 | |
Benjamin Schwartz | eeaf5ea | 2021-04-14 14:49:31 -0700 | [diff] [blame] | 12 | # Power Stats HAL |
| 13 | chown system system /sys/devices/platform/10d30000.spi/spi_master/spi10/spi10.0/uwb/power_stats |
| 14 | |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 15 | on fs |
Ilya Matyukhin | a6dca6e | 2021-03-08 18:48:57 -0800 | [diff] [blame] | 16 | # Face |
Ilya Matyukhin | 98d9dd1 | 2021-03-16 20:17:14 -0700 | [diff] [blame] | 17 | exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app |
Ilya Matyukhin | a6dca6e | 2021-03-08 18:48:57 -0800 | [diff] [blame] | 18 | |
gillianlin | 0a5b5bb | 2021-03-31 23:53:04 +0800 | [diff] [blame] | 19 | on property:vendor.mfgapi.touchpanel.permission=1 |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 20 | chmod 0600 /sys/devices/virtual/sec/tsp/cmd |
| 21 | chown system system /sys/devices/virtual/sec/tsp/cmd |
Tai Kuo | 7c202b2 | 2021-03-12 16:30:19 +0800 | [diff] [blame] | 22 | |
| 23 | # Toggle glove_mode according to touch_sensitivity_mode |
| 24 | on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 |
| 25 | write /sys/devices/virtual/sec/tsp/cmd "glove_mode,0" |
| 26 | |
| 27 | on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 |
| 28 | write /sys/devices/virtual/sec/tsp/cmd "glove_mode,1" |
Ted Wang | 866b981 | 2021-04-14 19:10:54 +0800 | [diff] [blame^] | 29 | |
| 30 | # Bluetooth |
| 31 | on post-fs-data |
| 32 | chown bluetooth system /proc/bluetooth/timesync |