1 |
# /etc/udev/rules/40-magellan.rules: magellan-linux specific rules for udev |
# /etc/udev/rules/40-magellan.rules: magellan-linux specific rules for udev |
2 |
# $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 $ |
3 |
# |
# |
4 |
# There are a number of modifiers that are allowed to be used in some |
# There are a number of modifiers that are allowed to be used in some |
5 |
# of the different fields. They provide the following subsitutions: |
# of the different fields. They provide the following subsitutions: |
18 |
# file that can be run before this one. |
# file that can be run before this one. |
19 |
# |
# |
20 |
|
|
|
# capi devices |
|
|
KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" |
|
|
KERNEL=="capi*", NAME="capi/%n" |
|
|
|
|
21 |
# old devfs path, removing this could break systems |
# old devfs path, removing this could break systems |
22 |
# Bug 195839 |
# Bug 195839 |
23 |
KERNEL=="md[0-9]*", SYMLINK+="md/%n" |
KERNEL=="md[0-9]*", SYMLINK+="md/%n" |
24 |
KERNEL=="loop[0-9]*", SYMLINK+="loop/%n" |
KERNEL=="loop[0-9]*", SYMLINK+="loop/%n" |
25 |
KERNEL=="ram[0-9]*", SYMLINK+="rd/%n" |
KERNEL=="ram[0-9]*", SYMLINK+="rd/%n" |
26 |
|
|
27 |
|
# keep devices after driver unload |
28 |
|
KERNEL=="ppp", OPTIONS+="ignore_remove" |
29 |
|
KERNEL=="tun", OPTIONS+="ignore_remove" |
30 |
|
|
31 |
|
|
32 |
|
# setting permissions |
33 |
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" |
34 |
|
|
35 |
|
# dialout devices |
36 |
|
KERNEL=="ippp*|isdn*|dcbri*|rfcomm*|ttyACM[0-9]*|pilot", GROUP="dialout" |
37 |
|
|
38 |
|
# sound devices (oss) |
39 |
|
SUBSYSTEM=="snd", GROUP="audio" |
40 |
|
|
41 |
|
# Sony Vaio Jogdial sonypi device |
42 |
|
KERNEL=="sonypi", MODE="0666" |
43 |
|
|