summaryrefslogtreecommitdiff
path: root/extras/modem-modeswitch
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-11-23 13:54:35 -0800
committerDan Williams <dcbw@redhat.com>2009-11-23 13:54:35 -0800
commit73045f9d3923c5046729921dc919b886655cfbc7 (patch)
treedd0dc70565d3a89d011995ec51f8a1ab4a47e7be /extras/modem-modeswitch
parent8a993fab2f218234f06743bcc127dda61a45711b (diff)
modem-modeswitch: 61-option-modem-modeswitch.rules is only for Option NV devices
Make people aware that they shouldn't add devices not manufactured by Option NV to 61-option-modem-modeswitch.rules. modem-modeswitch only supports ejecting the fake CD for Option NV devices at this time. People should be using (and fixing) usb_modeswitch instead of modem-modeswitch.
Diffstat (limited to 'extras/modem-modeswitch')
-rw-r--r--extras/modem-modeswitch/61-option-modem-modeswitch.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/modem-modeswitch/61-option-modem-modeswitch.rules b/extras/modem-modeswitch/61-option-modem-modeswitch.rules
index 19dc5b4965..053733efb3 100644
--- a/extras/modem-modeswitch/61-option-modem-modeswitch.rules
+++ b/extras/modem-modeswitch/61-option-modem-modeswitch.rules
@@ -1,3 +1,6 @@
+# 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"
@@ -35,4 +38,7 @@ ATTRS{idVendor}=="0af0", ATTRS{idProduct}=="7501", RUN+="modem-modeswitch -v 0x%
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"
+# NOTE: only for devices manufactured by Option NV
+# DO NOT add devices that are not manufactured by Option NV
+
LABEL="option_zerocd_end"