Magellan Linux

Diff of /tags/udev-162-r2/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 760 by niro, Fri Apr 24 14:19:13 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.1 2008-12-22 20:31:37 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-persistent-v4l.rules.magellan,v 1.2 2009-04-24 14:19:13 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 21  Line 21 
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    
24  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export"  SUBSYSTEMS=="usb", IMPORT{program}="usb_id --export %p"
25  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}"
26    
27  # check for valid "index" number  # check for valid "index" number

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