usb_modeswitch: ver. 1.1.9 with data package 2011-08-05
[tomato.git] / release / src / router / usbmodeswitch / data / README
blob24f7f8a2c2103ba43a5fab2be4ed1596857280c0
1 README for USB_ModeSwitch Data
4 For up-to-date and detailed information (plus a friendly forum) visit
5 http://www.draisberghof.de/usb_modeswitch
7 PLEASE REPORT NEW DEVICES !
11 This is a data package to complement the full release package of
12 USB_ModeSwitch, a tool to switch multi-mode USB devices.
13 It is used since usb-modeswitch version 1.0.3.
15 Recommended version of usb-modeswitch package is 1.1.4 and above. Some
16 devices contained here may not be switched with older versions, even if
17 they will not cause any error.
20 Tasks initiated by the rules file:
21 ==================================
23 - call wrapper to initiate switching for known devices when plugged in
24   (starting from version 1.1.4 at boot time too)
26 - adding symlink "gsmmodem" to appropriate connection port (out of 2-5
27   ports provided by some devices); this is only a help for handling and
28   NOT needed for switching to work.
29   This action will be done for known modems only (at least switched once
30   on this system)
32 - loading and binding the "option" driver if the device arrives in modem
33   state (not CDC/ACM!) and the device ID is not yet known to the driver.
34   This action will be done for known modems only (at least switched once
35   on this system)
38 Explanation about config file names:
39 ====================================
41 Names consist of <VendorID>:<ProductID>, respective to the default device
42 mode.
43 Should more detailed identification become necessary, one or more attributes
44 to test can be attached after further colons:
45 <VendorID>:<ProductID>:<Attribute>=<String>[:<Attribute>=<String> ...]
47 The strings match if they are part of the attribute content. Use "_"
48 to match spaces (it will match "_" too!).
50 Currently recognized attibutes are:
52 uMa = USB, iManufacturer
53 uPr = USB, iProduct
54 uSe = USB, iSerial
55 sVe = SCSI, Vendor
56 sMo = SCSI, Model
57 sRe = SCSI, Revision
59 This list is easily extendable if necessary.
61 Example:
62 <vid>:<pid>:uPr=CDMA_Mo will match iProduct "CDMA Modem" or "MyCDMA_Mordor"
65 If information is missing about ambiguous devices, a ":?" is attached
66 to the file/ID in question. Please contact the forum if you need help
67 in such a case.
70 Parameters used only in config files:
71 =====================================
73 These are not evaluated by the binary but by the wrapper.
75 WaitBefore=<seconds>            delay the switching process
77 DriverModule=<module name>      load a specific driver module after switch
79 DriverIDPath=<path to attribute>
80                                 if the driver has the ability to add new device IDs
81                                 on-the-fly, this is the file node to use.
82                                 Example: "/sys/bus/usb-serial/drivers/option1/new_id"
86 Notes about specific devices:
87 =============================
89 - 16d8:6803 (C-motech D50, CDU-680): two versions popped up; one with
90   ID unchanged, target class 0xff, providing standard serial ports,
91   and one with target product 0x680a, providing an ACM port. There is
92   not enough information how to tell them apart; if you have the second
93   one, we badly need information (usb_modeswitch output with SCSI inquiry)
95 - 1004:607f (LG KP500): switching message derived from report but untested
97 - 1266:1000 (Royaltek Q110): switching method very likely but unconfirmed
99 - 1a8d:1000 (BandLuxe): now just one config for all devices; the new parameter
100   "ReleaseDelay" will improve ambiguous behaviour on older systems
102 - Some WiMAX and LTE devices are included since 20101222; for most of these
103   there are no working Linux drivers available yet. Efforts are underway.
104   Stand by or search for "staging drivers".
106 - 05c6:2000 (unnamed HSDPA modem from "dealextreme"): unusually long switching
107   time, even with MS Windoze - 30 to 40 seconds. Don't be alarmed.
109 - 0471:1210 (Philips chipset): had to be split after variants with different
110   targets and behaviour appeared. This is not properly tested yet, please
111   report problems.
114 Legal
115 =====
117 This program is free software; you can redistribute it and/or modify it under
118 the terms of the GNU General Public License as published by the Free Software
119 Foundation; either version 2 of the License, or (at your option) any later
120 version.
122 This program is distributed in the hope that it will be useful, but WITHOUT ANY
123 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
124 PARTICULAR PURPOSE.  See the GNU General Public License for more details:
126 http://www.gnu.org/licenses/gpl.txt
128 Or find it as the file COPYING in this folder.
133 Last revised: 2011-07-14, Josua Dietze