summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-11-10 16:17:47 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-11-10 16:17:47 +0100
commit765729b9081f3b8edda4ed5e286bec69db1f3ca3 (patch)
tree555cf5a01cbf3cd44660dd22b63c03127f4f0bec
parentd6856b85a1fb022fb2ba7c860290341af8bc75bd (diff)
rules: Gentoo update
-rw-r--r--etc/udev/gentoo/40-gentoo.rules12
-rw-r--r--etc/udev/gentoo/65-permissions.rules6
2 files changed, 17 insertions, 1 deletions
diff --git a/etc/udev/gentoo/40-gentoo.rules b/etc/udev/gentoo/40-gentoo.rules
new file mode 100644
index 0000000000..99a1c66c69
--- /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 523c79d7f8..494f19e63f 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"
+