From fcfeda1907035a3d3c7afc67ad38b032b87f36d9 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 10 Aug 2007 12:40:17 +0200 Subject: [PATCH] rules: add packages rules --- etc/udev/packages/40-alsa.rules | 11 +++++++++++ etc/udev/packages/40-pilot-links.rules | 4 ++++ etc/udev/packages/40-ppc.rules | 6 ++++++ etc/udev/packages/40-s390.rules | 4 ++++ etc/udev/packages/40-zaptel.rules | 8 ++++++++ etc/udev/packages/64-device-mapper.rules | 4 ++++ 6 files changed, 37 insertions(+) create mode 100644 etc/udev/packages/40-alsa.rules create mode 100644 etc/udev/packages/40-pilot-links.rules create mode 100644 etc/udev/packages/40-ppc.rules create mode 100644 etc/udev/packages/40-s390.rules create mode 100644 etc/udev/packages/40-zaptel.rules create mode 100644 etc/udev/packages/64-device-mapper.rules diff --git a/etc/udev/packages/40-alsa.rules b/etc/udev/packages/40-alsa.rules new file mode 100644 index 00000000..d30a1da8 --- /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 00000000..1242fff1 --- /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 00000000..8b62d79e --- /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 00000000..43035dbe --- /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 00000000..4313a917 --- /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 00000000..8154ef37 --- /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" + -- 2.39.5