1 # Part of usb-modeswitch-data, version 20160612
3 # Works with usb_modeswitch versions >= 2.4.0 (extension of StandardEject)
5 ACTION!="add|change", GOTO="modeswitch_rules_end"
7 # Adds a symlink "gsmmodem[n]" to the lowest ttyUSB port with interrupt
8 # transfer; checked against a list of known modems, or else no action
9 KERNEL=="ttyUSB*", ATTRS{bNumConfigurations}=="*", PROGRAM="usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct} %E{PRODUCT}", SYMLINK+="%c"
11 SUBSYSTEM!="usb", ACTION!="add",, GOTO="modeswitch_rules_end"
14 # Generic entry for most Huawei devices, excluding Android phones
15 ATTRS{idVendor}=="12d1", ATTRS{manufacturer}!="Android", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'"
17 # HP LaserJet Professional P1102
18 ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", RUN+="usb_modeswitch '%b/%k'"
21 ATTR{idVendor}=="0408", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
23 # Quanta 1KR / USB-lte 7410
24 ATTR{idVendor}=="0408", ATTR{idProduct}=="ea17", RUN+="usb_modeswitch '%b/%k'"
27 ATTR{idVendor}=="0408", ATTR{idProduct}=="ea25", RUN+="usb_modeswitch '%b/%k'"
29 # Quanta MobileGenie 4G LTE, Quanta 1K6
30 ATTR{idVendor}=="0408", ATTR{idProduct}=="ea43", RUN+="usb_modeswitch '%b/%k'"
32 # Yota Router (Quanta 1QDLZZZ0ST2)
33 ATTR{idVendor}=="0408", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
36 ATTR{idVendor}=="0408", ATTR{idProduct}=="f001", RUN+="usb_modeswitch '%b/%k'"
39 ATTR{idVendor}=="0421", ATTR{idProduct}=="060c", RUN+="usb_modeswitch '%b/%k'"
42 ATTR{idVendor}=="0421", ATTR{idProduct}=="0610", RUN+="usb_modeswitch '%b/%k'"
45 ATTR{idVendor}=="0421", ATTR{idProduct}=="0618", RUN+="usb_modeswitch '%b/%k'"
48 ATTR{idVendor}=="0421", ATTR{idProduct}=="061d", RUN+="usb_modeswitch '%b/%k'"
51 ATTR{idVendor}=="0421", ATTR{idProduct}=="0622", RUN+="usb_modeswitch '%b/%k'"
54 ATTR{idVendor}=="0421", ATTR{idProduct}=="0627", RUN+="usb_modeswitch '%b/%k'"
57 ATTR{idVendor}=="0421", ATTR{idProduct}=="062c", RUN+="usb_modeswitch '%b/%k'"
60 ATTR{idVendor}=="0421", ATTR{idProduct}=="0632", RUN+="usb_modeswitch '%b/%k'"
63 ATTR{idVendor}=="0421", ATTR{idProduct}=="0637", RUN+="usb_modeswitch '%b/%k'"
65 # Philips (?), Vodafone MD950 (Wisue Technology)
66 ATTR{idVendor}=="0471", ATTR{idProduct}=="1210", RUN+="usb_modeswitch '%b/%k'"
68 # Philips TalkTalk (NXP Semiconductors "Dragonfly")
69 ATTR{idVendor}=="0471", ATTR{idProduct}=="1237", RUN+="usb_modeswitch '%b/%k'"
71 # Kyocera W06K CDMA modem
72 ATTR{idVendor}=="0482", ATTR{idProduct}=="024d", RUN+="usb_modeswitch '%b/%k'"
74 # I-O Data WMX2-U Wimax
75 ATTR{idVendor}=="04bb", ATTR{idProduct}=="bccd", RUN+="usb_modeswitch '%b/%k'"
77 # Alcatel-Lucent ABS-T920
78 ATTR{idVendor}=="04cc", ATTR{idProduct}=="2251", RUN+="usb_modeswitch '%b/%k'"
80 # Alcatel-Lucent T930S
81 ATTR{idVendor}=="04cc", ATTR{idProduct}=="225c", RUN+="usb_modeswitch '%b/%k'"
83 # Nexperia TM TD-SCDMA
84 ATTR{idVendor}=="04cc", ATTR{idProduct}=="226e", RUN+="usb_modeswitch '%b/%k'"
86 # Nexperia TM TD-SCDMA (Variant)
87 ATTR{idVendor}=="04cc", ATTR{idProduct}=="226f", RUN+="usb_modeswitch '%b/%k'"
90 ATTR{idVendor}=="04e8", ATTR{idProduct}=="680c", RUN+="usb_modeswitch '%b/%k'"
93 ATTR{idVendor}=="04e8", ATTR{idProduct}=="689a", RUN+="usb_modeswitch '%b/%k'"
96 ATTR{idVendor}=="04e8", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
98 # Sunplus Techn. SU-3200U
99 ATTR{idVendor}=="04fc", ATTR{idProduct}=="2140", RUN+="usb_modeswitch '%b/%k'"
101 # AVM Fritz!Wlan USB Stick N v2
102 ATTR{idVendor}=="057c", ATTR{idProduct}=="62ff", RUN+="usb_modeswitch '%b/%k'"
104 # AVM Fritz!Wlan USB Stick N
105 ATTR{idVendor}=="057c", ATTR{idProduct}=="84ff", RUN+="usb_modeswitch '%b/%k'"
107 # Axesstel Modems (w/ initial idProduct 0x0010)
108 ATTR{idVendor}=="05c6", ATTR{idProduct}=="0010", RUN+="usb_modeswitch '%b/%k'"
110 # TechFaith Venus VT-18, AnyDATA devices, Bless UC165, Samsung SGH-Z810, StrongRising device, Vertex Wireless 100 Series, Celot K-300, Older Option devices, Prolink P2000 CDMA, Celot CT-680
111 ATTR{idVendor}=="05c6", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
114 ATTR{idVendor}=="05c6", ATTR{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'"
116 # D-Link DWM-162-U5, DWM-162 C1, Micromax MMX 300c
117 ATTR{idVendor}=="05c6", ATTR{idProduct}=="2001", RUN+="usb_modeswitch '%b/%k'"
120 ATTR{idVendor}=="05c6", ATTR{idProduct}=="6503", RUN+="usb_modeswitch '%b/%k'"
122 # Alcatel-sbell ASB TL131 TD-LTE
123 ATTR{idVendor}=="05c6", ATTR{idProduct}=="9024", RUN+="usb_modeswitch '%b/%k'"
126 ATTR{idVendor}=="05c6", ATTR{idProduct}=="98ff", RUN+="usb_modeswitch '%b/%k'"
128 # Siptune LM-75 ("LinuxModem")
129 ATTR{idVendor}=="05c6", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
131 # Qtronix EVDO 3G Modem (for TianYi)
132 ATTR{idVendor}=="05c7", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
134 # ZE-3G 7.2Mbs HSPA modem
135 ATTR{idVendor}=="0685", ATTR{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'"
137 # InfoCert Business Key (SmartCard/Reader emulation)
138 ATTR{idVendor}=="072f", ATTR{idProduct}=="100d", RUN+="usb_modeswitch '%b/%k'"
140 # D-Link DWM-156 HSUPA 3.75G USB Modem
141 ATTR{idVendor}=="07d1", ATTR{idProduct}=="a800", RUN+="usb_modeswitch '%b/%k'"
143 # D-Link DWM-156 HSUPA 3.75G USB Modem
144 ATTR{idVendor}=="07d1", ATTR{idProduct}=="a804", RUN+="usb_modeswitch '%b/%k'"
147 ATTR{idVendor}=="07d1", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
150 ATTR{idVendor}=="0922", ATTR{idProduct}=="1001", RUN+="usb_modeswitch '%b/%k'"
152 # Dymo LabelManager 420P
153 ATTR{idVendor}=="0922", ATTR{idProduct}=="1003", RUN+="usb_modeswitch '%b/%k'"
155 # Dymo LabelManager Wireless PnP
156 ATTR{idVendor}=="0922", ATTR{idProduct}=="1007", RUN+="usb_modeswitch '%b/%k'"
159 ATTR{idVendor}=="0930", ATTR{idProduct}=="0d46", RUN+="usb_modeswitch '%b/%k'"
161 # Zydas ZD1211RW WLAN USB, Sphairon HomeLink 1202 (Variant 1)
162 ATTR{idVendor}=="0ace", ATTR{idProduct}=="2011", RUN+="usb_modeswitch '%b/%k'"
164 # Zydas ZD1211RW WLAN USB, Sphairon HomeLink 1202 (Variant 2)
165 ATTR{idVendor}=="0ace", ATTR{idProduct}=="20ff", RUN+="usb_modeswitch '%b/%k'"
168 ATTR{idVendor}=="0af0", ATTR{idProduct}=="4007", RUN+="usb_modeswitch '%b/%k'"
171 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6711", RUN+="usb_modeswitch '%b/%k'"
174 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6731", RUN+="usb_modeswitch '%b/%k'"
177 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6751", RUN+="usb_modeswitch '%b/%k'"
180 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6771", RUN+="usb_modeswitch '%b/%k'"
183 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6791", RUN+="usb_modeswitch '%b/%k'"
186 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6811", RUN+="usb_modeswitch '%b/%k'"
189 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6911", RUN+="usb_modeswitch '%b/%k'"
192 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6951", RUN+="usb_modeswitch '%b/%k'"
195 ATTR{idVendor}=="0af0", ATTR{idProduct}=="6971", RUN+="usb_modeswitch '%b/%k'"
198 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7011", RUN+="usb_modeswitch '%b/%k'"
201 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7031", RUN+="usb_modeswitch '%b/%k'"
204 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7051", RUN+="usb_modeswitch '%b/%k'"
207 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7071", RUN+="usb_modeswitch '%b/%k'"
210 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7111", RUN+="usb_modeswitch '%b/%k'"
213 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7211", RUN+="usb_modeswitch '%b/%k'"
216 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7251", RUN+="usb_modeswitch '%b/%k'"
219 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7271", RUN+="usb_modeswitch '%b/%k'"
222 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7301", RUN+="usb_modeswitch '%b/%k'"
225 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7311", RUN+="usb_modeswitch '%b/%k'"
228 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7361", RUN+="usb_modeswitch '%b/%k'"
231 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7381", RUN+="usb_modeswitch '%b/%k'"
234 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7401", RUN+="usb_modeswitch '%b/%k'"
237 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7501", RUN+="usb_modeswitch '%b/%k'"
240 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7601", RUN+="usb_modeswitch '%b/%k'"
243 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7701", RUN+="usb_modeswitch '%b/%k'"
246 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7706", RUN+="usb_modeswitch '%b/%k'"
249 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7801", RUN+="usb_modeswitch '%b/%k'"
252 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7901", RUN+="usb_modeswitch '%b/%k'"
255 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7a01", RUN+="usb_modeswitch '%b/%k'"
258 ATTR{idVendor}=="0af0", ATTR{idProduct}=="7a05", RUN+="usb_modeswitch '%b/%k'"
260 # Option Globetrotter (Variant)
261 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8006", RUN+="usb_modeswitch '%b/%k'"
264 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8200", RUN+="usb_modeswitch '%b/%k'"
267 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8201", RUN+="usb_modeswitch '%b/%k'"
270 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8300", RUN+="usb_modeswitch '%b/%k'"
273 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8302", RUN+="usb_modeswitch '%b/%k'"
276 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8304", RUN+="usb_modeswitch '%b/%k'"
279 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8400", RUN+="usb_modeswitch '%b/%k'"
282 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8600", RUN+="usb_modeswitch '%b/%k'"
284 # Option GI0643 (aka XYFI)
285 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8700", RUN+="usb_modeswitch '%b/%k'"
288 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8800", RUN+="usb_modeswitch '%b/%k'"
291 ATTR{idVendor}=="0af0", ATTR{idProduct}=="8900", RUN+="usb_modeswitch '%b/%k'"
294 ATTR{idVendor}=="0af0", ATTR{idProduct}=="9000", RUN+="usb_modeswitch '%b/%k'"
297 ATTR{idVendor}=="0af0", ATTR{idProduct}=="9200", RUN+="usb_modeswitch '%b/%k'"
300 ATTR{idVendor}=="0af0", ATTR{idProduct}=="c031", RUN+="usb_modeswitch '%b/%k'"
303 ATTR{idVendor}=="0af0", ATTR{idProduct}=="c100", RUN+="usb_modeswitch '%b/%k'"
305 # Option GlobeTrotter GI1515
306 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d001", RUN+="usb_modeswitch '%b/%k'"
309 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d013", RUN+="usb_modeswitch '%b/%k'"
312 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d031", RUN+="usb_modeswitch '%b/%k'"
315 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d033", RUN+="usb_modeswitch '%b/%k'"
318 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d035", RUN+="usb_modeswitch '%b/%k'"
321 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d055", RUN+="usb_modeswitch '%b/%k'"
324 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d057", RUN+="usb_modeswitch '%b/%k'"
327 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d058", RUN+="usb_modeswitch '%b/%k'"
330 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d155", RUN+="usb_modeswitch '%b/%k'"
333 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d157", RUN+="usb_modeswitch '%b/%k'"
336 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d255", RUN+="usb_modeswitch '%b/%k'"
339 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d257", RUN+="usb_modeswitch '%b/%k'"
342 ATTR{idVendor}=="0af0", ATTR{idProduct}=="d357", RUN+="usb_modeswitch '%b/%k'"
344 # Olivetti Olicard 100 and others
345 ATTR{idVendor}=="0b3c", ATTR{idProduct}=="c700", RUN+="usb_modeswitch '%b/%k'"
347 # Olivetti Olicard 145, 155
348 ATTR{idVendor}=="0b3c", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
350 # Olivetti Olicard 160
351 ATTR{idVendor}=="0b3c", ATTR{idProduct}=="f00c", RUN+="usb_modeswitch '%b/%k'"
353 # Olivetti Olicard 500
354 ATTR{idVendor}=="0b3c", ATTR{idProduct}=="f017", RUN+="usb_modeswitch '%b/%k'"
357 ATTR{idVendor}=="0bdb", ATTR{idProduct}=="190d", RUN+="usb_modeswitch '%b/%k'"
359 # Ericsson F5521gw (Variant)
360 ATTR{idVendor}=="0bdb", ATTR{idProduct}=="1910", RUN+="usb_modeswitch '%b/%k'"
362 # Atheros Wireless / Netgear WNDA3200
363 ATTR{idVendor}=="0cf3", ATTR{idProduct}=="20ff", RUN+="usb_modeswitch '%b/%k'"
365 # Kobil mIdentity 3G (1)
366 ATTR{idVendor}=="0d46", ATTR{idProduct}=="45a1", RUN+="usb_modeswitch '%b/%k'"
368 # Kobil mIdentity 3G (2)
369 ATTR{idVendor}=="0d46", ATTR{idProduct}=="45a5", RUN+="usb_modeswitch '%b/%k'"
371 # Mobile Action ("Smart Cable")
372 ATTR{idVendor}=="0df7", ATTR{idProduct}=="0800", RUN+="usb_modeswitch '%b/%k'"
374 # MediaTek/Medion S4222 and probably others, MediaTek MT6276M and others
375 ATTR{idVendor}=="0e8d", ATTR{idProduct}=="0002", RUN+="usb_modeswitch '%b/%k'"
377 # MediaTek Wimax USB Card
378 ATTR{idVendor}=="0e8d", ATTR{idProduct}=="7109", RUN+="usb_modeswitch '%b/%k'"
380 # BlackBerry Q10 and Z10
381 ATTR{idVendor}=="0fca", ATTR{idProduct}=="8020", RUN+="usb_modeswitch '%b/%k'"
383 # Sony Ericsson MD300
384 ATTR{idVendor}=="0fce", ATTR{idProduct}=="d0cf", RUN+="usb_modeswitch '%b/%k'"
386 # Sony Ericsson EC400
387 ATTR{idVendor}=="0fce", ATTR{idProduct}=="d0df", RUN+="usb_modeswitch '%b/%k'"
389 # Sony Ericsson MD400
390 ATTR{idVendor}=="0fce", ATTR{idProduct}=="d0e1", RUN+="usb_modeswitch '%b/%k'"
392 # Sony Ericsson MD400G
393 ATTR{idVendor}=="0fce", ATTR{idProduct}=="d103", RUN+="usb_modeswitch '%b/%k'"
395 # GW D301 (Advinne AMC)
396 ATTR{idVendor}=="0fd1", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
398 # LG LDU-1900D EV-DO (Rev. A)
399 ATTR{idVendor}=="1004", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
401 # LG HDM-2100 (EVDO Rev.A USB modem)
402 ATTR{idVendor}=="1004", ATTR{idProduct}=="607f", RUN+="usb_modeswitch '%b/%k'"
405 ATTR{idVendor}=="1004", ATTR{idProduct}=="613a", RUN+="usb_modeswitch '%b/%k'"
407 # LG LUU-2100TI (aka AT&T USBConnect Turbo)
408 ATTR{idVendor}=="1004", ATTR{idProduct}=="613f", RUN+="usb_modeswitch '%b/%k'"
411 ATTR{idVendor}=="1004", ATTR{idProduct}=="614e", RUN+="usb_modeswitch '%b/%k'"
414 ATTR{idVendor}=="1004", ATTR{idProduct}=="6156", RUN+="usb_modeswitch '%b/%k'"
417 ATTR{idVendor}=="1004", ATTR{idProduct}=="6190", RUN+="usb_modeswitch '%b/%k'"
420 ATTR{idVendor}=="1004", ATTR{idProduct}=="61aa", RUN+="usb_modeswitch '%b/%k'"
423 ATTR{idVendor}=="1004", ATTR{idProduct}=="61dd", RUN+="usb_modeswitch '%b/%k'"
426 ATTR{idVendor}=="1004", ATTR{idProduct}=="61e7", RUN+="usb_modeswitch '%b/%k'"
428 # LG L-08C (NTT docomo)
429 ATTR{idVendor}=="1004", ATTR{idProduct}=="61eb", RUN+="usb_modeswitch '%b/%k'"
432 ATTR{idVendor}=="1004", ATTR{idProduct}=="6327", RUN+="usb_modeswitch '%b/%k'"
435 ATTR{idVendor}=="1033", ATTR{idProduct}=="0035", RUN+="usb_modeswitch '%b/%k'"
437 # UTStarcom UM175 (distributor "Alltel")
438 ATTR{idVendor}=="106c", ATTR{idProduct}=="3b03", RUN+="usb_modeswitch '%b/%k'"
440 # Pantech / UTStarcom UMW190 (Verizon)
441 ATTR{idVendor}=="106c", ATTR{idProduct}=="3b05", RUN+="usb_modeswitch '%b/%k'"
443 # UTStarcom UM185E (distributor "Alltel")
444 ATTR{idVendor}=="106c", ATTR{idProduct}=="3b06", RUN+="usb_modeswitch '%b/%k'"
447 ATTR{idVendor}=="106c", ATTR{idProduct}=="3b11", RUN+="usb_modeswitch '%b/%k'"
449 # Option Beemo / Pantech P4200 LTE
450 ATTR{idVendor}=="106c", ATTR{idProduct}=="3b14", RUN+="usb_modeswitch '%b/%k'"
452 # Sagem F@ST 9520-35-GLR
453 ATTR{idVendor}=="1076", ATTR{idProduct}=="7f40", RUN+="usb_modeswitch '%b/%k'"
455 # Hisense E910 EVDO Phone
456 ATTR{idVendor}=="109b", ATTR{idProduct}=="f009", RUN+="usb_modeswitch '%b/%k'"
458 # Pantech/Verizon UML295, Use 1 for automatic choice, 2 for RNDIS, 4 for QMI
459 ATTR{idVendor}=="10a9", ATTR{idProduct}=="606f", RUN+="usb_modeswitch '%b/%k'"
462 ATTR{idVendor}=="10a9", ATTR{idProduct}=="6080", RUN+="usb_modeswitch '%b/%k'"
464 # Sierra devices (specific driver)
465 ATTR{idVendor}=="1199", ATTR{idProduct}=="0fff", RUN+="usb_modeswitch '%b/%k'"
468 ATTR{idVendor}=="1199", ATTR{idProduct}=="9011", RUN+="usb_modeswitch '%b/%k'"
471 ATTR{idVendor}=="1199", ATTR{idProduct}=="9013", RUN+="usb_modeswitch '%b/%k'"
473 # Sierra MC8355 Variant
474 ATTR{idVendor}=="1199", ATTR{idProduct}=="9017", RUN+="usb_modeswitch '%b/%k'"
477 ATTR{idVendor}=="1199", ATTR{idProduct}=="901b", RUN+="usb_modeswitch '%b/%k'"
480 ATTR{idVendor}=="1199", ATTR{idProduct}=="901c", RUN+="usb_modeswitch '%b/%k'"
483 ATTR{idVendor}=="1199", ATTR{idProduct}=="901f", RUN+="usb_modeswitch '%b/%k'"
486 ATTR{idVendor}=="1199", ATTR{idProduct}=="9041", RUN+="usb_modeswitch '%b/%k'"
489 ATTR{idVendor}=="1199", ATTR{idProduct}=="9051", RUN+="usb_modeswitch '%b/%k'"
492 ATTR{idVendor}=="1199", ATTR{idProduct}=="9053", RUN+="usb_modeswitch '%b/%k'"
495 ATTR{idVendor}=="1199", ATTR{idProduct}=="9063", RUN+="usb_modeswitch '%b/%k'"
497 # Digicom 8E4455 (and all Pirelli devices - EXPERIMENTAL)
498 ATTR{idVendor}=="1266", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
501 ATTR{idVendor}=="12d1", ATTR{idProduct}=="1573", RUN+="usb_modeswitch '%b/%k'"
503 # Huawei ME906, ME909
504 ATTR{idVendor}=="12d1", ATTR{idProduct}=="15c1", RUN+="usb_modeswitch '%b/%k'"
506 # Cisco AM10 "Valet Connector"
507 ATTR{idVendor}=="1307", ATTR{idProduct}=="1169", RUN+="usb_modeswitch '%b/%k'"
509 # Novatel Wireless devices
510 ATTR{idVendor}=="1410", ATTR{idProduct}=="5010", RUN+="usb_modeswitch '%b/%k'"
513 ATTR{idVendor}=="1410", ATTR{idProduct}=="5020", RUN+="usb_modeswitch '%b/%k'"
516 ATTR{idVendor}=="1410", ATTR{idProduct}=="5023", RUN+="usb_modeswitch '%b/%k'"
519 ATTR{idVendor}=="1410", ATTR{idProduct}=="5030", RUN+="usb_modeswitch '%b/%k'"
522 ATTR{idVendor}=="1410", ATTR{idProduct}=="5031", RUN+="usb_modeswitch '%b/%k'"
524 # Novatel Generic MiFi 2352 / Vodafone MiFi 2352
525 ATTR{idVendor}=="1410", ATTR{idProduct}=="5041", RUN+="usb_modeswitch '%b/%k'"
528 ATTR{idVendor}=="1410", ATTR{idProduct}=="5055", RUN+="usb_modeswitch '%b/%k'"
530 # Novatel Wireless MC545 HSPA, U679 LTE
531 ATTR{idVendor}=="1410", ATTR{idProduct}=="5059", RUN+="usb_modeswitch '%b/%k'"
533 # Novatel Generic MiFi 2372 / Vodafone MiFi 2372
534 ATTR{idVendor}=="1410", ATTR{idProduct}=="7001", RUN+="usb_modeswitch '%b/%k'"
537 ATTR{idVendor}=="1410", ATTR{idProduct}=="9020", RUN+="usb_modeswitch '%b/%k'"
539 # Sequans SQN1210/SQN1220 (generic chipsets)
540 ATTR{idVendor}=="148e", ATTR{idProduct}=="a000", RUN+="usb_modeswitch '%b/%k'"
542 # Motorola 802.11 bg WLAN (TER/GUSB3-E)
543 ATTR{idVendor}=="148f", ATTR{idProduct}=="2578", RUN+="usb_modeswitch '%b/%k'"
545 # China TeleCom CBP7.0
546 ATTR{idVendor}=="15eb", ATTR{idProduct}=="7153", RUN+="usb_modeswitch '%b/%k'"
549 ATTR{idVendor}=="1614", ATTR{idProduct}=="0800", RUN+="usb_modeswitch '%b/%k'"
552 ATTR{idVendor}=="1614", ATTR{idProduct}=="0802", RUN+="usb_modeswitch '%b/%k'"
555 ATTR{idVendor}=="16d8", ATTR{idProduct}=="6281", RUN+="usb_modeswitch '%b/%k'"
557 # C-motech D-50 (aka "CDU-680", "CNU-680")
558 ATTR{idVendor}=="16d8", ATTR{idProduct}=="6803", RUN+="usb_modeswitch '%b/%k'"
561 ATTR{idVendor}=="16d8", ATTR{idProduct}=="6804", RUN+="usb_modeswitch '%b/%k'"
564 ATTR{idVendor}=="16d8", ATTR{idProduct}=="700a", RUN+="usb_modeswitch '%b/%k'"
566 # C-motech CHU-629S (Variant)
567 ATTR{idVendor}=="16d8", ATTR{idProduct}=="700b", RUN+="usb_modeswitch '%b/%k'"
569 # C-motech CGU-628 (aka "Franklin Wireless CGU-628A" aka "4G Systems XS Stick W12")
570 ATTR{idVendor}=="16d8", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
573 ATTR{idVendor}=="1726", ATTR{idProduct}=="f00e", RUN+="usb_modeswitch '%b/%k'"
576 ATTR{idVendor}=="1782", ATTR{idProduct}=="0003", RUN+="usb_modeswitch '%b/%k'"
578 # JOA Telecom LM-700r
579 ATTR{idVendor}=="198a", ATTR{idProduct}=="0003", RUN+="usb_modeswitch '%b/%k'"
582 ATTR{idVendor}=="198f", ATTR{idProduct}=="bccd", RUN+="usb_modeswitch '%b/%k'"
585 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0003", RUN+="usb_modeswitch '%b/%k'"
588 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0026", RUN+="usb_modeswitch '%b/%k'"
590 # Vodafone (ZTE) K2525
591 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0040", RUN+="usb_modeswitch '%b/%k'"
593 # ZTE MF110 (Variant)
594 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0053", RUN+="usb_modeswitch '%b/%k'"
596 # ZTE MF110 (Variant)
597 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0083", RUN+="usb_modeswitch '%b/%k'"
599 # Vodafone (ZTE) K4505-Z
600 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0101", RUN+="usb_modeswitch '%b/%k'"
603 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0103", RUN+="usb_modeswitch '%b/%k'"
605 # ZTE MF637 (Variant for Orange France)
606 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0110", RUN+="usb_modeswitch '%b/%k'"
609 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0115", RUN+="usb_modeswitch '%b/%k'"
611 # ZTE MF652 (Variant)
612 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0146", RUN+="usb_modeswitch '%b/%k'"
614 # ZTE MF190 (Variant)
615 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0149", RUN+="usb_modeswitch '%b/%k'"
617 # ZTE MF656A, MF668A, MF669
618 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0150", RUN+="usb_modeswitch '%b/%k'"
620 # ZTE MF190 (Variant) and others
621 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0154", RUN+="usb_modeswitch '%b/%k'"
624 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0166", RUN+="usb_modeswitch '%b/%k'"
627 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0169", RUN+="usb_modeswitch '%b/%k'"
630 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0198", RUN+="usb_modeswitch '%b/%k'"
633 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0266", RUN+="usb_modeswitch '%b/%k'"
635 # ZTE MF821D (Variant)
636 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0304", RUN+="usb_modeswitch '%b/%k'"
639 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0318", RUN+="usb_modeswitch '%b/%k'"
642 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0325", RUN+="usb_modeswitch '%b/%k'"
644 # ZTE MF90 Mobile Hotspot
645 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0388", RUN+="usb_modeswitch '%b/%k'"
648 ATTR{idVendor}=="19d2", ATTR{idProduct}=="0413", RUN+="usb_modeswitch '%b/%k'"
650 # Vodafone (ZTE) K3805-Z
651 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1001", RUN+="usb_modeswitch '%b/%k'"
653 # Vodafone (ZTE) K3570-Z
654 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1007", RUN+="usb_modeswitch '%b/%k'"
656 # Vodafone (ZTE) K3571-Z
657 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1009", RUN+="usb_modeswitch '%b/%k'"
659 # Vodafone (ZTE) K3806-Z
660 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1013", RUN+="usb_modeswitch '%b/%k'"
662 # Vodafone K5006Z (MF821)
663 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1017", RUN+="usb_modeswitch '%b/%k'"
665 # Vodafone K5008-z (MF823)
666 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1030", RUN+="usb_modeswitch '%b/%k'"
668 # ZTE / Vodafone K4607-Z
669 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1038", RUN+="usb_modeswitch '%b/%k'"
671 # Vodafone (ZTE) K4510-Z
672 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1171", RUN+="usb_modeswitch '%b/%k'"
674 # Vodafone / ZTE K3770-Z
675 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1175", RUN+="usb_modeswitch '%b/%k'"
677 # Vodafone (ZTE) K3772-Z
678 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1179", RUN+="usb_modeswitch '%b/%k'"
680 # ZTE MF691 (T-Mobile Rocket 2.0)
681 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1201", RUN+="usb_modeswitch '%b/%k'"
683 # ZTE MF192 (Variant)
684 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1207", RUN+="usb_modeswitch '%b/%k'"
687 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1210", RUN+="usb_modeswitch '%b/%k'"
689 # ZTE MF192 (Variant)
690 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1216", RUN+="usb_modeswitch '%b/%k'"
692 # ZTE MF192 (Variant)
693 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1219", RUN+="usb_modeswitch '%b/%k'"
696 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1224", RUN+="usb_modeswitch '%b/%k'"
698 # ZTE MF668 (Variant), MF70
699 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1225", RUN+="usb_modeswitch '%b/%k'"
702 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1227", RUN+="usb_modeswitch '%b/%k'"
705 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1232", RUN+="usb_modeswitch '%b/%k'"
708 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1233", RUN+="usb_modeswitch '%b/%k'"
710 # ZTE / Vodafone K4201
711 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1237", RUN+="usb_modeswitch '%b/%k'"
714 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1238", RUN+="usb_modeswitch '%b/%k'"
717 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1420", RUN+="usb_modeswitch '%b/%k'"
720 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1511", RUN+="usb_modeswitch '%b/%k'"
722 # ZTE MF192 (Variant)
723 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1514", RUN+="usb_modeswitch '%b/%k'"
725 # ZTE MF192 (Variant)
726 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1517", RUN+="usb_modeswitch '%b/%k'"
729 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1520", RUN+="usb_modeswitch '%b/%k'"
732 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1523", RUN+="usb_modeswitch '%b/%k'"
735 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1528", RUN+="usb_modeswitch '%b/%k'"
738 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1536", RUN+="usb_modeswitch '%b/%k'"
741 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1542", RUN+="usb_modeswitch '%b/%k'"
744 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1580", RUN+="usb_modeswitch '%b/%k'"
746 # ZTE MF710M Variants
747 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1588", RUN+="usb_modeswitch '%b/%k'"
749 # ZTE MF710 (Vietnam) a.o.
750 ATTR{idVendor}=="19d2", ATTR{idProduct}=="1595", RUN+="usb_modeswitch '%b/%k'"
752 # ZTE devices, some Onda devices
753 ATTR{idVendor}=="19d2", ATTR{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'"
756 ATTR{idVendor}=="19d2", ATTR{idProduct}=="2004", RUN+="usb_modeswitch '%b/%k'"
759 ATTR{idVendor}=="19d2", ATTR{idProduct}=="bccd", RUN+="usb_modeswitch '%b/%k'"
761 # ZTE AC682 (a.k.a. SmartFren Connex)
762 ATTR{idVendor}=="19d2", ATTR{idProduct}=="ffde", RUN+="usb_modeswitch '%b/%k'"
764 # ZTE "ffe" devices 1 (e.g. Cricket A605)
765 ATTR{idVendor}=="19d2", ATTR{idProduct}=="ffe6", RUN+="usb_modeswitch '%b/%k'"
768 ATTR{idVendor}=="19d2", ATTR{idProduct}=="fff5", RUN+="usb_modeswitch '%b/%k'"
770 # ZTE "fff" devices 2
771 ATTR{idVendor}=="19d2", ATTR{idProduct}=="fff6", RUN+="usb_modeswitch '%b/%k'"
773 # BandRich BandLuxe C100, C120, C170, C270, C3xx, C508
774 ATTR{idVendor}=="1a8d", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
776 # BandRich BandLuxe C339
777 ATTR{idVendor}=="1a8d", ATTR{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'"
779 # Hummer DTM5731, Aircard 901
780 ATTR{idVendor}=="1ab7", ATTR{idProduct}=="5700", RUN+="usb_modeswitch '%b/%k'"
782 # EpiValley SEC-7089 (featured by Alegro and Starcomms / iZAP)
783 ATTR{idVendor}=="1b7d", ATTR{idProduct}=="0700", RUN+="usb_modeswitch '%b/%k'"
786 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="000f", RUN+="usb_modeswitch '%b/%k'"
789 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="00ca", RUN+="usb_modeswitch '%b/%k'"
792 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="011f", RUN+="usb_modeswitch '%b/%k'"
795 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="022c", RUN+="usb_modeswitch '%b/%k'"
798 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="025e", RUN+="usb_modeswitch '%b/%k'"
800 # Alcatel X200/X200L/X060S/L100V, Archos G9 3G Key
801 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
803 # Alcatel OT-X220D, L100V
804 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="f017", RUN+="usb_modeswitch '%b/%k'"
807 ATTR{idVendor}=="1bbb", ATTR{idProduct}=="f052", RUN+="usb_modeswitch '%b/%k'"
809 # Alcatel One Touch X020
810 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="1001", RUN+="usb_modeswitch '%b/%k'"
812 # TU930, IVIO IV-2010u
813 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="6000", RUN+="usb_modeswitch '%b/%k'"
816 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="6061", RUN+="usb_modeswitch '%b/%k'"
819 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9101", RUN+="usb_modeswitch '%b/%k'"
821 # MyWave SW006 Sport Phone/Modem Combination
822 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9200", RUN+="usb_modeswitch '%b/%k'"
825 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9401", RUN+="usb_modeswitch '%b/%k'"
828 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9800", RUN+="usb_modeswitch '%b/%k'"
830 # Telewell TW-3G HSPA+, FS01BU 3G, SmartBro WM66E
831 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="98ff", RUN+="usb_modeswitch '%b/%k'"
833 # XS Stick W100 (Omega)
834 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9bfe", RUN+="usb_modeswitch '%b/%k'"
837 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9d00", RUN+="usb_modeswitch '%b/%k'"
840 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9e00", RUN+="usb_modeswitch '%b/%k'"
843 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9e08", RUN+="usb_modeswitch '%b/%k'"
845 # Longcheer/Longsoon (aka Omega Technology) devices, MobiData MBD-200HU and others
846 ATTR{idVendor}=="1c9e", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
848 # TechFaith BSNL Capitel
849 ATTR{idVendor}=="1d09", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
852 ATTR{idVendor}=="1d09", ATTR{idProduct}=="1021", RUN+="usb_modeswitch '%b/%k'"
854 # TechFaith FlyingLARK46
855 ATTR{idVendor}=="1d09", ATTR{idProduct}=="1025", RUN+="usb_modeswitch '%b/%k'"
857 # Qisda H21 Flying Beetle
858 ATTR{idVendor}=="1da5", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
861 ATTR{idVendor}=="1dbc", ATTR{idProduct}=="0669", RUN+="usb_modeswitch '%b/%k'"
864 ATTR{idVendor}=="1dd6", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
866 # Philips PicoPix 1020 Projector
867 ATTR{idVendor}=="1de1", ATTR{idProduct}=="1101", RUN+="usb_modeswitch '%b/%k'"
869 # Option iCON 210, PROLiNK PHS100 + PH300, Hyundai MB-810, A-Link 3GU
870 ATTR{idVendor}=="1e0e", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
873 ATTR{idVendor}=="1e89", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
876 ATTR{idVendor}=="1edf", ATTR{idProduct}=="6003", RUN+="usb_modeswitch '%b/%k'"
879 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0003", RUN+="usb_modeswitch '%b/%k'"
882 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0007", RUN+="usb_modeswitch '%b/%k'"
885 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0009", RUN+="usb_modeswitch '%b/%k'"
887 # Onda MW833UP + MW835UP
888 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0013", RUN+="usb_modeswitch '%b/%k'"
891 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0018", RUN+="usb_modeswitch '%b/%k'"
894 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0040", RUN+="usb_modeswitch '%b/%k'"
897 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0045", RUN+="usb_modeswitch '%b/%k'"
900 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0048", RUN+="usb_modeswitch '%b/%k'"
903 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="004a", RUN+="usb_modeswitch '%b/%k'"
905 # Onda MDC655 Variant
906 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="004f", RUN+="usb_modeswitch '%b/%k'"
909 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0054", RUN+="usb_modeswitch '%b/%k'"
911 # Onda MSA 14.4 (TIM Brasil)
912 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0060", RUN+="usb_modeswitch '%b/%k'"
915 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0063", RUN+="usb_modeswitch '%b/%k'"
918 ATTR{idVendor}=="1ee8", ATTR{idProduct}=="0068", RUN+="usb_modeswitch '%b/%k'"
921 ATTR{idVendor}=="1f28", ATTR{idProduct}=="0021", RUN+="usb_modeswitch '%b/%k'"
923 # Franklin Wireless U210 (Variant)
924 ATTR{idVendor}=="1fac", ATTR{idProduct}=="0032", RUN+="usb_modeswitch '%b/%k'"
926 # Franklin Wireless U210
927 ATTR{idVendor}=="1fac", ATTR{idProduct}=="0130", RUN+="usb_modeswitch '%b/%k'"
929 # Franklin Wireless U600
930 ATTR{idVendor}=="1fac", ATTR{idProduct}=="0150", RUN+="usb_modeswitch '%b/%k'"
932 # Franklin Wireless U600
933 ATTR{idVendor}=="1fac", ATTR{idProduct}=="0151", RUN+="usb_modeswitch '%b/%k'"
936 ATTR{idVendor}=="2001", ATTR{idProduct}=="00a6", RUN+="usb_modeswitch '%b/%k'"
939 ATTR{idVendor}=="2001", ATTR{idProduct}=="98ff", RUN+="usb_modeswitch '%b/%k'"
942 ATTR{idVendor}=="2001", ATTR{idProduct}=="a401", RUN+="usb_modeswitch '%b/%k'"
944 # D-Link DWM-156 A8, DWP-157 B1
945 ATTR{idVendor}=="2001", ATTR{idProduct}=="a403", RUN+="usb_modeswitch '%b/%k'"
948 ATTR{idVendor}=="2001", ATTR{idProduct}=="a405", RUN+="usb_modeswitch '%b/%k'"
951 ATTR{idVendor}=="2001", ATTR{idProduct}=="a406", RUN+="usb_modeswitch '%b/%k'"
954 ATTR{idVendor}=="2001", ATTR{idProduct}=="a407", RUN+="usb_modeswitch '%b/%k'"
956 # D-Link DWM-156 A8 (Myanmar)
957 ATTR{idVendor}=="2001", ATTR{idProduct}=="a40a", RUN+="usb_modeswitch '%b/%k'"
960 ATTR{idVendor}=="2001", ATTR{idProduct}=="a40d", RUN+="usb_modeswitch '%b/%k'"
963 ATTR{idVendor}=="2001", ATTR{idProduct}=="a706", RUN+="usb_modeswitch '%b/%k'"
966 ATTR{idVendor}=="2001", ATTR{idProduct}=="a707", RUN+="usb_modeswitch '%b/%k'"
969 ATTR{idVendor}=="2001", ATTR{idProduct}=="a708", RUN+="usb_modeswitch '%b/%k'"
972 ATTR{idVendor}=="2001", ATTR{idProduct}=="a805", RUN+="usb_modeswitch '%b/%k'"
974 # D-Link DWM-156 (Variant)
975 ATTR{idVendor}=="2001", ATTR{idProduct}=="a80b", RUN+="usb_modeswitch '%b/%k'"
978 ATTR{idVendor}=="201e", ATTR{idProduct}=="1023", RUN+="usb_modeswitch '%b/%k'"
981 ATTR{idVendor}=="201e", ATTR{idProduct}=="2009", RUN+="usb_modeswitch '%b/%k'"
983 # Mediatek MT6229, Micromax MMX 377G, Olicard 300
984 ATTR{idVendor}=="2020", ATTR{idProduct}=="0002", RUN+="usb_modeswitch '%b/%k'"
987 ATTR{idVendor}=="2020", ATTR{idProduct}=="f00e", RUN+="usb_modeswitch '%b/%k'"
990 ATTR{idVendor}=="2020", ATTR{idProduct}=="f00f", RUN+="usb_modeswitch '%b/%k'"
992 # Changhong CH690, D-Link DWM-163 + DWM-168
993 ATTR{idVendor}=="2077", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
995 # Telenet 3G dongle (T&W WU160) and others
996 ATTR{idVendor}=="2077", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
999 ATTR{idVendor}=="20a6", ATTR{idProduct}=="f00a", RUN+="usb_modeswitch '%b/%k'"
1002 ATTR{idVendor}=="20a6", ATTR{idProduct}=="f00e", RUN+="usb_modeswitch '%b/%k'"
1005 ATTR{idVendor}=="20b9", ATTR{idProduct}=="1682", RUN+="usb_modeswitch '%b/%k'"
1007 # StrongRising (China Telcom), Air FlexiNet
1008 ATTR{idVendor}=="21f5", ATTR{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"
1010 # StrongRising STD808
1011 ATTR{idVendor}=="21f5", ATTR{idProduct}=="3010", RUN+="usb_modeswitch '%b/%k'"
1014 ATTR{idVendor}=="2262", ATTR{idProduct}=="0001", RUN+="usb_modeswitch '%b/%k'"
1017 ATTR{idVendor}=="22de", ATTR{idProduct}=="6801", RUN+="usb_modeswitch '%b/%k'"
1020 ATTR{idVendor}=="22de", ATTR{idProduct}=="6803", RUN+="usb_modeswitch '%b/%k'"
1023 ATTR{idVendor}=="22f4", ATTR{idProduct}=="0021", RUN+="usb_modeswitch '%b/%k'"
1025 # Linktop LW272/LW273 (BSNL Teracom)
1026 ATTR{idVendor}=="230d", ATTR{idProduct}=="0001", RUN+="usb_modeswitch '%b/%k'"
1028 # Linktop LW272/LW273 (BSNL Teracom)
1029 ATTR{idVendor}=="230d", ATTR{idProduct}=="0003", RUN+="usb_modeswitch '%b/%k'"
1032 ATTR{idVendor}=="230d", ATTR{idProduct}=="0007", RUN+="usb_modeswitch '%b/%k'"
1035 ATTR{idVendor}=="230d", ATTR{idProduct}=="000b", RUN+="usb_modeswitch '%b/%k'"
1037 # Intex Speed 3G v7.2
1038 ATTR{idVendor}=="230d", ATTR{idProduct}=="000d", RUN+="usb_modeswitch '%b/%k'"
1040 # Linktop LW272/LW273
1041 ATTR{idVendor}=="230d", ATTR{idProduct}=="0101", RUN+="usb_modeswitch '%b/%k'"
1044 ATTR{idVendor}=="230d", ATTR{idProduct}=="0103", RUN+="usb_modeswitch '%b/%k'"
1047 ATTR{idVendor}=="2357", ATTR{idProduct}=="0200", RUN+="usb_modeswitch '%b/%k'"
1050 ATTR{idVendor}=="2357", ATTR{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'"
1053 ATTR{idVendor}=="23a2", ATTR{idProduct}=="1010", RUN+="usb_modeswitch '%b/%k'"
1056 ATTR{idVendor}=="257a", ATTR{idProduct}=="a000", RUN+="usb_modeswitch '%b/%k'"
1059 ATTR{idVendor}=="257a", ATTR{idProduct}=="b000", RUN+="usb_modeswitch '%b/%k'"
1062 ATTR{idVendor}=="257a", ATTR{idProduct}=="c000", RUN+="usb_modeswitch '%b/%k'"
1065 ATTR{idVendor}=="257a", ATTR{idProduct}=="d000", RUN+="usb_modeswitch '%b/%k'"
1067 # Exiss Mobile E-190 series (made by C-motech)
1068 ATTR{idVendor}=="8888", ATTR{idProduct}=="6500", RUN+="usb_modeswitch '%b/%k'"
1070 # Aiko 81D, fw with wrong vendor ID
1071 ATTR{idVendor}=="ed09", ATTR{idProduct}=="1021", RUN+="usb_modeswitch '%b/%k'"
1073 LABEL="modeswitch_rules_end"