--- trunk/udev/udev-persistent-serial.rules.magellan 2009/04/24 14:20:02 762 +++ trunk/udev/udev-persistent-serial.rules.magellan 2009/10/13 10:46:20 884 @@ -1,5 +1,5 @@ # /etc/udev/rules/60-persistent-serial.rules: device naming rules for udev -# $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 $ # # There are a number of modifiers that are allowed to be used in some # of the different fields. They provide the following subsitutions: @@ -24,7 +24,7 @@ SUBSYSTEMS=="usb-serial", ENV{ID_PORT}="$attr{port_number}" -IMPORT="path_id" +IMPORT="path_id %p" 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}-port$env{ID_PORT}"