From 3e425a47b9dab69704339c51feb6d3bcb9605614 Mon Sep 17 00:00:00 2001 From: Madhanraj Chelladurai Date: Wed, 5 Sep 2018 15:00:15 +0530 Subject: [PATCH] sanders: ueventd: add permission for gps component to read pps device GPS components make use of DR_SYNC pulse generated by GNSS hardware, which was received through pps device, hence require permission for reading this device Change-Id: I00bd3b8aa88059fb94338b6ba1d107d77c06a5e0 CRs-Fixed: 2299356 --- rootdir/etc/ueventd.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index e102884..f3fb48d 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -274,6 +274,9 @@ firmware_directories /vendor/firmware_mnt/image/ /sys/devices/virtual/input/input* gyro_range 0660 system input /sys/devices/virtual/input/input* gyro_value 0660 system input +# GNSS PPS Device premissions +/dev/pps* 0660 gps gps + # laser sensor access /sys/devices/virtual/input/input* enable_ps_sensor 0660 system input /sys/devices/virtual/input/input* set_delay_ms 0660 system input