Skip to content

Commit

Permalink
daisy: give proper permissions for /dev/diag
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
BadDaemon authored and V1t0rrr committed Jul 20, 2021
1 parent 70ea256 commit 12a76f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rootdir/etc/init.daisy.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12a76f4

Please sign in to comment.