--- trunk/udev/udev-option-modem-modeswitch.rules.magellan 2009/10/13 15:10:19 888 +++ trunk/udev/udev-option-modem-modeswitch.rules.magellan 2010/04/06 23:46:22 1016 @@ -1,5 +1,5 @@ # /etc/udev/rules/61-option-modem-modeswitch.rules: device naming rules for udev -# $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 $ # # There are a number of modifiers that are allowed to be used in some # of the different fields. They provide the following subsitutions: @@ -18,6 +18,9 @@ # file that can be run before this one. # +# NOTE: only for devices manufactured by Option NV +# DO NOT add devices that are not manufactured by Option NV + ACTION!="add", GOTO="option_zerocd_end" SUBSYSTEM=="usb", ATTR{bDeviceClass}!="ff", ENV{DEVTYPE}=="usb_device", GOTO="option_zerocd_disable" @@ -54,6 +57,8 @@ 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}=="7601", 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" -ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd" + +# NOTE: only for devices manufactured by Option NV +# DO NOT add devices that are not manufactured by Option NV LABEL="option_zerocd_end"