Magellan Linux

Diff of /tags/udev-171-r1/udev-persistent-v4l.rules.magellan

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

revision 760 by niro, Fri Apr 24 14:19:13 2009 UTC revision 884 by niro, Tue Oct 13 10:46:20 2009 UTC
# Line 1  Line 1 
1  # /etc/udev/rules/60-persistent-v4l.rules:  device naming rules for udev  # /etc/udev/rules/60-persistent-v4l.rules:  device naming rules for udev
2  # $Header: /root/magellan-cvs/src/udev/udev-persistent-v4l.rules.magellan,v 1.2 2009-04-24 14:19:13 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-persistent-v4l.rules.magellan,v 1.3 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 20  Line 20 
20    
21  ACTION!="add|change", GOTO="persistent_v4l_end"  ACTION!="add|change", GOTO="persistent_v4l_end"
22  SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end"  SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end"
23    ENV{MAJOR}=="", GOTO="persistent_v4l_end"
24    
25    IMPORT{program}="v4l_id $tempnode"
26    
27  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p"  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p"
28  KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"  KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"

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