diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-01-27 11:56:45 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-27 11:56:45 +0100 |
commit | 57d057d28d96fdbf36b7a5f32ded7af5d3b8d6f1 (patch) | |
tree | 5ab9e498570070648fb4a2490adae6c44b8c8c31 /rules/gentoo/40-gentoo.rules | |
parent | 705e1c7ffe417a04334877707c2eddf42418b0f6 (diff) |
rules: Gentoo update
Diffstat (limited to 'rules/gentoo/40-gentoo.rules')
-rw-r--r-- | rules/gentoo/40-gentoo.rules | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/rules/gentoo/40-gentoo.rules b/rules/gentoo/40-gentoo.rules index 99a1c66c69..4751b51bce 100644 --- a/rules/gentoo/40-gentoo.rules +++ b/rules/gentoo/40-gentoo.rules @@ -1,12 +1,25 @@ # 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" +# keep devices after driver unload +KERNEL=="ppp", OPTIONS+="ignore_remove" +KERNEL=="tun", OPTIONS+="ignore_remove" + + +# setting permissions +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" + +# dialout devices +KERNEL=="ippp*|isdn*|dcbri*|rfcomm*|ttyACM[0-9]*|pilot", GROUP="dialout" + +# sound devices (oss) +SUBSYSTEM=="snd", GROUP="audio" + +# Sony Vaio Jogdial sonypi device +KERNEL=="sonypi", MODE="0666" + |