From 4c1a4595a1298b88773aa3f07cc51b1ac5cf2f7e 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 6b46d66..0ad6fa2 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -263,6 +263,9 @@ /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