xref: /OK3568_Linux_fs/buildroot/package/busybox/mdev.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# null may already exist; therefore ownership has to be changed with command
2*4882a593Smuzhiyunnull		root:root 666 @chmod 666 $MDEV
3*4882a593Smuzhiyunzero		root:root 666
4*4882a593Smuzhiyunfull		root:root 666
5*4882a593Smuzhiyunrandom		root:root 444
6*4882a593Smuzhiyunurandom		root:root 444
7*4882a593Smuzhiyunhwrandom	root:root 444
8*4882a593Smuzhiyungrsec		root:root 660
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunkmem		root:root 640
11*4882a593Smuzhiyunmem		root:root 640
12*4882a593Smuzhiyunport		root:root 640
13*4882a593Smuzhiyun# console may already exist; therefore ownership has to be changed with command
14*4882a593Smuzhiyunconsole		root:tty 600 @chmod 600 $MDEV
15*4882a593Smuzhiyunptmx		root:tty 666
16*4882a593Smuzhiyunpty.*		root:tty 660
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Typical devices
19*4882a593Smuzhiyuntty		root:tty 666
20*4882a593Smuzhiyuntty[0-9]*	root:tty 660
21*4882a593Smuzhiyunvcsa*[0-9]*	root:tty 660
22*4882a593SmuzhiyunttyS[0-9]*	root:root 660
23*4882a593SmuzhiyunttyUSB[0-9]*	root:root 660
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun# alsa sound devices
26*4882a593Smuzhiyunsnd/pcm.*	root:audio 660
27*4882a593Smuzhiyunsnd/control.*	root:audio 660
28*4882a593Smuzhiyunsnd/midi.*	root:audio 660
29*4882a593Smuzhiyunsnd/seq		root:audio 660
30*4882a593Smuzhiyunsnd/timer	root:audio 660
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun# input stuff
33*4882a593Smuzhiyuninput/event[0-9]+	root:root 640
34*4882a593Smuzhiyuninput/mice		root:root 640
35*4882a593Smuzhiyuninput/mouse[0-9]	root:root 640
36*4882a593Smuzhiyuninput/ts[0-9]		root:root 600
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun# load modules
39*4882a593Smuzhiyun$MODALIAS=.*	root:root 660 @modprobe "$MODALIAS"
40