Parcourir la source

Enable read/write access to st33spi_state for euiccpixel_app

Bug: 231522746
Test: Confirm L10 can read/write st33spi_state
Change-Id: Ib3cd744dd9c829ea8113e52b0befee77eed8567c
Lily Lin il y a 2 ans
Parent
commit
97ef10a1aa
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      conf/init.lynx.rc

+ 5 - 0
conf/init.lynx.rc

@@ -38,6 +38,11 @@ on post-fs-data
     chown system system /dev/goodix_fp
     exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
 
+# Allow secure_element group to read / write ST33 SPI state
+on post-fs-data
+    chown secure_element secure_element  /sys/class/st33spi/st33spi/st33spi_state
+    chmod 0660  /sys/class/st33spi/st33spi/st33spi_state
+
 # Wifi
 on property:sys.boot_completed=1
     write /sys/bus/platform/drivers/cnss2/qcom,cnss-qca6490/fs_ready 1