1 |
# /etc/udev/rules/80-drivers.rules: device naming rules for udev |
# /etc/udev/rules/80-drivers.rules: device naming rules for udev |
2 |
# $Header: /root/magellan-cvs/src/udev/udev-drivers.rules.magellan,v 1.4 2009-10-13 10:46:20 niro Exp $ |
# $Header: /root/magellan-cvs/src/udev/udev-drivers.rules.magellan,v 1.5 2010-08-18 02:24:12 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 |
|
|
21 |
ACTION!="add", GOTO="drivers_end" |
ACTION=="remove", GOTO="drivers_end" |
22 |
|
|
23 |
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="modprobe.sh -b $env{MODALIAS}" |
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="modprobe.sh -b $env{MODALIAS}" |
24 |
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="modprobe.sh -b tifm_sd" |
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="modprobe.sh -b tifm_sd" |