summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-08-10 12:40:17 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-08-10 12:40:17 +0200
commitfcfeda1907035a3d3c7afc67ad38b032b87f36d9 (patch)
tree50cbfa50147fa9da5b20a0bca97e33746c7e45ad /etc
parent95ea93bc6a54cc2bf0e2028f6e86ae7cbee3bfa2 (diff)
rules: add packages rules
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/packages/40-alsa.rules11
-rw-r--r--etc/udev/packages/40-pilot-links.rules4
-rw-r--r--etc/udev/packages/40-ppc.rules6
-rw-r--r--etc/udev/packages/40-s390.rules4
-rw-r--r--etc/udev/packages/40-zaptel.rules8
-rw-r--r--etc/udev/packages/64-device-mapper.rules4
6 files changed, 37 insertions, 0 deletions
diff --git a/etc/udev/packages/40-alsa.rules b/etc/udev/packages/40-alsa.rules
new file mode 100644
index 0000000000..d30a1da8fc
--- /dev/null
+++ b/etc/udev/packages/40-alsa.rules
@@ -0,0 +1,11 @@
+# do not edit this file, it will be overwritten on update
+
+KERNEL=="controlC[0-9]*", NAME="snd/%k"
+KERNEL=="hwC[D0-9]*", NAME="snd/%k"
+KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k"
+KERNEL=="midiC[D0-9]*", NAME="snd/%k"
+KERNEL=="timer", NAME="snd/%k"
+KERNEL=="seq", NAME="snd/%k"
+KERNEL=="mixer0", SYMLINK+="mixer"
+KERNEL=="dsp0", SYMLINK+="dsp"
+KERNEL=="audio0", SYMLINK+="audio"
diff --git a/etc/udev/packages/40-pilot-links.rules b/etc/udev/packages/40-pilot-links.rules
new file mode 100644
index 0000000000..1242fff102
--- /dev/null
+++ b/etc/udev/packages/40-pilot-links.rules
@@ -0,0 +1,4 @@
+# do not edit this file, it will be overwritten on update
+
+KERNEL=="ttyUSB*", ATTRS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*|[Pp]alm*Handheld*", SYMLINK+="pilot"
+
diff --git a/etc/udev/packages/40-ppc.rules b/etc/udev/packages/40-ppc.rules
new file mode 100644
index 0000000000..8b62d79e0c
--- /dev/null
+++ b/etc/udev/packages/40-ppc.rules
@@ -0,0 +1,6 @@
+# do not edit this file, it will be overwritten on update
+
+KERNEL=="iseries/ibmsis*", NAME="%k", GROUP="disk"
+KERNEL=="iseries/nvt*", NAME="%k", GROUP="disk"
+KERNEL=="iseries/vt*", NAME="%k", GROUP="disk"
+KERNEL=="iseries/vtty*", GROUP="uucp"
diff --git a/etc/udev/packages/40-s390.rules b/etc/udev/packages/40-s390.rules
new file mode 100644
index 0000000000..43035dbe60
--- /dev/null
+++ b/etc/udev/packages/40-s390.rules
@@ -0,0 +1,4 @@
+# do not edit this file, it will be overwritten on update
+
+KERNEL=="z90crypt", MODE="0666"
+
diff --git a/etc/udev/packages/40-zaptel.rules b/etc/udev/packages/40-zaptel.rules
new file mode 100644
index 0000000000..4313a9172e
--- /dev/null
+++ b/etc/udev/packages/40-zaptel.rules
@@ -0,0 +1,8 @@
+# do not edit this file, it will be overwritten on update
+
+KERNEL=="zap[0-9]*", NAME="zap/%n"
+KERNEL=="zapchannel", NAME="zap/channel"
+KERNEL=="zapctl", NAME="zap/ctl"
+KERNEL=="zappseudo", NAME="zap/pseudo"
+KERNEL=="zaptimer", NAME="zap/timer"
+
diff --git a/etc/udev/packages/64-device-mapper.rules b/etc/udev/packages/64-device-mapper.rules
new file mode 100644
index 0000000000..8154ef3702
--- /dev/null
+++ b/etc/udev/packages/64-device-mapper.rules
@@ -0,0 +1,4 @@
+# do not edit this file, it will be overwritten on update
+
+KERNEL=="device-mapper", NAME="mapper/control"
+