blob: 11536e2e3a9b6fe3c96ce6a93da56c64bed8df67 [file] [log] [blame]
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04001# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are met:
5# * Redistributions of source code must retain the above copyright
6# notice, this list of conditions and the following disclaimer.
7# * Redistributions in binary form must reproduce the above copyright
8# notice, this list of conditions and the following disclaimer in the
9# documentation and/or other materials provided with the distribution.
10# * Neither the name of The Linux Foundation nor
11# the names of its contributors may be used to endorse or promote
12# products derived from this software without specific prior written
13# permission.
14#
15# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
19# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27
28# the DIAG device node is not world writable/readable.
29/dev/diag 0660 system qcom_diag
30
31/dev/genlock 0666 system system
32/dev/kgsl 0666 system system
33/dev/kgsl-3d0 0666 system system
34/dev/kgsl-2d0 0666 root root
35/dev/kgsl-2d1 0666 root root
36/dev/ion 0664 system system
37/dev/rtc0 0600 system system
38/dev/smd0 0660 system system
39/dev/smd4 0660 system system
40/dev/smd_cxm_qmi 0640 radio radio
Zvikomborero VIncent Zvikarambac3a952c2016-08-30 19:47:29 -040041/dev/qmi 0640 radio radio
42/dev/qmi0 0640 radio radio
43/dev/qmi1 0640 radio radio
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040044/dev/smd5 0660 system system
45/dev/smd6 0660 system system
46/dev/smd7 0660 bluetooth bluetooth
47/dev/ccid_bridge 0660 system system
48/dev/ipa 0660 net_admin net_admin
49/dev/wwan_ioctl 0660 net_admin net_admin
50/dev/ipaNatTable 0660 net_admin net_admin
51
52#permissions for CSVT
53/dev/smd11 0660 radio radio
Zvikomborero VIncent Zvikarambac3a952c2016-08-30 19:47:29 -040054/dev/ttyHSL0 0660 root radio
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040055/dev/radio0 0640 system system
56/dev/rfcomm0 0660 bluetooth bluetooth
57/dev/ttyUSB0 0660 bluetooth bluetooth
58/dev/smdcntl0 0640 radio radio
59/dev/smdcntl1 0640 radio radio
60/dev/smdcntl2 0640 radio radio
61/dev/smdcntl3 0640 radio radio
62/dev/smdcntl4 0640 radio radio
63/dev/smdcntl5 0640 radio radio
64/dev/smdcntl6 0640 radio radio
65/dev/smdcntl7 0640 radio radio
66/dev/smdcntl8 0640 radio radio
Zvikomborero VIncent Zvikarambaf6c8a1d2016-08-30 05:54:56 -040067/dev/smdcntl9 0640 radio radio
68/dev/smdcntl10 0640 radio radio
69/dev/smdcntl11 0640 radio radio
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040070/dev/smdcnt_rev0 0640 radio radio
71/dev/smdcnt_rev1 0640 radio radio
72/dev/smdcnt_rev2 0640 radio radio
73/dev/smdcnt_rev3 0640 radio radio
74/dev/smdcnt_rev4 0640 radio radio
75/dev/smdcnt_rev5 0640 radio radio
76/dev/smdcnt_rev6 0640 radio radio
77/dev/smdcnt_rev7 0640 radio radio
78/dev/smdcnt_rev8 0640 radio radio
79/dev/smuxctl32 0640 radio radio
80/dev/sdioctl0 0640 radio radio
81/dev/sdioctl1 0640 radio radio
82/dev/sdioctl2 0640 radio radio
83/dev/sdioctl3 0640 radio radio
84/dev/sdioctl4 0640 radio radio
85/dev/sdioctl5 0640 radio radio
86/dev/sdioctl6 0640 radio radio
87/dev/sdioctl7 0640 radio radio
88/dev/sdioctl8 0640 radio radio
89/dev/rmnet_mux_ctrl 0640 radio radio
90/dev/hsicctl0 0640 radio radio
91/dev/hsicctl1 0640 radio radio
92/dev/hsicctl2 0640 radio radio
93/dev/hsicctl3 0640 radio radio
94/dev/hsicctl4 0640 radio radio
95/dev/hsicctl5 0640 radio radio
96/dev/hsicctl6 0640 radio radio
97/dev/hsicctl7 0640 radio radio
98/dev/hsicctl8 0640 radio radio
99/dev/hsicctl9 0640 radio radio
100/dev/hsicctl10 0640 radio radio
101/dev/hsicctl11 0640 radio radio
102/dev/hsicctl12 0640 radio radio
103/dev/hsicctl13 0640 radio radio
104/dev/hsicctl14 0640 radio radio
105/dev/hsicctl15 0640 radio radio
106/dev/hsicctl16 0640 radio radio
107/dev/mhi_pipe_14 0640 radio radio
108/dev/mhi_pipe_16 0640 radio radio
109/dev/mhi_pipe_32 0640 radio radio
110/dev/video* 0660 system camera
111/dev/media* 0660 system camera
112/dev/v4l-subdev* 0660 system camera
113/dev/qseecom 0660 system drmrpc
114/dev/pft 0660 system drmrpc
115/dev/gemini0 0660 system camera
116/dev/jpeg0 0660 system camera
117/dev/jpeg1 0660 system camera
118/dev/jpeg2 0660 system camera
119/dev/jpeg3 0660 system camera
120/dev/adsprpc-smd 0664 system system
121/dev/msm_camera/* 0660 system camera
122/dev/gemini/ 0660 system camera
123/dev/mercury0 0660 system camera
124/dev/msm_vidc_reg 0660 system audio
125/dev/msm_vidc_dec 0660 system audio
126/dev/msm_vidc_dec_sec 0660 system audio
127/dev/msm_vidc_enc 0660 system audio
128/dev/msm_rotator 0660 system system
129/dev/hw_random 0600 root root
130/dev/adsprpc-smd 0664 system system
131
132#permissions for audio
133/dev/audio_slimslave 0660 system audio
134/dev/msm_qcelp 0660 system audio
135/dev/msm_evrc 0660 system audio
136/dev/msm_wma 0660 system audio
137/dev/msm_wmapro 0660 system audio
138/dev/msm_amrnb 0660 system audio
139/dev/msm_amrwb 0660 system audio
140/dev/msm_amrwbplus 0660 system audio
141/dev/msm_aac 0660 system audio
142/dev/msm_multi_aac 0660 system audio
143/dev/msm_aac_in 0660 system audio
144/dev/msm_qcelp_in 0660 system audio
145/dev/msm_evrc_in 0660 system audio
146/dev/msm_amrnb_in 0640 system audio
147/dev/msm_a2dp_in 0660 system audio
148/dev/msm_ac3 0660 system audio
149/dev/msm_audio_cal 0660 system audio
150/dev/msm_cad 0660 system audio
151/dev/msm_fm 0660 system audio
152/dev/msm_mvs 0660 system audio
153/dev/msm_pcm_lp_dec 0660 system audio
154/dev/msm_preproc_ctl 0660 system audio
155/dev/msm_rtac 0660 system audio
156/dev/msm_voicememo 0660 system audio
157/dev/radio0 0640 fm_radio fm_radio
158/dev/smd3 0660 bluetooth net_bt_stack
159/dev/smd2 0660 bluetooth net_bt_stack
160/dev/ttyHSL1 0660 system system
161/dev/ttyHS1 0660 system system
162/dev/mdm 0660 system radio
163/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio
164/dev/sdio_tty_ciq_00 0660 system system
165/dev/tty_sdio_00 0660 system system
166/dev/ttyGS0 0660 system system
167/dev/i2c-5 0660 media media
168/dev/voice_svc 0660 system audio
169
170# DVB devices
171/dev/dvb/adapter0/demux* 0440 media media
172/dev/dvb/adapter0/dvr* 0660 media media
173/dev/dvb/adapter0/video* 0660 media media
174
175# Broadcast devices
176/dev/tsc_mux0 0660 media media
177/dev/tsc_ci0 0660 media media
178
179# sensors
180/sys/devices/i2c-12/12-* pollrate_ms 0664 system system
181/sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system
182/sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system
183/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable 0660 input system
184/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* poll_delay 0660 input system
185/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable_wakeup 0660 input system
186/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system
187/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system
188/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system
189/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system
190/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system
191/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system
192/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system
193/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system
194/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system
195/sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system
196/sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system
197/sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system
198/sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system
199/sys/devices/virtual/input/input* poll 0660 input system
200/sys/devices/virtual/input/input* pollrate_ms 0660 input system
Zvikomborero VIncent Zvikarambac3a952c2016-08-30 19:47:29 -0400201#input settings for input disabler
202/sys/devices/soc.0/78b9000.i2c/i2c-5/5-0020/input/input* enabled 0660 input system
203/sys/devices/soc.0/i2c.78/i2c-11/11-0020/input/input* enabled 0660 input system
204/sys/devices/soc.0/i2c.72/i2c-12/12-0048/input/input* enabled 0660 input system
205/sys/devices/virtual/input/input* enabled 0660 input system
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400206
207# vm_bms
208/dev/vm_bms 0660 system system
209/dev/battery_data 0660 system system
210
211# wlan
212/dev/wcnss_wlan 0660 system system
213/dev/wcnss_ctrl 0660 system system
214#nfc permissions
215/dev/nfc-nci 0660 nfc nfc
216/dev/assd 0660 nfc nfc
217
218# UIO devices
219/dev/uio0 0660 system system
220/dev/uio1 0660 system system
221/dev/uio2 0660 system system
222
223# SSR devices
224/dev/subsys_* 0640 system system
225
226# Ultrasound device
227/dev/usf1 0660 system system
228
229# Ramdump devices
230/dev/ramdump* 0640 system system
231
232#cpufreq_governor
233/sys/devices/system/cpu/cpu* cpufreq/interactive/above_hispeed_delay 0660 system system
234/sys/devices/system/cpu/cpu* cpufreq/interactive/go_hispeed_load 0660 system system
235/sys/devices/system/cpu/cpu* cpufreq/interactive/timer_rate 0660 system system
236/sys/devices/system/cpu/cpu* cpufreq/interactive/hispeed_freq 0660 system system
237/sys/devices/system/cpu/cpu* cpufreq/interactive/io_is_busy 0660 system system
238/sys/devices/system/cpu/cpu* cpufreq/interactive/target_loads 0660 system system
239/sys/devices/system/cpu/cpu* cpufreq/interactive/min_sample_time 0660 system system
240/sys/devices/system/cpu/cpu* cpufreq/interactive/sampling_down_factor 0660 system system
241/sys/devices/system/cpu/cpu* cpufreq/interactive/lpm_disable_freq 0660 system system
242/sys/devices/system/cpu/cpu* cpufreq/interactive/use_migration_notif 0660 system system
243/sys/devices/system/cpu/cpu* cpufreq/interactive/use_sched_load 0660 system system
Zvikomborero VIncent Zvikarambac3a952c2016-08-30 19:47:29 -0400244
Zvikomborero VIncent Zvikarambacd7a1712016-07-25 01:21:51 -0400245# Add device block for FRP
246/dev/block/bootdevice/by-name/config 0660 system system