summaryrefstree
path: root/vendor/etc/ueventd.rc
blob: ed5767b02391190e09e46ed9ea4b3a5bc90ef509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
#change partition permission
/dev/block/mmcblk0                                              0660    root    system
/dev/block/mmcblk0boot0                                         0660    root    system
/dev/block/mmcblk0boot1                                         0660    root    system
/dev/misc-sd                                                    0660    root    system
/dev/block/by-name/misc2     0660    root    system
/dev/block/by-name/boot      0640    root    system
/dev/block/by-name/recovery  0640    root    system
/dev/block/by-name/secro     0640    root    system
/dev/block/by-name/seccfg    0660    root    system
/dev/block/by-name/proinfo   0660    root    system
/dev/block/by-name/nvram     0660    root    system
/dev/block/by-name/para      0660    root    system
/dev/block/by-name/logo      0660    root    system
/dev/block/by-name/frp       0660    root    system
/dev/block/by-name/md1img    0640    root    system
/dev/block/by-name/md1img_1  0640    root    system
/dev/block/by-name/md1img_a  0640    root    system
/dev/block/by-name/md1img_b  0640    root    system
/dev/block/by-name/modem     0640    root    system
/dev/block/by-name/modem_a   0640    root    system
/dev/block/by-name/modem_b   0640    root    system
/dev/block/by-name/md1dsp    0660    root    system
/dev/block/by-name/boot_para 0640    root    system

# OTP
/dev/otp                  0660   system     system
/dev/block/by-name/otp       0660    root    system

# Connectivity
/dev/stpwmt               0660   system     system
/dev/wmtdetect            0660   system     system
/dev/fw_log_wmt           0660   system     system

# BT
/dev/stpbt                0660   bluetooth  bluetooth
/dev/fw_log_bt            0660   bluetooth  bluetooth

# GPS
/dev/stpgps               0660   gps        gps
/dev/gps                  0660   gps        system
/dev/fw_log_gps           0660   gps        gps
/dev/gps_emi              0660   gps        gps

# ANT
/dev/stpant               0660   system     system

# WIFI
/dev/wmtWifi              0660   wifi     wifi
/dev/fw_log_wifi          0660   wifi     wifi

# FMRadio
/dev/fm                   0660   media     media

# NFC
/dev/st21nfc              0660   nfc        radio
/dev/st54spi              0660   secure_element        secure_element

# MTK BTIF driver
/dev/btif                 0600   system     system

# Trusty driver
/dev/trusty-ipc-dev0      0660   system     system
/dev/nebula-ipc-dev0      0660   system     system

# RPMB (for Trusty)
/dev/block/mmcblk0rpmb    0660   root       system

# TrustonicTEE driver
/dev/mobicore             0600   system     system
/dev/mobicore-user        0666   system     system
/dev/t-base-tui           0666   system     system

#MDP
/dev/mt-mdp               0660   system     media
/dev/mtk_mdp              0660   system     system
/dev/mdp_sync             0660   system     system

#Camera
/dev/camera-sysram        0660   system     camera
/dev/camera-mem           0666   system     camera
/dev/camera-isp           0666   system     camera
/dev/camera-dip           0666   system     camera
/dev/camera-tsf           0660   system     camera
/dev/camera-dpe           0660   system     camera
/dev/camera-mfb           0660   system     camera
/dev/camera-rsc           0660   system     camera
/dev/camera-owe           0660   system     camera
/dev/camera-fdvt          0660   system     camera
/dev/camera-wpe           0660   system     camera
/dev/camera-pipemgr       0660   system     camera
/dev/kd_camera_hw         0666   system     camera
/dev/seninf               0660   system     camera
/dev/flashlight           0660   system     camera
/dev/kd_camera_hw_bus2    0660   system     camera
/dev/FM50AF               0660   system     camera
/dev/CAM_CAL_DRV          0660   system     camera
/dev/MAINAF               0660   system     camera
/dev/MAIN2AF              0660   system     camera
/dev/SUBAF                0660   system     camera
/dev/vpu                  0660   system     camera

#CCU
/dev/ccu                  0660   system     camera

#v4l2 device
/dev/video*      0660 camera system
/dev/media*      0660 camera system
/dev/v4l-subdev* 0660 camera system

# gzvm for AVF
/dev/gzvm 0666 root root

