Magellan Linux

Diff of /trunk/udev/udev-option-modem-modeswitch.rules.magellan

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

revision 1015 by niro, Tue Oct 13 15:10:19 2009 UTC revision 1016 by niro, Tue Apr 6 23:46:22 2010 UTC
# Line 1  Line 1 
1  # /etc/udev/rules/61-option-modem-modeswitch.rules:  device naming rules for udev  # /etc/udev/rules/61-option-modem-modeswitch.rules:  device naming rules for udev
2  # $Header: /root/magellan-cvs/src/udev/udev-option-modem-modeswitch.rules.magellan,v 1.1 2009-10-13 15:10:19 niro Exp $  # $Header: /root/magellan-cvs/src/udev/udev-option-modem-modeswitch.rules.magellan,v 1.2 2010-04-06 23:46:22 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    # NOTE: only for devices manufactured by Option NV
22    # DO NOT add devices that are not manufactured by Option NV
23    
24  ACTION!="add", GOTO="option_zerocd_end"  ACTION!="add", GOTO="option_zerocd_end"
25    
26  SUBSYSTEM=="usb", ATTR{bDeviceClass}!="ff", ENV{DEVTYPE}=="usb_device", GOTO="option_zerocd_disable"  SUBSYSTEM=="usb", ATTR{bDeviceClass}!="ff", ENV{DEVTYPE}=="usb_device", GOTO="option_zerocd_disable"
# Line 54  ATTRS{idVendor}=="0af0", ATTRS{idProduct Line 57  ATTRS{idVendor}=="0af0", ATTRS{idProduct
57  ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7501", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"  ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7501", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"
58  ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7601", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"  ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7601", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"
59  ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7901", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"  ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7901", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"
60  ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"  
61    # NOTE: only for devices manufactured by Option NV
62    # DO NOT add devices that are not manufactured by Option NV
63    
64  LABEL="option_zerocd_end"  LABEL="option_zerocd_end"

Legend:
Removed from v.1015  
changed lines
  Added in v.1016