ueventd.qcom.rc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. # Copyright (c) 2012-2015, 2017-2019, 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. # Firmware directory Path
  28. # Below macro will be read by uevent and path will
  29. # be added to search path for firmware loading
  30. firmware_directories /vendor/firmware_mnt/image/
  31. # the DIAG device node is not world writable/readable.
  32. /dev/diag 0660 system oem_2901
  33. /dev/genlock 0666 system system
  34. /dev/wlan 0660 wifi wifi
  35. /dev/kgsl 0666 system system
  36. /dev/kgsl-3d0 0666 system system
  37. /dev/kgsl-2d0 0666 root root
  38. /dev/kgsl-2d1 0666 root root
  39. /dev/ion 0664 system system
  40. /dev/rtc0 0660 system system
  41. /dev/smd0 0660 system system
  42. /dev/smd4 0660 system system
  43. /dev/smd_cxm_qmi 0640 radio radio
  44. /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 radio radio
  49. /dev/wwan_ioctl 0660 radio radio
  50. /dev/ipaNatTable 0660 radio radio
  51. /dev/rmnet_ctrl 0660 usb usb
  52. /dev/dpl_ctrl 0660 usb usb
  53. /dev/ipa_odl_ctl 0660 radio radio
  54. /dev/ipa_adpl 0660 system oem_2905
  55. /dev/hab 0666 system system
  56. /dev/synx_device 0660 root camera
  57. #permissions for CSVT
  58. /dev/smd11 0660 radio radio
  59. #permsissions for BT/FM
  60. /dev/smd2 0660 bluetooth bluetooth
  61. /dev/smd3 0660 bluetooth bluetooth
  62. /dev/btpower 0660 bluetooth system
  63. #permissions for pta
  64. /dev/pta 0660 system system
  65. /dev/radio0 0640 system system
  66. /dev/rfcomm0 0660 bluetooth bluetooth
  67. /dev/ttyUSB0 0660 bluetooth bluetooth
  68. /dev/smdcntl0 0640 radio radio
  69. /dev/smdcntl1 0640 radio radio
  70. /dev/smdcntl2 0640 radio radio
  71. /dev/smdcntl3 0640 radio radio
  72. /dev/smdcntl4 0640 radio radio
  73. /dev/smdcntl5 0640 radio radio
  74. /dev/smdcntl6 0640 radio radio
  75. /dev/smdcntl7 0640 radio radio
  76. /dev/smdcntl8 0640 radio radio
  77. /dev/smdcnt_rev0 0640 radio radio
  78. /dev/smdcnt_rev1 0640 radio radio
  79. /dev/smdcnt_rev2 0640 radio radio
  80. /dev/smdcnt_rev3 0640 radio radio
  81. /dev/smdcnt_rev4 0640 radio radio
  82. /dev/smdcnt_rev5 0640 radio radio
  83. /dev/smdcnt_rev6 0640 radio radio
  84. /dev/smdcnt_rev7 0640 radio radio
  85. /dev/smdcnt_rev8 0640 radio radio
  86. /dev/smuxctl32 0640 radio radio
  87. /dev/sdioctl0 0640 radio radio
  88. /dev/sdioctl1 0640 radio radio
  89. /dev/sdioctl2 0640 radio radio
  90. /dev/sdioctl3 0640 radio radio
  91. /dev/sdioctl4 0640 radio radio
  92. /dev/sdioctl5 0640 radio radio
  93. /dev/sdioctl6 0640 radio radio
  94. /dev/sdioctl7 0640 radio radio
  95. /dev/sdioctl8 0640 radio radio
  96. /dev/rmnet_mux_ctrl 0640 radio radio
  97. /dev/hsicctl0 0640 radio radio
  98. /dev/hsicctl1 0640 radio radio
  99. /dev/hsicctl2 0640 radio radio
  100. /dev/hsicctl3 0640 radio radio
  101. /dev/hsicctl4 0640 radio radio
  102. /dev/hsicctl5 0640 radio radio
  103. /dev/hsicctl6 0640 radio radio
  104. /dev/hsicctl7 0640 radio radio
  105. /dev/hsicctl8 0640 radio radio
  106. /dev/hsicctl9 0640 radio radio
  107. /dev/hsicctl10 0640 radio radio
  108. /dev/hsicctl11 0640 radio radio
  109. /dev/hsicctl12 0640 radio radio
  110. /dev/hsicctl13 0640 radio radio
  111. /dev/hsicctl14 0640 radio radio
  112. /dev/hsicctl15 0640 radio radio
  113. /dev/hsicctl16 0640 radio radio
  114. /dev/mhi_*_pipe_14 0640 radio radio
  115. /dev/mhi_*_pipe_16 0640 radio radio
  116. /dev/mhi_*_pipe_32 0640 radio radio
  117. /dev/at_usb0 0640 radio radio
  118. /dev/at_mdm0 0640 radio radio
  119. /dev/video* 0660 system camera
  120. /dev/media* 0660 system camera
  121. /dev/v4l-subdev* 0660 system camera
  122. /dev/qseecom 0660 system drmrpc
  123. /dev/qce 0660 system drmrpc
  124. /dev/smcinvoke 0660 system system
  125. /dev/qsee_ipc_irq_spss 0660 system drmrpc
  126. /dev/seemplog 0660 system system
  127. /dev/pft 0660 system drmrpc
  128. /dev/spcom 0660 system system
  129. /dev/sp_kernel 0660 system system
  130. /dev/sp_ssr 0660 system system
  131. /dev/sp_keymaster 0660 system system
  132. /dev/sec_nvm_* 0660 system system
  133. /dev/cryptoapp 0660 system system
  134. /dev/spdaemon_ssr 0660 system system
  135. /dev/cam-hyp-intf* 0660 system camera
  136. /dev/gemini0 0660 system camera
  137. /dev/jpeg0 0660 system camera
  138. /dev/jpeg1 0660 system camera
  139. /dev/jpeg2 0660 system camera
  140. /dev/jpeg3 0660 system camera
  141. /dev/adsprpc-smd 0664 system system
  142. /dev/adsprpc-smd-secure 0644 system system
  143. /dev/system_health_monitor 0644 radio system
  144. /dev/mdss_rotator 0664 system system
  145. /dev/st21nfc 0660 nfc nfc
  146. #QDSS
  147. /dev/hardwareinfo 0660 system system
  148. /dev/byte-cntr 0660 system oem_2902
  149. /dev/mhi_qdss 0660 system oem_2902
  150. /sys/class/qdss_bridge/mhi_qdss mode 0660 system oem_2902
  151. # wlan
  152. /dev/wcnss_wlan 0660 system system
  153. /dev/wcnss_ctrl 0660 system system
  154. /sys/devices/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus 0660 system system
  155. /sys/devices/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus 0660 system system
  156. /dev/spidev0.0 0660 system audio
  157. /dev/msm_camera/* 0660 system camera
  158. /dev/gemini/ 0660 system camera
  159. /dev/mercury0 0660 system camera
  160. /dev/msm_vidc_reg 0660 system audio
  161. /dev/msm_vidc_dec 0660 system audio
  162. /dev/msm_vidc_dec_sec 0660 system audio
  163. /dev/msm_vidc_enc 0660 system audio
  164. /dev/msm_rotator 0660 system system
  165. /dev/hw_random 0600 root root
  166. /dev/sdsprpc-smd 0660 system system
  167. #permissions for audio
  168. /dev/wcd_dsp0_control 0660 system audio
  169. /dev/wcd-dsp-glink 0660 system audio
  170. /dev/audio_slimslave 0660 system audio
  171. /dev/msm_qcelp 0660 system audio
  172. /dev/msm_evrc 0660 system audio
  173. /dev/msm_wma 0660 system audio
  174. /dev/msm_wmapro 0660 system audio
  175. /dev/msm_alac 0660 system audio
  176. /dev/msm_ape 0660 system audio
  177. /dev/msm_amrnb 0660 system audio
  178. /dev/msm_amrwb 0660 system audio
  179. /dev/msm_amrwbplus 0660 system audio
  180. /dev/msm_aac 0660 system audio
  181. /dev/msm_multi_aac 0660 system audio
  182. /dev/msm_aac_in 0660 system audio
  183. /dev/msm_qcelp_in 0660 system audio
  184. /dev/msm_evrc_in 0660 system audio
  185. /dev/msm_amrnb_in 0660 system audio
  186. /dev/msm_amrwb_in 0660 system audio
  187. /dev/msm_a2dp_in 0660 system audio
  188. /dev/msm_ac3 0660 system audio
  189. /dev/msm_audio_cal 0660 system audio
  190. /dev/msm_hweffects 0660 system audio
  191. /dev/msm_cad 0660 system audio
  192. /dev/msm_fm 0660 system audio
  193. /dev/msm_mvs 0660 system audio
  194. /dev/msm_pcm_lp_dec 0660 system audio
  195. /dev/msm_preproc_ctl 0660 system audio
  196. /dev/msm_rtac 0660 system audio
  197. /dev/msm_voicememo 0660 system audio
  198. /dev/ttyHSL1 0660 system system
  199. /dev/ttyHS1 0660 system system
  200. /dev/mdm 0660 system radio
  201. /sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio
  202. /dev/sdio_tty_ciq_00 0660 system system
  203. /dev/tty_sdio_00 0660 system system
  204. /dev/ttyGS0 0660 system system
  205. /dev/i2c-5 0660 media media
  206. /dev/avtimer 0660 system audio
  207. /dev/spidev2.0 0660 system audio
  208. # DVB devices
  209. /dev/dvb/adapter0/demux* 0440 media media
  210. /dev/dvb/adapter0/dvr* 0660 media media
  211. /dev/dvb/adapter0/video* 0660 media media
  212. # Broadcast devices
  213. /dev/tsc_mux0 0660 media media
  214. /dev/tsc_ci0 0660 media media
  215. # sensors
  216. /dev/sensors 0660 system system
  217. /sys/devices/i2c-12/12-* pollrate_ms 0664 system system
  218. /sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system
  219. /sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system
  220. /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable 0660 input system
  221. /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* poll_delay 0660 input system
  222. /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable_wakeup 0660 input system
  223. /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system
  224. /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system
  225. /sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system
  226. /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system
  227. /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system
  228. /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system
  229. /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system
  230. /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system
  231. /sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system
  232. /sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system
  233. /sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system
  234. /sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system
  235. /sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system
  236. /sys/devices/virtual/input/input* poll 0660 input system
  237. /sys/devices/virtual/input/input* pollrate_ms 0660 input system
  238. /sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input* secure_touch 0440 system drmrpc
  239. /sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input* secure_touch_enable 0660 system drmrpc
  240. /sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input* secure_touch 0440 system drmrpc
  241. /sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input* secure_touch_enable 0660 system drmrpc
  242. /sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch 0440 system drmrpc
  243. /sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch_enable 0660 system drmrpc
  244. /sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch 0440 system drmrpc
  245. /sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch_enable 0660 system drmrpc
  246. /sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc
  247. /sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc
  248. /sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc
  249. /sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc
  250. # native sensors input
  251. /sys/devices/virtual/input/input* enable_int 0660 system input
  252. /sys/devices/virtual/input/input* gyro_op_mode 0660 system input
  253. /sys/devices/virtual/input/input* acc_range 0660 system input
  254. /sys/devices/virtual/input/input* acc_value 0660 system input
  255. /sys/devices/virtual/input/input* gyro_odr 0660 system input
  256. /sys/devices/virtual/input/input* fifo_data_sel 0660 system input
  257. /sys/devices/virtual/input/input* fifo_watermark 0660 system input
  258. /sys/devices/virtual/input/input* enable 0660 system input
  259. /sys/devices/virtual/input/input* acc_odr 0660 system input
  260. /sys/devices/virtual/input/input* temperature 0660 system input
  261. /sys/devices/virtual/input/input* acc_op_mode 0660 system input
  262. /sys/devices/virtual/input/input* fifo_bytecount 0660 system input
  263. /sys/devices/virtual/input/input* gyro_range 0660 system input
  264. /sys/devices/virtual/input/input* gyro_value 0660 system input
  265. # GNSS PPS Device premissions
  266. /dev/pps* 0660 gps gps
  267. # laser sensor access
  268. /sys/devices/virtual/input/input* enable_ps_sensor 0660 system input
  269. /sys/devices/virtual/input/input* set_delay_ms 0660 system input
  270. /sys/devices/virtual/input/input* do_flush 0660 system input
  271. # vm_bms
  272. /dev/vm_bms 0660 system system
  273. /dev/battery_data 0660 system system
  274. # wlan
  275. /dev/wcnss_wlan 0660 system system
  276. /dev/wcnss_ctrl 0660 system system
  277. /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
  278. /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
  279. # wigig
  280. /sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi
  281. /sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system
  282. /sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi
  283. /sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system
  284. /sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
  285. /sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system
  286. #nfc permissions
  287. /dev/nfc-nci 0660 nfc nfc
  288. /dev/nq-nci 0660 nfc nfc
  289. /dev/assd 0660 nfc nfc
  290. # UIO devices
  291. /dev/uio0 0660 system system
  292. /dev/uio1 0660 system system
  293. /dev/uio2 0660 system system
  294. # SSR devices
  295. /dev/subsys_* 0640 system system
  296. # Ultrasound device
  297. /dev/usf1 0660 system system
  298. # Ramdump devices
  299. /dev/ramdump* 0640 system system
  300. # Fingerprint device
  301. /dev/qbt1000 0660 system system
  302. #ImproveTouch device
  303. /dev/hbtp_input 0660 system system
  304. /dev/hbtp_vm 0660 system system
  305. # Add device block for FRP
  306. /dev/block/platform/soc/7824900.sdhci/by-name/config 0600 system system
  307. /dev/block/platform/soc/7464900.sdhci/by-name/frp 0600 system system
  308. /dev/block/platform/soc/624000.ufshc/by-name/frp 0600 system system
  309. /dev/block/platform/soc/1da4000.ufshc/by-name/frp 0600 system system
  310. /dev/block/platform/soc/c0c4000.sdhci/by-name/frp 0600 system system
  311. /dev/block/platform/soc/1d84000.ufshc/by-name/frp 0600 system system
  312. /dev/block/platform/soc/7c4000.sdhci/by-name/frp 0600 system system
  313. /dev/block/platform/soc/4744000.sdhci/by-name/frp 0600 system system
  314. /dev/block/platform/soc/4804000.ufshc/by-name/frp 0600 system system
  315. # This is temporary while using SD card for initial bring-up
  316. /dev/block/platform/soc/8804000.sdhci/by-name/frp 0600 system system
  317. # Kmsg device
  318. /dev/kmsg 0620 root system
  319. # LED class devices
  320. /sys/class/leds/red delay_on 0640 system system
  321. /sys/class/leds/red delay_off 0640 system system
  322. /sys/class/leds/red breath 0640 system system
  323. /sys/class/leds/green delay_on 0640 system system
  324. /sys/class/leds/green delay_off 0640 system system
  325. /sys/class/leds/green breath 0640 system system
  326. /sys/class/leds/blue delay_on 0640 system system
  327. /sys/class/leds/blue delay_off 0640 system system
  328. /sys/class/leds/blue breath 0640 system system
  329. # NPU device
  330. /dev/msm_npu 0644 system system
  331. # USB role switch
  332. /sys/class/dual_role_usb/* data_role 0660 system system
  333. /sys/class/dual_role_usb/* power_role 0660 system system
  334. /sys/class/dual_role_usb/* mode 0660 system system
  335. #Memory Offline
  336. /sys/devices/system/memory/memory* state 0660 system system
  337. # sys-fs display
  338. /sys/class/graphics/fb* hpd 0664 system graphics
  339. /sys/class/graphics/fb* res_info 0664 system graphics
  340. /sys/class/graphics/fb* vendor_name 0664 system graphics
  341. /sys/class/graphics/fb* product_description 0664 system graphics
  342. /sys/class/graphics/fb* video_mode 0664 system graphics
  343. /sys/class/graphics/fb* format_3d 0664 system graphics
  344. /sys/class/graphics/fb* s3d_mode 0664 system graphics
  345. /sys/class/graphics/fb* dynamic_fps 0664 system graphics
  346. /sys/class/graphics/fb* msm_fb_dfps_mode 0664 system graphics
  347. /sys/class/graphics/fb* hdr_stream 0664 system graphics
  348. /sys/class/graphics/fb* cec/enable 0664 system graphics
  349. /sys/class/graphics/fb* cec/logical_addr 0664 system graphics
  350. /sys/class/graphics/fb* cec/rd_msg 0664 system graphics
  351. /sys/class/graphics/fb* pa 0664 system graphics
  352. /sys/class/graphics/fb* cec/wr_msg 0600 system graphics
  353. /sys/class/graphics/fb* hdcp/tp 0664 system graphics
  354. /sys/class/graphics/fb* hdcp2p2/min_level_change 0660 system graphics
  355. /sys/class/graphics/fb* hdmi_audio_cb 0600 audioserver audio
  356. /sys/class/graphics/fb* lineptr_value 0664 system graphics
  357. /sys/class/graphics/fb* msm_fb_persist_mode 0664 system graphics
  358. /sys/class/graphics/fb0 idle_time 0664 system graphics
  359. /sys/class/graphics/fb0 dynamic_fps 0664 system graphics
  360. /sys/class/graphics/fb0 dyn_pu 0664 system graphics
  361. /sys/class/graphics/fb0 modes 0664 system graphics
  362. /sys/class/graphics/fb0 mode 0664 system graphics
  363. /sys/class/graphics/fb0 msm_cmd_autorefresh_en 0664 system graphics
  364. /sys/class/graphics/fb0 dynamic_bitclk 0664 system graphics
  365. /sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics
  366. #QG device
  367. /dev/qg 0660 system system
  368. /dev/qg_battery 0660 system system