rosemary: rootdir: Bring up fingerprint chowns

Change-Id: Ifa7259b2cb6411ff486226ac492ff1b98376df9e
This commit is contained in:
Matsvei Niaverau
2022-12-27 12:33:47 +00:00
parent 149a4add83
commit d9772fa399

View File

@@ -464,6 +464,9 @@ on post-fs-data
#Fingerprint
chmod 0666 /dev/goodix_fp
mkdir /data/vendor/fpc 0777 system system
mkdir /data/vendor/goodix 0777 system system
#VideoCodec
chmod 0660 /dev/vcu
@@ -1012,6 +1015,16 @@ on boot
chown system system /sys/touchpanel/double_tap
chmod 0660 /sys/touchpanel/double_tap
# Fingerprint
chown system system /sys/devices/platform/1100a000.spi0/spi_master/spi0/spi0.0/irq
chown system system /sys/devices/platform/1100a000.spi0/spi_master/spi0/spi0.0/wakeup_enable
chown system system /sys/devices/platform/1100a000.spi0/spi_master/spi0/spi0.0/modalias
chown system system /sys/devices/platform/1100a000.spi0/spi_master/spi0/spi0.0/clk_enable
chown system system /sys/devices/platform/1100a000.spi0/spi_master/spi0/spi0.0/authen_fd/performance
chmod 0644 /dev/goodix_fp
chown system system /dev/goodix_fp
# Stop bootprof
on property:sys.boot_completed=1
write /proc/bootprof "0"