# add the read write right of ttyUSB*
/dev/bus/usb/*     	  0660   root       usb
/dev/ttyUSB0              0660   radio      radio
/dev/ttyUSB1              0660   radio      radio
/dev/ttyUSB2              0660   radio      radio
/dev/ttyUSB3              0660   radio      radio
/dev/ttyUSB4              0660   radio      radio

# Anyone can read the logs, but if they're not in the "logs"
# group, then they'll only see log entries for their UID.
/dev/log/ksystem          0600   root       log

/dev/ccci*                0660   radio      radio
/dev/ttyC*                0660   radio      radio
/sys/kernel/ccci          modem_info   0644   radio       radio
/sys/kernel/ccci          md1_postfix  0644   radio       radio
/sys/kernel/ccci          md2_postfix  0644   radio       radio
/dev/eemcs*               0660   radio      radio
/dev/emd*                 0660   radio      radio
/dev/ccci_pcm_rx          0660   audio      audio
/dev/ccci_pcm_tx          0660   audio      audio
/dev/ccci_aud             0660   audio      audio
/dev/ccci2_aud            0660   audio      audio
/dev/ccci3_aud            0660   audio      audio
/dev/ccci_raw_audio            0660   audio      audio
/dev/ccci3_raw_audio            0660   audio      audio
/dev/eemcs_aud            0660   audio      audio
/dev/irtx                 0660   system     system
/dev/lirc*                0660   root       system
/dev/ir-learning          0660   system     system
# SGX device node
/dev/pvrsrvkm             0666   root       root
/dev/pvr_sync             0666   root       root


/sys/devices/platform/leds-mt65xx/leds/green   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/green   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/red   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/red   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/blue   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/blue   delay_off      0664  system   system
/sys/class/leds/green   delay_on      0664  system   system
/sys/class/leds/green   delay_off      0664  system   system
/sys/class/leds/red   delay_on      0664  system   system
/sys/class/leds/red   delay_off      0664  system   system
/sys/class/leds/blue   delay_on      0664  system   system
/sys/class/leds/blue   delay_off      0664  system   system

#GPIO
/dev/mtgpio               0600   radio      root


#FOR VIA MODEM
/dev/ttySDIO*             0660   radio      sdcard_rw
/dev/ttyRB*               0660   radio      radio

# Mali node
/dev/mali0                0666   system     graphics

# Change ION driver permission
/dev/ion                  0666   system     graphics

# Change DMA_HEAP deice permission
#     refs: /system/core/rootdir/uevent.rc
#           /dev/dma_heap/system      0444   system     system
/dev/dma_heap/mtk_mm                        0444   system     system
/dev/dma_heap/mtk_mm-uncached               0444   system     system
/dev/dma_heap/mtk_svp_page-uncached                 0444   system     system
/dev/dma_heap/mtk_prot_page-uncached                0444   system     system
/dev/dma_heap/mtk_svp_region                        0444   system     system
/dev/dma_heap/mtk_svp_region-aligned                0444   system     system
/dev/dma_heap/mtk_prot_region                       0444   system     system
/dev/dma_heap/mtk_prot_region-aligned               0444   system     system
/dev/dma_heap/mtk_2d_fr_region                      0444   system     system
/dev/dma_heap/mtk_2d_fr_region-aligned              0444   system     system
/dev/dma_heap/mtk_wfd_region                        0444   system     system
/dev/dma_heap/mtk_wfd_region-aligned                0444   system     system
/dev/dma_heap/mtk_wfd_page-uncached                 0444   system     system

#touch
/dev/touch                0660   root       system
/dev/hotknot              0660   root       system

#hang_detect
/dev/RT_Monitor           0660   system     system
/dev/kick_powerkey        0660   system     system

#MTK In-House TEE
/dev/ttyACM0              0660   radio      radio

# Resume-on-Reboot
/dev/access-kregistry     0660   system     system

#v4l2 device
/dev/video*  0660 media system

#VideoCodec
/dev/vcu 0660 media system

#TrustKernel TEE
/dev/tkcore_admin         0600   system     system
/dev/tkcore_client        0666   root       system
/dev/tkcore_fp            0660   root       system
/dev/rpmb0                0660   root       system
/dev/mmcblk0rpmb          0660   root       system