Magellan Linux

Diff of /trunk/udev/udev-persistent-serial.rules.magellan

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 883 by niro, Fri Apr 24 14:20:02 2009 UTC revision 884 by niro, Tue Oct 13 10:46:20 2009 UTC
# Line 1  Line 1 
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:
# Line 24  KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOT Line 24  KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOT
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    

Legend:
Removed from v.883  
changed lines
  Added in v.884