Magellan Linux

Diff of /tags/udev-171-r1/udev.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 781 by niro, Mon May 4 21:51:39 2009 UTC
# Line 1  Line 1 
1  # /etc/udev/rules/50-udev.rules:  device naming rules for udev  # /etc/udev/rules/50-udev.rules:  device naming rules for udev
2  # $Header: /root/magellan-cvs/src/udev/udev.rules.magellan,v 1.7 2009-04-24 14:19:13 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev.rules.magellan,v 1.8 2009-05-04 21:51:39 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 64  SUBSYSTEM=="dvb", ENV{DVB_ADAPTER_NUM}== Line 64  SUBSYSTEM=="dvb", ENV{DVB_ADAPTER_NUM}==
64  SUBSYSTEM=="dvb", ENV{DVB_ADAPTER_NUM}=="", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video"  SUBSYSTEM=="dvb", ENV{DVB_ADAPTER_NUM}=="", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video"
65    
66  # Firewire  # Firewire
67  +KERNEL=="dv1394[0-9]*", NAME="dv1394/%n", GROUP="video"  KERNEL=="dv1394[0-9]*", NAME="dv1394/%n", GROUP="video"
68  +KERNEL=="video1394[0-9]*", NAME="video1394/%n", GROUP="video"  KERNEL=="video1394[0-9]*", NAME="video1394/%n", GROUP="video"
69    
70  # libusb device nodes  # libusb device nodes
71  SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"  SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"

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