1 # Copyright (c) 2012-2015, 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 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 system net_admin 46 /dev/wwan_ioctl 0660 system net_admin 47 /dev/ipaNatTable 0660 net_admin net_admin 48 /dev/rmnet_ctrl 0660 usb usb 49 /dev/dpl_ctrl 0660 usb usb 50 51 #permissions for CSVT 52 /dev/smd11 0660 radio radio 53 54 /dev/nanohub 0660 system system 55 /dev/nanohub_comms 0660 system system 56 /dev/radio0 0640 system system 57 /dev/rfcomm0 0660 bluetooth bluetooth 58 /dev/ttyMSM0 0600 bluetooth bluetooth 59 /dev/ttyUSB0 0660 bluetooth bluetooth 60 /dev/smdcntl0 0640 radio radio 61 /dev/smdcntl1 0640 radio radio 62 /dev/smdcntl2 0640 radio radio 63 /dev/smdcntl3 0640 radio radio 64 /dev/smdcntl4 0640 radio radio 65 /dev/smdcntl5 0640 radio radio 66 /dev/smdcntl6 0640 radio radio 67 /dev/smdcntl7 0640 radio radio 68 /dev/smdcntl8 0640 radio radio 69 /dev/smdcnt_rev0 0640 radio radio 70 /dev/smdcnt_rev1 0640 radio radio 71 /dev/smdcnt_rev2 0640 radio radio 72 /dev/smdcnt_rev3 0640 radio radio 73 /dev/smdcnt_rev4 0640 radio radio 74 /dev/smdcnt_rev5 0640 radio radio 75 /dev/smdcnt_rev6 0640 radio radio 76 /dev/smdcnt_rev7 0640 radio radio 77 /dev/smdcnt_rev8 0640 radio radio 78 /dev/smuxctl32 0640 radio radio 79 /dev/sdioctl0 0640 radio radio 80 /dev/sdioctl1 0640 radio radio 81 /dev/sdioctl2 0640 radio radio 82 /dev/sdioctl3 0640 radio radio 83 /dev/sdioctl4 0640 radio radio 84 /dev/sdioctl5 0640 radio radio 85 /dev/sdioctl6 0640 radio radio 86 /dev/sdioctl7 0640 radio radio 87 /dev/sdioctl8 0640 radio radio 88 /dev/rmnet_mux_ctrl 0640 radio radio 89 /dev/hsicctl0 0640 radio radio 90 /dev/hsicctl1 0640 radio radio 91 /dev/hsicctl2 0640 radio radio 92 /dev/hsicctl3 0640 radio radio 93 /dev/hsicctl4 0640 radio radio 94 /dev/hsicctl5 0640 radio radio 95 /dev/hsicctl6 0640 radio radio 96 /dev/hsicctl7 0640 radio radio 97 /dev/hsicctl8 0640 radio radio 98 /dev/hsicctl9 0640 radio radio 99 /dev/hsicctl10 0640 radio radio 100 /dev/hsicctl11 0640 radio radio 101 /dev/hsicctl12 0640 radio radio 102 /dev/hsicctl13 0640 radio radio 103 /dev/hsicctl14 0640 radio radio 104 /dev/hsicctl15 0640 radio radio 105 /dev/hsicctl16 0640 radio radio 106 /dev/mhi_pipe_14 0640 radio radio 107 /dev/mhi_pipe_16 0640 radio radio 108 /dev/mhi_pipe_32 0640 radio radio 109 /dev/video* 0660 system camera 110 /dev/media* 0660 system camera 111 /dev/v4l-subdev* 0660 system camera 112 /dev/qseecom 0660 system drmrpc 113 /dev/seemplog 0660 system system 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/system_health_monitor 0644 radio system 122 /dev/mdss_rotator 0664 system system 123 /dev/msm_camera/* 0660 system camera 124 /dev/gemini/ 0660 system camera 125 /dev/mercury0 0660 system camera 126 /dev/msm_vidc_reg 0660 system audio 127 /dev/msm_vidc_dec 0660 system audio 128 /dev/msm_vidc_dec_sec 0660 system audio 129 /dev/msm_vidc_enc 0660 system audio 130 /dev/msm_rotator 0660 system system 131 /dev/hw_random 0600 root root 132 /dev/adsprpc-smd 0664 system system 133 134 #permissions for audio 135 /dev/audio_slimslave 0660 system audio 136 /dev/msm_qcelp 0660 system audio 137 /dev/msm_evrc 0660 system audio 138 /dev/msm_wma 0660 system audio 139 /dev/msm_wmapro 0660 system audio 140 /dev/msm_alac 0660 system audio 141 /dev/msm_ape 0660 system audio 142 /dev/msm_amrnb 0660 system audio 143 /dev/msm_amrwb 0660 system audio 144 /dev/msm_amrwbplus 0660 system audio 145 /dev/msm_aac 0660 system audio 146 /dev/msm_multi_aac 0660 system audio 147 /dev/msm_aac_in 0660 system audio 148 /dev/msm_qcelp_in 0660 system audio 149 /dev/msm_evrc_in 0660 system audio 150 /dev/msm_amrnb_in 0640 system audio 151 /dev/msm_a2dp_in 0660 system audio 152 /dev/msm_ac3 0660 system audio 153 /dev/msm_audio_cal 0660 system audio 154 /dev/msm_hweffects 0660 system audio 155 /dev/msm_cad 0660 system audio 156 /dev/msm_fm 0660 system audio 157 /dev/msm_mp3* 0660 system audio 158 /dev/msm_mvs 0660 system audio 159 /dev/msm_pcm_lp_dec 0660 system audio 160 /dev/msm_preproc_ctl 0660 system audio 161 /dev/msm_rtac 0660 system audio 162 /dev/msm_voicememo 0660 system audio 163 /dev/smd3 0660 bluetooth net_bt_stack 164 /dev/smd2 0660 bluetooth net_bt_stack 165 /dev/ttyHSL1 0660 system system 166 /dev/ttyHS1 0660 system system 167 /dev/mdm 0660 system radio 168 /sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio 169 /dev/sdio_tty_ciq_00 0660 system system 170 /dev/tty_sdio_00 0660 system system 171 /dev/ttyGS0 0660 system system 172 /dev/i2c-5 0660 media media 173 /dev/voice_svc 0660 system audio 174 /dev/avtimer 0660 system audio 175 176 # DVB devices 177 /dev/dvb/adapter0/demux* 0440 media media 178 /dev/dvb/adapter0/dvr* 0660 media media 179 /dev/dvb/adapter0/video* 0660 media media 180 181 # Broadcast devices 182 /dev/tsc_mux0 0660 media media 183 /dev/tsc_ci0 0660 media media 184 185 # fpc fingerprint 186 /sys/devices/soc/soc:fp_fpc* irq 0600 system system 187 /sys/devices/soc/soc:fp_fpc* wakeup_enable 0200 system system 188 189 # sensors 190 /sys/devices/i2c-12/12-* pollrate_ms 0664 system system 191 /sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system 192 /sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system 193 /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable 0660 input system 194 /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* poll_delay 0660 input system 195 /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable_wakeup 0660 input system 196 /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system 197 /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system 198 /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system 199 /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system 200 /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system 201 /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system 202 /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system 203 /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system 204 /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system 205 /sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system 206 /sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system 207 /sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system 208 /sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system 209 /sys/devices/virtual/input/input* poll 0660 input system 210 /sys/devices/virtual/input/input* pollrate_ms 0660 input system 211 212 # touch controller 213 /sys/devices/soc/7577000.i2c/i2c-3/3-0020/input/input* wake_gesture 0660 system system 214 215 # vm_bms 216 /dev/vm_bms 0660 system system 217 /dev/battery_data 0660 system system 218 219 # wlan 220 /dev/wcnss_wlan 0660 system system 221 /dev/wcnss_ctrl 0660 system system 222 /sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system 223 /sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system 224 225 #nfc permissions 226 /dev/nfc-nci 0660 nfc nfc 227 /dev/nq-nci 0660 nfc nfc 228 /dev/assd 0660 nfc nfc 229 /dev/pn551 0600 nfc nfc 230 231 # UIO devices 232 /dev/uio0 0660 system system 233 /dev/uio1 0660 system system 234 /dev/uio2 0660 system system 235 /dev/uio3 0660 system system 236 237 # SSR devices 238 /dev/subsys_* 0640 system system 239 240 # Ultrasound device 241 /dev/usf1 0660 system system 242 243 # Ramdump devices 244 /dev/ramdump* 0640 system system 245 246 # Fingerprint device 247 /dev/qbt1000 0660 system system 248 249 #ImproveTouch device 250 /dev/hbtp_input 0660 system system 251 /dev/hbtp_vm 0660 system system 252 253 # Storage: for factory reset protection feature 254 /dev/block/platform/soc/624000.ufshc/by-name/frp 0660 system system 255 256 # hid sensor device 257 /dev/hidraw* 0660 root system 258