1 | # /etc/usb_modeswitch.conf |
---|
2 | # |
---|
3 | # Last modified: 2008-05-06 |
---|
4 | # |
---|
5 | # Configuration for usb_modeswitch, a mode switching tool for controlling |
---|
6 | # flip flop (multiple device) USB gear |
---|
7 | # |
---|
8 | # Triggers the switching of several known UMTS modems from storage device mode |
---|
9 | # ("ZeroCD TM" for use with MS Windows) to modem (serial) device mode |
---|
10 | # |
---|
11 | # Detailed instructions and a friendly forum on the homepage: |
---|
12 | # http://www.draisberghof.de/usb_modeswitch |
---|
13 | |
---|
14 | # Note: Timing of execution might be an issue (less so with recent |
---|
15 | # versions of the tool). See homepage! |
---|
16 | |
---|
17 | # What it all means: |
---|
18 | # |
---|
19 | # * DefaultVendor |
---|
20 | # * DefaultProduct |
---|
21 | # |
---|
22 | # This is the ID the USB device shows after having been plugged in. |
---|
23 | # The tool looks for this if not found -> no action. |
---|
24 | # |
---|
25 | # * TargetVendor |
---|
26 | # * TargetProduct |
---|
27 | # |
---|
28 | # This is the ID the USB device after successful mode switching. |
---|
29 | # ! From version 0.9.4 just for information purposes ! |
---|
30 | # |
---|
31 | # * TargetClass |
---|
32 | # |
---|
33 | # Newer Option devices don't change IDs but switch device class. If |
---|
34 | # the device has the target class -> no action. |
---|
35 | # |
---|
36 | # * MessageEndpoint |
---|
37 | # |
---|
38 | # A kind of address inside the interface to which the "message" |
---|
39 | # (the sequence that does the actual switching) is directed |
---|
40 | # |
---|
41 | # * MessageContent |
---|
42 | # |
---|
43 | # A hex string containing the "message" sequence it will be |
---|
44 | # sent as a USB bulk transfer. |
---|
45 | # |
---|
46 | # * ResponseEndpoint |
---|
47 | # * NeedResponse |
---|
48 | # |
---|
49 | # Some devices were reported to require receiving the response of the |
---|
50 | # bulk transfer to do the switching properly. Usually not needed. |
---|
51 | # |
---|
52 | # * DetachStorageOnly |
---|
53 | # |
---|
54 | # Some devices just need to be detached from the usb-storage |
---|
55 | # driver to initiate the mode switching. Using this feature |
---|
56 | # instead of removing the usbstorage module completely keeps other |
---|
57 | # storage devices working. |
---|
58 | # |
---|
59 | # * HuaweiMode |
---|
60 | # |
---|
61 | # Some Huawei devices can be switched by a special control |
---|
62 | # message. |
---|
63 | # |
---|
64 | # All other entries are just ignored ... |
---|
65 | # |
---|
66 | # |
---|
67 | # For filling in all this information for an unknown device, |
---|
68 | # note its Vendor and Product ID after plugging in (usb-storage) |
---|
69 | # from /proc/bus/usb/devices (or from the output of "lsusb"), then |
---|
70 | # try spying on the USB communication to this device inside a |
---|
71 | # Micro$oft OS. Recommended tool: "SniffUSB" |
---|
72 | # |
---|
73 | # If you find working codes and configurations, please contribute |
---|
74 | # them! |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | ####################################################### |
---|
79 | # Option GlobeSurfer Icon (aka "Vodafone EasyBox") |
---|
80 | # |
---|
81 | # The message SHOULD be the same for all Option devices |
---|
82 | |
---|
83 | ;DefaultVendor= 0x05c6 |
---|
84 | ;DefaultProduct= 0x1000 |
---|
85 | |
---|
86 | ;TargetVendor= 0x0af0 |
---|
87 | ;TargetProduct= 0x6600 |
---|
88 | |
---|
89 | ;MessageEndpoint=0x05 |
---|
90 | ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" |
---|
91 | |
---|
92 | |
---|
93 | ####################################################### |
---|
94 | # Option GlobeSurfer Icon 7.2 |
---|
95 | # |
---|
96 | # Contributor: The Pharscape Forum |
---|
97 | |
---|
98 | ;DefaultVendor= 0x05c6 |
---|
99 | ;DefaultProduct= 0x1000 |
---|
100 | |
---|
101 | ;TargetVendor= 0x0af0 |
---|
102 | ;TargetProduct= 0x6901 |
---|
103 | |
---|
104 | ;MessageEndpoint=0x05 |
---|
105 | ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" |
---|
106 | |
---|
107 | |
---|
108 | ####################################################### |
---|
109 | # Option GlobeSurfer Icon 7.2, new firmware (HSO driver) |
---|
110 | # |
---|
111 | # Vendor/ProductID don't change when switching, only the device |
---|
112 | # class does. |
---|
113 | # HSO driver support is available at Pharscape (www.pharscape.org) |
---|
114 | # |
---|
115 | # Contributor: Paul Hardwick |
---|
116 | |
---|
117 | ;DefaultVendor= 0x0af0 |
---|
118 | ;DefaultProduct= 0x6911 |
---|
119 | |
---|
120 | ;TargetClass= 0xff |
---|
121 | |
---|
122 | ;MessageEndpoint=0x05 |
---|
123 | ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" |
---|
124 | |
---|
125 | |
---|
126 | ####################################################### |
---|
127 | # Option Icon 225 HSDPA |
---|
128 | # |
---|
129 | # New Firmware. HSO driver support is available at Pharscape (www.pharscape.org) |
---|
130 | # |
---|
131 | # Contributor: Matti Viljanen |
---|
132 | |
---|
133 | ;DefaultVendor= 0x0af0 |
---|
134 | ;DefaultProduct= 0x6971 |
---|
135 | |
---|
136 | ;TargetClass= 0xff |
---|
137 | |
---|
138 | ;MessageEndpoint=0x05 |
---|
139 | ;MessageContent="55534243785634120100000080000601000000000000000000000000000000" |
---|
140 | |
---|
141 | |
---|
142 | ####################################################### |
---|
143 | # Option GlobeTrotter HSUPA Modem (aka "T-Mobile Web'n'walk Card Compact III') |
---|
144 | # |
---|
145 | # New Firmware. HSO driver support is available at Pharscape (www.pharscape.org) |
---|
146 | # |
---|
147 | # Contributor: Gerold Gruber |
---|
148 | |
---|
149 | ;DefaultVendor= 0x0af0 |
---|
150 | ;DefaultProduct= 0x7011 |
---|
151 | |
---|
152 | ;TargetClass= 0xff |
---|
153 | |
---|
154 | ;MessageEndpoint=0x05 |
---|
155 | ;MessageContent="55534243785634120100000080000601000000000000000000000000000000" |
---|
156 | |
---|
157 | |
---|
158 | ######################################################## |
---|
159 | # Option GlobeTrotter GT MAX 3.6 (aka "T-Mobile Web'n'walk Card Compact II") |
---|
160 | # |
---|
161 | # Contributor: Bernd Holzmüller |
---|
162 | |
---|
163 | ;DefaultVendor= 0x05c6 |
---|
164 | ;DefaultProduct= 0x1000 |
---|
165 | |
---|
166 | ;TargetVendor= 0x0af0 |
---|
167 | ;TargetProduct= 0x6600 |
---|
168 | |
---|
169 | ;MessageEndpoint=0x05 |
---|
170 | ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" |
---|
171 | |
---|
172 | ;ResponseEndpoint=0x84 |
---|
173 | ;NeedResponse=1 |
---|
174 | |
---|
175 | |
---|
176 | ######################################################## |
---|
177 | # Option GlobeTrotter GT MAX "7.2 Ready" |
---|
178 | # |
---|
179 | # Contributors: Lucas Benedicic, Morgwai Kotarbinski |
---|
180 | |
---|
181 | ;DefaultVendor= 0x05c6 |
---|
182 | ;DefaultProduct= 0x1000 |
---|
183 | |
---|
184 | ;TargetVendor= 0x0af0 |
---|
185 | ;TargetProduct= 0x6701 |
---|
186 | |
---|
187 | ;MessageEndpoint=0x05 |
---|
188 | ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" |
---|
189 | |
---|
190 | |
---|
191 | |
---|
192 | ######################################################## |
---|
193 | # Option GlobeTrotter EXPRESS 7.2 (aka "T-Mobile wnw Express II") |
---|
194 | # |
---|
195 | # Contributor: Fridtjof Busse |
---|
196 | |
---|
197 | ;DefaultVendor= 0x05c6 |
---|
198 | ;DefaultProduct= 0x1000 |
---|
199 | |
---|
200 | ;TargetVendor= 0x0af0 |
---|
201 | ;TargetProduct= 0x6701 |
---|
202 | |
---|
203 | ;MessageEndpoint=0x05 |
---|
204 | ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" |
---|
205 | |
---|
206 | # This is neccessary according to one (1) report |
---|
207 | ;ResponseEndpoint=0x84 |
---|
208 | ;NeedResponse=1 |
---|
209 | |
---|
210 | |
---|
211 | ######################################################## |
---|
212 | # Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro") |
---|
213 | # Huawei E270 |
---|
214 | # Huawei E870 |
---|
215 | # |
---|
216 | # Two options: 1. removal of "usb-storage" 2. the special control |
---|
217 | # message found by Miroslav Bobovsky |
---|
218 | # |
---|
219 | # Contributor: Hans Kurent, Denis Sutter |
---|
220 | |
---|
221 | ;DefaultVendor= 0x12d1; |
---|
222 | ;DefaultProduct= 0x1003 |
---|
223 | |
---|
224 | # choose one of these: |
---|
225 | ;DetachStorageOnly=1 |
---|
226 | ;HuaweiMode=1 |
---|
227 | |
---|
228 | |
---|
229 | ######################################################## |
---|
230 | # Huawei E169 |
---|
231 | # |
---|
232 | # Contributor: Dale Lane |
---|
233 | |
---|
234 | ;DefaultVendor= 0x12d1; |
---|
235 | ;DefaultProduct= 0x1001 |
---|
236 | |
---|
237 | # choose one of these: |
---|
238 | ;DetachStorageOnly=1 |
---|
239 | ;HuaweiMode=1 |
---|
240 | |
---|
241 | |
---|
242 | ######################################################## |
---|
243 | # Huawei E630 (Experimental) |
---|
244 | # |
---|
245 | # You might also try to use the new Huawei sequence with it |
---|
246 | # |
---|
247 | # Beware: there are modem-only variants around - no storage, |
---|
248 | # no switching necessary! |
---|
249 | # |
---|
250 | # Contributor: Joakim Wenrgren |
---|
251 | |
---|
252 | ;DefaultVendor= 0x1033 |
---|
253 | ;DefaultProduct= 0x0035 |
---|
254 | |
---|
255 | ;TargetVendor= 0x12d1 |
---|
256 | ;TargetProduct= 0x1003 |
---|
257 | |
---|
258 | ;DetachStorageOnly=1 |
---|
259 | |
---|
260 | |
---|
261 | ######################################################## |
---|
262 | # ZTE MF620 (aka "Onda MH600HS") |
---|
263 | # |
---|
264 | # Probably works with DetachStorageOnly too |
---|
265 | # |
---|
266 | # Contributor: Flávio Moringa |
---|
267 | |
---|
268 | ;DefaultVendor= 0x19d2 |
---|
269 | ;DefaultProduct= 0x2000 |
---|
270 | |
---|
271 | ;TargetVendor= 0x19d2 |
---|
272 | ;TargetProduct= 0x0001 |
---|
273 | |
---|
274 | ;MessageEndpoint=0x04 |
---|
275 | ;MessageContent="55534243123456780000000000000600000000000000000000000000000000" |
---|
276 | |
---|
277 | |
---|
278 | ######################################################## |
---|
279 | # ZTE MF622 |
---|
280 | # |
---|
281 | # Contributor: Pedro Algarvio |
---|
282 | |
---|
283 | ;DefaultVendor= 0x19d2 |
---|
284 | ;DefaultProduct= 0x2000 |
---|
285 | |
---|
286 | ;TargetVendor= 0x19d2 |
---|
287 | ;TargetProduct= 0x0001 |
---|
288 | |
---|
289 | ;DetachStorageOnly=1 |
---|
290 | |
---|
291 | |
---|
292 | ######################################################## |
---|
293 | # ONDA MT505UP (most likely a ZTE model) |
---|
294 | # |
---|
295 | # Contributor: Alex Scortegagna |
---|
296 | |
---|
297 | ;DefaultVendor= 0x19d2 |
---|
298 | ;DefaultProduct= 0x2000 |
---|
299 | |
---|
300 | ;TargetVendor= 0x19d2 |
---|
301 | ;TargetProduct= 0x0002 |
---|
302 | |
---|
303 | ;MessageEndpoint=0x03 |
---|
304 | ;MessageContent="555342434056af880000010080000a28000000001c00002000000000000000" |
---|
305 | |
---|
306 | |
---|
307 | ######################################################## |
---|
308 | # Novatel Wireless Ovation MC950D HSUPA |
---|
309 | # Novatel Wireless Merlin XU950D |
---|
310 | # Novatel Wireless Ovation 930D |
---|
311 | # |
---|
312 | # Contributor: Razvan Dragomirescu, Mike Kirk |
---|
313 | |
---|
314 | ;DefaultVendor= 0x1410 |
---|
315 | ;DefaultProduct= 0x5010 |
---|
316 | |
---|
317 | ;TargetVendor= 0x1410 |
---|
318 | ;TargetProduct= 0x4400 |
---|
319 | |
---|
320 | ;MessageEndpoint=0x09 |
---|
321 | ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" |
---|
322 | |
---|
323 | # Note: detaching the storage driver might work as well |
---|
324 | |
---|
325 | |
---|
326 | ######################################################## |
---|
327 | # Novatel U727 USB modem |
---|
328 | # |
---|
329 | # Modem only versions (no switching required) are around. |
---|
330 | # |
---|
331 | # Contributor: Chris Thielen |
---|
332 | |
---|
333 | ;DefaultVendor= 0x1410 |
---|
334 | ;DefaultProduct= 0x5010 |
---|
335 | |
---|
336 | ;TargetVendor= 0x1410 |
---|
337 | ;TargetProduct= 0x4100 |
---|
338 | |
---|
339 | ;MessageEndpoint=0x08 |
---|
340 | ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" |
---|
341 | |
---|
342 | |
---|
343 | ######################################################## |
---|
344 | # Alcatel OT-X020 |
---|
345 | # |
---|
346 | # Contributor: Aleksandar Samardzic |
---|
347 | |
---|
348 | ;DefaultVendor= 0x1c9e |
---|
349 | ;DefaultProduct= 0x1001 |
---|
350 | |
---|
351 | ;TargetVendor= 0x1c9e |
---|
352 | ;TargetProduct= 0x6061 |
---|
353 | |
---|
354 | ;MessageEndpoint=0x05 |
---|
355 | ;MessageContent="55534243123456780000000000000606f50402527000000000000000000000" |
---|
356 | |
---|
357 | |
---|
358 | ######################################################## |
---|
359 | # AnyDATA ADU-500A, ADU-510A, ADU-520A |
---|
360 | # |
---|
361 | # Contributor: Vladimir Poluektov |
---|
362 | |
---|
363 | ;DefaultVendor= 0x05c6 |
---|
364 | ;DefaultProduct= 0x1000 |
---|
365 | |
---|
366 | ;TargetVendor= 0x16d5 |
---|
367 | ;TargetProduct= 0x6502 |
---|
368 | |
---|
369 | ;MessageEndpoint=0x00000008 |
---|
370 | ;MessageContent="5553424328932a86000000000000061b000000020000000000000000000000" |
---|
371 | |
---|
372 | ######################################################## |
---|
373 | # Quanta MU-Q101 |
---|
374 | # |
---|
375 | # Contributor: |
---|
376 | |
---|
377 | DefaultVendor= 0x0408 |
---|
378 | DefaultProduct= 0x1000 |
---|
379 | |
---|
380 | TargetVendor= 0x0408 |
---|
381 | TargetProduct= 0xea02 |
---|
382 | |
---|
383 | MessageEndpoint=0x05 |
---|
384 | MessageContent="5553424338474ffc0002000000000a2a000000003300000100000000000000" |
---|