From 12a76f422a3bfc7577d54f2c1f38c467a5558e0a Mon Sep 17 00:00:00 2001 From: Michael W Date: Tue, 20 Jul 2021 18:34:59 +0000 Subject: [PATCH] daisy: give proper permissions for /dev/diag * This gives proper permission to /dev/diag node so that diag driver can load successfully * Logs spam with error '-13' which basically translates to access denied/invalid permission. * Fix this by giving system read and write access. Before in log: Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13 --- rootdir/etc/init.daisy.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/etc/init.daisy.rc b/rootdir/etc/init.daisy.rc index 37f1b8e1..377ad860 100644 --- a/rootdir/etc/init.daisy.rc +++ b/rootdir/etc/init.daisy.rc @@ -25,6 +25,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # +on init + # Change permissions for /dev/diag + chmod 0666 /dev/diag + on boot # add for goodix chown system system /dev/goodix_fp