summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-04-24 11:22:06 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-04-24 11:22:06 +0000
commit701475f791025cfb08e9b8cee35bb63ca772416f (patch)
tree42f671f8309e37ab70f18bca35265a097fc90cd0 /target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf
parentb4173a87fec4e0f5ac497a6b1581279fdb5042be (diff)
downloadbuildroot-novena-701475f791025cfb08e9b8cee35bb63ca772416f.tar.gz
buildroot-novena-701475f791025cfb08e9b8cee35bb63ca772416f.zip
This patch renames the Atmel atstk1002 target board to a more generic atstk100x name. This to make it easier to add support for other CPU-boards than atstk1002.
Submitted by Hans-Christian Egtvedt
Diffstat (limited to 'target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf')
-rw-r--r--target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf49
1 files changed, 49 insertions, 0 deletions
diff --git a/target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf b/target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf
new file mode 100644
index 000000000..046d0d40a
--- /dev/null
+++ b/target/device/Atmel/atstk100x/target_skeleton/etc/mdev.conf
@@ -0,0 +1,49 @@
+# mdev.conf for ATSTK1000
+#
+# Syntax:
+# <regexp> <UID>:<GID> <PERM> [{@,$,*} <CMD>]
+# @: run <CMD> after creating
+# $: run <CMD> before removal
+# *: like @ and $ at the same time
+# <CMD> is run inside /dev using system()
+
+full 0:0 666
+null 0:0 777
+zero 0:0 666
+
+random 0:0 444
+urandom 0:0 444
+
+console 0:5 0600
+kmem 0:9 000
+mem 0:9 0640
+ptmx 0:5 0660
+
+sda.* 0:6 0660
+sdb.* 0:6 0660
+hda.* 0:6 0660
+hdb.* 0:6 0660
+mtd.* 0:6 0660
+mmc.* 0:6 0660
+
+# Move input devices to input directory
+event.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)
+mice 0:0 0660 @(mkdir -p input&&mv $MDEV input)
+mouse.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)
+
+# Move sound devices to sound directory
+pcm.* 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
+seq 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
+timer 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
+control.* 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
+
+tty 0:5 0660
+tty0.* 0:5 0660
+tty1.* 0:5 0660
+tty2.* 0:5 0660
+tty3.* 0:5 0660
+tty4.* 0:5 0660
+tty5.* 0:5 0660
+tty6.* 0:5 0660
+
+ttyS.* 0:20 640