1 |
# /etc/udev/rules/60-persistent-serial.rules: device naming rules for udev |
# /etc/udev/rules/60-persistent-serial.rules: device naming rules for udev |
2 |
# $Header: /root/magellan-cvs/src/udev/udev-persistent-serial.rules.magellan,v 1.1 2009-04-24 14:20:02 niro Exp $ |
# $Header: /root/magellan-cvs/src/udev/udev-persistent-serial.rules.magellan,v 1.2 2009-10-13 10:46:20 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: |
24 |
|
|
25 |
SUBSYSTEMS=="usb-serial", ENV{ID_PORT}="$attr{port_number}" |
SUBSYSTEMS=="usb-serial", ENV{ID_PORT}="$attr{port_number}" |
26 |
|
|
27 |
IMPORT="path_id" |
IMPORT="path_id %p" |
28 |
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="", SYMLINK+="serial/by-path/$env{ID_PATH}" |
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="", SYMLINK+="serial/by-path/$env{ID_PATH}" |
29 |
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="?*", SYMLINK+="serial/by-path/$env{ID_PATH}-port$env{ID_PORT}" |
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="?*", SYMLINK+="serial/by-path/$env{ID_PATH}-port$env{ID_PORT}" |
30 |
|
|