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 717 by niro, Mon Dec 22 20:31:37 2008 UTC revision 1088 by niro, Wed Aug 18 02:24:13 2010 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.1 2008-12-22 20:31:37 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-persistent-v4l.rules.magellan,v 1.4 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:
# Line 18  Line 18 
18  # file that can be run before this one.  # file that can be run before this one.
19  #  #
20    
21  ACTION!="add|change", GOTO="persistent_v4l_end"  ACTION=="remove", 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  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export"  IMPORT{program}="v4l_id $tempnode"
26    
27    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}"
29    
30  # check for valid "index" number  # check for valid "index" number

Legend:
Removed from v.717  
changed lines
  Added in v.1088