--- trunk/udev/udev-magellan.rules.magellan 2008/03/22 18:13:36 516 +++ trunk/udev/udev-magellan.rules.magellan 2009/04/24 14:19:13 760 @@ -1,5 +1,5 @@ # /etc/udev/rules/40-magellan.rules: magellan-linux specific rules for udev -# $Header: /root/magellan-cvs/src/udev/udev-magellan.rules.magellan,v 1.1 2008-03-22 18:13:36 niro Exp $ +# $Header: /root/magellan-cvs/src/udev/udev-magellan.rules.magellan,v 1.2 2009-04-24 14:19:13 niro Exp $ # # There are a number of modifiers that are allowed to be used in some # of the different fields. They provide the following subsitutions: @@ -18,12 +18,26 @@ # file that can be run before this one. # -# 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" +