From 765729b9081f3b8edda4ed5e286bec69db1f3ca3 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Sat, 10 Nov 2007 16:17:47 +0100 Subject: [PATCH] rules: Gentoo update --- etc/udev/gentoo/40-gentoo.rules | 12 ++++++++++++ etc/udev/gentoo/65-permissions.rules | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 etc/udev/gentoo/40-gentoo.rules 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" + -- 2.30.2