diff options
| author | PL125 <pedroloureiro1@sapo.pt> | 2017-04-12 22:10:21 -0400 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2017-08-15 16:29:25 -0400 |
| commit | dd4db5cf3729ac2352b7921111c526791c9c7440 (patch) | |
| tree | 3d22512247f14ebb163c6f5e612d98c0e73ce8ab | |
| parent | 1293f88a127bba828d7d5d87c70d754fc09afeb1 (diff) | |
w7: fix rotation when using bosch sensor driver
Change-Id: Ie7245ed75657550eda446264db2c2c82bcc65b55
| -rw-r--r-- | rootdir/init.qcom.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index ddafee3..2d6c154 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -65,6 +65,10 @@ on post-fs chmod 0660 /sys/devices/virtual/graphics/fb0/rgb chmod 0660 /sys/devices/virtual/graphics/fb0/kcal + #Proximity sensor + chown system system /sys/class/input/event5/device/enable + chmod 0660 /sys/class/input/event5/device/enable + on early-boot # set RLIMIT_MEMLOCK to 64MB setrlimit 8 67108864 67108864 |
