Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] No ISDN CAPI with new udev
Date: Sun, 08 Apr 2012 15:02:47
Message-Id: 4F81A7F8.9030808@wonkology.org
1 Hi there!
2
3 I can no longer connect to my ISDN peers. I think the reason is a recent
4 change in the new udev.
5
6 I have two rules in /etc/udev/rules.d/50-capi.conf:
7
8 KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20faxCAPI",
9 GROUP="uucp", MODE="0666"
10
11 KERNEL=="capi*", NAME="capi/%n"
12
13 The first renames /dev/capi to /dev/capi20 and creates a symlink I do
14 not need. The second creates a device in the capi sub-directory.
15
16 But I get this in my syslog:
17 Apr 08 15:34:34 [udevd] NAME="capi20" ignored, kernel device nodes can
18 not be renamed; please fix it in /etc/udev/rules.d/50-capi.rules:1_
19 Apr 08 15:34:34 [udevd] NAME="capi/%n" ignored, kernel device nodes can
20 not be renamed; please fix it in /etc/udev/rules.d/50-capi.rules:3_
21
22 Indeed, the udev(7) man page has this:
23
24 ------------------------snip--------------------------------------------
25 The following keys can get values assigned:
26
27
28 NAME
29
30 The name to use for a network interface. The name of a device node
31 can not be changed by udev, only additional symlinks can be
32 created.
33 ------------------------snap--------------------------------------------
34
35 An older version, like currently on http://linux.die.net/man/7/udev ,
36 still has this:
37
38 ------------------------snip--------------------------------------------
39 NAME
40 The name of the node to be created, or the name the network
41 interface should be renamed to.
42 ------------------------snap--------------------------------------------
43
44 So it seems that a /dev/capi gets created which cannot be renamed any
45 more, and so I cannot have a /dev/capi/* device.
46
47 Any ideas what to do about this? Google does not find anything when I
48 search for the "kernel device nodes can not be renamed" syslog message.
49
50 Wonko