]> err.no Git - systemd/commitdiff
[PATCH] fix up udev.rules to handle oss rules better.
authorgreg@kroah.com <greg@kroah.com>
Tue, 30 Mar 2004 02:33:48 +0000 (18:33 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:12 +0000 (21:35 -0700)
Patch from Jordan <lx_xero@comcast.net>

etc/udev/udev.rules
etc/udev/udev.rules.gentoo

index 370a961de1c9bcb5ad11c4648c126e2c00ccb6d3..725294cede9ea80f3409e9697a64f4883eb0a30d 100644 (file)
@@ -18,7 +18,7 @@ KERNEL="card*", NAME="dri/card%n"
 KERNEL="controlC[0-9]*", NAME="snd/%k"
 KERNEL="hw[CD0-9]*",     NAME="snd/%k"
 KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k"
-KERNEL="midi[CD0-9]*",   NAME="snd/%k"
+KERNEL="midiC[D0-9]*",   NAME="snd/%k"
 KERNEL="timer",          NAME="snd/%k"
 KERNEL="seq",            NAME="snd/%k"
 
index f8419a292554cdf8bf555a95a7e695eabba8dc51..eb72931c3f79f943b96662d1011190387e4d75bb 100644 (file)
@@ -54,7 +54,7 @@ BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", NAME
 KERNEL="controlC[0-9]*", NAME="snd/%k"
 KERNEL="hw[CD0-9]*",     NAME="snd/%k"
 KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k"
-KERNEL="midi[CD0-9]*",   NAME="snd/%k"
+KERNEL="midiC[D0-9]*",   NAME="snd/%k"
 KERNEL="timer",          NAME="snd/%k"
 KERNEL="seq",            NAME="snd/%k"
 
@@ -103,12 +103,16 @@ KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"
 KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
 
 # sound devices
-KERNEL="adsp",       NAME="sound/adsp",       SYMLINK="%k"
-KERNEL="audio",      NAME="sound/audio",      SYMLINK="%k"
-KERNEL="dsp",        NAME="sound/dsp",        SYMLINK="%k"
-KERNEL="mixer",      NAME="sound/mixer",      SYMLINK="%k"
-KERNEL="sequencer",  NAME="sound/sequencer",  SYMLINK="%k"
-KERNEL="sequencer2", NAME="sound/sequencer2", SYMLINK="%k"
+KERNEL="adsp",            NAME="sound/%k", SYMLINK="%k"
+KERNEL="adsp[0-9]*",      NAME="sound/%k", SYMLINK="%k"
+KERNEL="audio",           NAME="sound/%k", SYMLINK="%k"
+KERNEL="audio[0-9]*",     NAME="sound/%k", SYMLINK="%k"
+KERNEL="dsp",             NAME="sound/%k", SYMLINK="%k"
+KERNEL="dsp[0-9]*",       NAME="sound/%k", SYMLINK="%k"
+KERNEL="mixer",           NAME="sound/%k", SYMLINK="%k"
+KERNEL="mixer[0-9]*",     NAME="sound/%k", SYMLINK="%k"
+KERNEL="sequencer",       NAME="sound/%k", SYMLINK="%k"
+KERNEL="sequencer[0-9]*", NAME="sound/%k", SYMLINK="%k"
 
 # tty devices
 KERNEL="tty[0-9]*",    NAME="vc/%n",  SYMLINK="%k"