1#
2# Copyright (C) 2016 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# the DIAG device node is not world writable/readable.
18/dev/diag                 0660   system     diag
19
20/dev/wlan                 0666   system     system
21/dev/kgsl-3d0             0666   system     system
22/dev/ion                  0664   system     system
23/dev/rtc0                 0660   system     system
24/dev/smd7                 0660   bluetooth  bluetooth
25/dev/ipa                  0660   system     radio
26/dev/wwan_ioctl           0660   system     radio
27/dev/ipaNatTable          0660   system     radio
28/dev/rmnet_ctrl           0660   usb        usb
29
30#permissions for CSVT
31/dev/smd11                0660   radio      radio
32
33/dev/smdcntl8             0640   radio      radio
34/dev/at_usb0              0640   radio      radio
35/dev/at_mdm0              0640   radio      radio
36
37/dev/video*               0660   system     camera
38/dev/media*               0660   system     camera
39/dev/v4l-subdev*          0660   system     camera
40
41/dev/qseecom              0660   system     drmrpc
42/dev/qsee_ipc_irq_spss    0660   system     drmrpc
43/dev/seemplog             0660   system     system
44/dev/spcom                0660   system     system
45
46/dev/jpeg0                0660   system     camera
47/dev/adsprpc-smd          0664   system     system
48
49/dev/hw_random            0600   root       root
50/dev/sdsprpc-smd          0660   system     system
51
52/dev/wcd-dsp-glink        0660   system     audio
53/dev/wcd_dsp0_control     0660   system     audio
54
55/dev/msm_qcelp            0660   system     audio
56/dev/msm_evrc             0660   system     audio
57/dev/msm_wma              0660   system     audio
58/dev/msm_wmapro           0660   system     audio
59/dev/msm_alac             0660   system     audio
60/dev/msm_ape              0660   system     audio
61/dev/msm_amrnb            0660   system     audio
62/dev/msm_amrwb            0660   system     audio
63/dev/msm_amrwbplus        0660   system     audio
64/dev/msm_aac              0660   system     audio
65/dev/msm_mp3*             0660   system     audio
66/dev/msm_multi_aac        0660   system     audio
67/dev/msm_aac_in           0660   system     audio
68/dev/msm_qcelp_in         0660   system     audio
69/dev/msm_evrc_in          0660   system     audio
70/dev/msm_amrnb_in         0640   system     audio
71/dev/msm_a2dp_in          0660   system     audio
72/dev/msm_ac3              0660   system     audio
73/dev/msm_audio_cal        0660   system     audio
74/dev/msm_hweffects        0660   system     audio
75/dev/msm_rtac             0660   system     audio
76
77/dev/i2c-5                0660   media      media
78/dev/avtimer              0660   system     audio
79
80/dev/uio0                 0660   system     system
81/dev/uio1                 0660   system     system
82
83# SSR devices
84/dev/subsys_*             0640   system     system
85
86# Ramdump devices
87/dev/ramdump_*            0640   system     system
88
89#ImproveTouch device
90/dev/hbtp_input           0660   system     system
91/dev/hbtp_vm              0660   system     system
92
93# BT
94/dev/ttyMSM0              0600   bluetooth  bluetooth
95/dev/ttyHS0               0660   bluetooth  net_bt
96/dev/btpower              0660   bluetooth  net_bt
97
98#nfc permissions
99/dev/nq-nci               0660    nfc         nfc
100
101# eSE device
102/dev/pn81a                0660   ese        ese
103
104# fpc fingerprint
105/sys/devices/soc/soc:fp_fpc*        irq               0600  system system
106/sys/devices/soc/soc:fp_fpc*        wakeup_enable     0200  system system
107
108# Easel
109/dev/easelcomm-client     0666   cameraserver camera
110/dev/mnh_sm               0666   cameraserver camera
111
112# Storage: for factory reset protection feature
113/dev/block/platform/soc/1da4000.ufshc/by-name/frp       0660   system     system
114