From 97ef10a1aa9a2983e6e0e7cfe1fd60ee02bb6367 Mon Sep 17 00:00:00 2001 From: Lily Lin Date: Mon, 13 Jun 2022 20:05:02 +0800 Subject: [PATCH] Enable read/write access to st33spi_state for euiccpixel_app Bug: 231522746 Test: Confirm L10 can read/write st33spi_state Change-Id: Ib3cd744dd9c829ea8113e52b0befee77eed8567c --- conf/init.lynx.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index ffaec61..ac7632a 100644 --- a/conf/init.lynx.rc +++ b/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