X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=rules%2Fgentoo%2F40-gentoo.rules;h=4751b51bce05da1d57f996c3b8e58ef0cf4c18c3;hb=647f7c49e8ddfbbe2afd9545484a3ad936f438e9;hp=99a1c66c6927936199fc23dfd273190e70a2d37c;hpb=282988c4f8a85c28468e6442e86efe51dc71cc93;p=elogind.git diff --git a/rules/gentoo/40-gentoo.rules b/rules/gentoo/40-gentoo.rules index 99a1c66c6..4751b51bc 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" +