blob: 68a2299a98c42f417944550da747ab62a16586ac [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
41/dev/smd5 0660 system system
42/dev/smd6 0660 system system
43/dev/smd7 0660 bluetooth bluetooth
44/dev/ccid_bridge 0660 system system
45/dev/ipa 0660 net_admin net_admin
46/dev/wwan_ioctl 0660 net_admin net_admin
47/dev/ipaNatTable 0660 net_admin net_admin
48
49#permissions for CSVT
50/dev/smd11 0660 radio radio
51
52/dev/radio0 0640 system system
53/dev/rfcomm0 0660 bluetooth bluetooth
54/dev/ttyUSB0 0660 bluetooth bluetooth
55/dev/smdcntl0 0640 radio radio
56/dev/smdcntl1 0640 radio radio
57/dev/smdcntl2 0640 radio radio
58/dev/smdcntl3 0640 radio radio
59/dev/smdcntl4 0640 radio radio
60/dev/smdcntl5 0640 radio radio
61/dev/smdcntl6 0640 radio radio
62/dev/smdcntl7 0640 radio radio
63/dev/smdcntl8 0640 radio radio
64/dev/smdcnt_rev0 0640 radio radio
65/dev/smdcnt_rev1 0640 radio radio
66/dev/smdcnt_rev2 0640 radio radio
67/dev/smdcnt_rev3 0640 radio radio
68/dev/smdcnt_rev4 0640 radio radio
69/dev/smdcnt_rev5 0640 radio radio
70/dev/smdcnt_rev6 0640 radio radio
71/dev/smdcnt_rev7 0640 radio radio
72/dev/smdcnt_rev8 0640 radio radio
73/dev/smuxctl32 0640 radio radio
74/dev/sdioctl0 0640 radio radio
75/dev/sdioctl1 0640 radio radio
76/dev/sdioctl2 0640 radio radio
77/dev/sdioctl3 0640 radio radio
78/dev/sdioctl4 0640 radio radio
79/dev/sdioctl5 0640 radio radio
80/dev/sdioctl6 0640 radio radio
81/dev/sdioctl7 0640 radio radio
82/dev/sdioctl8 0640 radio radio
83/dev/rmnet_mux_ctrl 0640 radio radio
84/dev/hsicctl0 0640 radio radio
85/dev/hsicctl1 0640 radio radio
86/dev/hsicctl2 0640 radio radio
87/dev/hsicctl3 0640 radio radio
88/dev/hsicctl4 0640 radio radio
89/dev/hsicctl5 0640 radio radio
90/dev/hsicctl6 0640 radio radio
91/dev/hsicctl7 0640 radio radio
92/dev/hsicctl8 0640 radio radio
93/dev/hsicctl9 0640 radio radio
94/dev/hsicctl10 0640 radio radio
95/dev/hsicctl11 0640 radio radio
96/dev/hsicctl12 0640 radio radio
97/dev/hsicctl13 0640 radio radio
98/dev/hsicctl14 0640 radio radio
99/dev/hsicctl15 0640 radio radio
100/dev/hsicctl16 0640 radio radio
101/dev/mhi_pipe_14 0640 radio radio
102/dev/mhi_pipe_16 0640 radio radio
103/dev/mhi_pipe_32 0640 radio radio
104/dev/video* 0660 system camera
105/dev/media* 0660 system camera
106/dev/v4l-subdev* 0660 system camera
107/dev/qseecom 0660 system drmrpc
108/dev/pft 0660 system drmrpc
109/dev/gemini0 0660 system camera
110/dev/jpeg0 0660 system camera
111/dev/jpeg1 0660 system camera
112/dev/jpeg2 0660 system camera
113/dev/jpeg3 0660 system camera
114/dev/adsprpc-smd 0664 system system
115/dev/msm_camera/* 0660 system camera
116/dev/gemini/ 0660 system camera
117/dev/mercury0 0660 system camera
118/dev/msm_vidc_reg 0660 system audio
119/dev/msm_vidc_dec 0660 system audio
120/dev/msm_vidc_dec_sec 0660 system audio
121/dev/msm_vidc_enc 0660 system audio
122/dev/msm_rotator 0660 system system
123/dev/hw_random 0600 root root
124/dev/adsprpc-smd 0664 system system
125
126#permissions for audio
127/dev/audio_slimslave 0660 system audio
128/dev/msm_qcelp 0660 system audio
129/dev/msm_evrc 0660 system audio
130/dev/msm_wma 0660 system audio
131/dev/msm_wmapro 0660 system audio
132/dev/msm_amrnb 0660 system audio
133/dev/msm_amrwb 0660 system audio
134/dev/msm_amrwbplus 0660 system audio
135/dev/msm_aac 0660 system audio
136/dev/msm_multi_aac 0660 system audio
137/dev/msm_aac_in 0660 system audio
138/dev/msm_qcelp_in 0660 system audio
139/dev/msm_evrc_in 0660 system audio
140/dev/msm_amrnb_in 0640 system audio
141/dev/msm_a2dp_in 0660 system audio
142/dev/msm_ac3 0660 system audio
143/dev/msm_audio_cal 0660 system audio
144/dev/msm_cad 0660 system audio
145/dev/msm_fm 0660 system audio
146/dev/msm_mvs 0660 system audio
147/dev/msm_pcm_lp_dec 0660 system audio
148/dev/msm_preproc_ctl 0660 system audio
149/dev/msm_rtac 0660 system audio
150/dev/msm_voicememo 0660 system audio
151/dev/radio0 0640 fm_radio fm_radio
152/dev/smd3 0660 bluetooth net_bt_stack
153/dev/smd2 0660 bluetooth net_bt_stack
154/dev/ttyHSL1 0660 system system
155/dev/ttyHS1 0660 system system
156/dev/mdm 0660 system radio
157/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio
158/dev/sdio_tty_ciq_00 0660 system system
159/dev/tty_sdio_00 0660 system system
160/dev/ttyGS0 0660 system system
161/dev/i2c-5 0660 media media
162/dev/voice_svc 0660 system audio
163
164# DVB devices
165/dev/dvb/adapter0/demux* 0440 media media
166/dev/dvb/adapter0/dvr* 0660 media media
167/dev/dvb/adapter0/video* 0660 media media
168
169# Broadcast devices
170/dev/tsc_mux0 0660 media media
171/dev/tsc_ci0 0660 media media
172
173# sensors
174/sys/devices/i2c-12/12-* pollrate_ms 0664 system system
175/sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system
176/sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system
177/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable 0660 input system
178/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* poll_delay 0660 input system
179/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable_wakeup 0660 input system
180/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system
181/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system
182/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system
183/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system
184/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system
185/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system
186/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system
187/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system
188/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system
189/sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system
190/sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system
191/sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system
192/sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system
193/sys/devices/virtual/input/input* poll 0660 input system
194/sys/devices/virtual/input/input* pollrate_ms 0660 input system
195
196# vm_bms
197/dev/vm_bms 0660 system system
198/dev/battery_data 0660 system system
199
200# wlan
201/dev/wcnss_wlan 0660 system system
202/dev/wcnss_ctrl 0660 system system
203#nfc permissions
204/dev/nfc-nci 0660 nfc nfc
205/dev/assd 0660 nfc nfc
206
207# UIO devices
208/dev/uio0 0660 system system
209/dev/uio1 0660 system system
210/dev/uio2 0660 system system
211
212# SSR devices
213/dev/subsys_* 0640 system system
214
215# Ultrasound device
216/dev/usf1 0660 system system
217
218# Ramdump devices
219/dev/ramdump* 0640 system system
220
221#cpufreq_governor
222/sys/devices/system/cpu/cpu* cpufreq/interactive/above_hispeed_delay 0660 system system
223/sys/devices/system/cpu/cpu* cpufreq/interactive/go_hispeed_load 0660 system system
224/sys/devices/system/cpu/cpu* cpufreq/interactive/timer_rate 0660 system system
225/sys/devices/system/cpu/cpu* cpufreq/interactive/hispeed_freq 0660 system system
226/sys/devices/system/cpu/cpu* cpufreq/interactive/io_is_busy 0660 system system
227/sys/devices/system/cpu/cpu* cpufreq/interactive/target_loads 0660 system system
228/sys/devices/system/cpu/cpu* cpufreq/interactive/min_sample_time 0660 system system
229/sys/devices/system/cpu/cpu* cpufreq/interactive/sampling_down_factor 0660 system system
230/sys/devices/system/cpu/cpu* cpufreq/interactive/lpm_disable_freq 0660 system system
231/sys/devices/system/cpu/cpu* cpufreq/interactive/use_migration_notif 0660 system system
232/sys/devices/system/cpu/cpu* cpufreq/interactive/use_sched_load 0660 system system