From db5c3c13f57eba5e2c71aa922fb7a93a081c5ad3 Mon Sep 17 00:00:00 2001 From: Bingzhe Cai Date: Tue, 28 Oct 2014 21:59:20 +0800 Subject: [PATCH] ueventd.qcom.rc: fix sensor node permission for msm8909 Sensors are connected to different I2C bus on msm8909, this change add new rules to fix up permissions of sensor nodes, this allows sensor HAL to control sensors correctly. Change-Id: I1647ed1e0ca812df40140f865bcdd2ed56a12a28 --- rootdir/etc/ueventd.qcom.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 8c502db3..e57d3ada 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -180,6 +180,12 @@ /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system +/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system /sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system /sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system /sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system