From: Matthias Schwarzott Date: Sat, 10 Nov 2007 15:17:47 +0000 (+0100) Subject: rules: Gentoo update X-Git-Tag: 174~1785 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=765729b9081f3b8edda4ed5e286bec69db1f3ca3 rules: Gentoo update --- diff --git a/etc/udev/gentoo/40-gentoo.rules b/etc/udev/gentoo/40-gentoo.rules new file mode 100644 index 000000000..99a1c66c6 --- /dev/null +++ b/etc/udev/gentoo/40-gentoo.rules @@ -0,0 +1,12 @@ +# do not edit this file, it will be overwritten on update + +# capi devices +KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" +KERNEL=="capi*", NAME="capi/%n" + +# old devfs path, removing this could break systems +# Bug 195839 +KERNEL=="md[0-9]*", SYMLINK+="md/%n" +KERNEL=="loop[0-9]*", SYMLINK+="loop/%n" +KERNEL=="ram[0-9]*", SYMLINK+="rd/%n" + diff --git a/etc/udev/gentoo/65-permissions.rules b/etc/udev/gentoo/65-permissions.rules index 523c79d7f..494f19e63 100644 --- a/etc/udev/gentoo/65-permissions.rules +++ b/etc/udev/gentoo/65-permissions.rules @@ -15,8 +15,12 @@ KERNEL=="st[0-9]*|nst[0-9]*|ht[0-9]*|nht[0-9]*|pt[0-9]*|npt[0-9]*", \ SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[18]", GROUP="tape", MODE="660" # dialout devices -KERNEL=="ippp*|isdn*|dcbri*", GROUP="uucp" +KERNEL=="ippp*|isdn*|dcbri*|capi*", GROUP="uucp" KERNEL=="pilot", GROUP="uucp" # sound devices (sound=alsa, snd=oss) SUBSYSTEM=="sound|snd", GROUP="audio" + +# Sony Vaio Jogdial sonypi device +KERNEL=="sonypi", MODE="0666" +