aboutsummaryrefslogtreecommitdiffstats
path: root/layout/rootfs/etc/mdev.conf
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
commit82d0f92ab8b84466ae20ab919c1f9c3577b5cecb (patch)
tree776015ae6c6a386125b2d39e13b62f91b99548f8 /layout/rootfs/etc/mdev.conf
downloadlh-bootstrap-82d0f92ab8b84466ae20ab919c1f9c3577b5cecb.tar.gz
Initial commit
Diffstat (limited to 'layout/rootfs/etc/mdev.conf')
-rw-r--r--layout/rootfs/etc/mdev.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/rootfs/etc/mdev.conf b/layout/rootfs/etc/mdev.conf
new file mode 100644
index 0000000..ee9572f
--- /dev/null
+++ b/layout/rootfs/etc/mdev.conf
@@ -0,0 +1,37 @@
+urandom 0:0 0644
+random 0:0 0444
+kmem 0:0 0000
+console 0:0 0600
+null 0:0 0666
+zero 0:0 0444
+full 0:0 0222
+kmsg 0:0 0600
+mcelog 0:0 0600
+mmcblk0 0:0 0600
+mmcblk0p[1-7] 0:0 0600
+mem 0:0 0600
+cpu_dma_latency 0:0 0600
+memory_bandwidth 0:0 0600
+network_latency 0:0 0600
+network_throughput 0:0 0600
+port 0:0 0600
+ptp[0-3] 0:0 0600
+ptmx 0:0 0666
+rtc0 0:0 0600
+snapshot 0:0 0600
+tty 0:0 0666
+ttyS[0-1] 0:0 0600
+ttyAMA[0-3] 0:0 0600
+watchdog 0:0 0600
+watchdog0 0:0 0600
+
+$MODALIAS=.* 0:0 0600 @modprobe -b "$MODALIAS"
+
+# alsa sound devices
+SUBSYSTEM=sound;.* 0:29 0660
+
+adsp 0:29 0660 >sound/
+audio 0:29 0660 >sound/
+dsp 0:29 0660 >sound/
+mixer 0:29 0660 >sound/
+sequencer.* 0:29 0660 >sound/