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