android_device_xiaomi_sm835.../fingerprint/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350.rc

30 lines
1.5 KiB
Plaintext
Raw Normal View History

on init
chown system system /dev/goodix_fp
on boot
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/irq
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/irq_enable
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/wakeup_enable
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/hw_reset
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/device_prepare
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/fingerdown_wait
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/vendor
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/request_vreg
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/simulate_irq
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/finger_irq
chown system system /sys/bus/platform/devices/soc:fingerprint_fpc/power_cfg
on post-fs-data
mkdir /data/vendor/fpc 0770 system system
mkdir /data/vendor/goodix 0770 system system
mkdir /mnt/vendor/persist/goodix 0770 system system
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.
class late_start
user system
group system input uhid
writepid /dev/cpuset/system-background/tasks