Re: udev-135: capi-rules not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 2, 2008 at 21:07, Matthias Schwarzott <zzam@xxxxxxxxxx> 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"
>
> I have no clue why, but these rules make capi devices not work.
>
> 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.

I've changed the rules in the git tree now to include a subsystem
match, and also the check for the instance number.

We should really fix such broken rules, which match with a single key
for only a few characters followed by a wildcard.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux