chiark / gitweb /
rules: fix isdn rules
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 3 Dec 2008 00:32:00 +0000 (01:32 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 3 Dec 2008 00:32:00 +0000 (01:32 +0100)
On Tue, Dec 2, 2008 at 21:07, Matthias Schwarzott <zzam@gentoo.org> wrote:
> It seems that the rules related to capi devices are not correct:
>
> KERNEL=="capi",         NAME="capi20", SYMLINK+="isdn/capi20"
> KERNEL=="capi*",        NAME="capi/%n"
>
> Changing the second rule to match only on KERNEL=="capi[0-9]*" is reported to
> make it work.
> So I can only guess that the problem is the second rule overwriting the NAME
> set by the first one.

rules/packages/40-isdn.rules

index f2bc34e5c8058fe395662110c17ec264c7feee39..8a4686f0b70469b8791ea9d139266e5bc530fe1f 100644 (file)
@@ -1,5 +1,4 @@
 # do not edit this file, it will be overwritten on update
 
-SUBSYSTEM=="capi",     GROUP="uucp"
-KERNEL=="capi",                NAME="capi20", SYMLINK+="isdn/capi20"
-KERNEL=="capi*",       NAME="capi/%n"
+SUBSYSTEM=="capi", KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20", GROUP="uucp"
+SUBSYSTEM=="tty", KERNEL=="capi[0-9]*", NAME="capi/%n"