# /etc/usb_modeswitch.conf # # Last modified: 2008-10-29 # # Configuration for usb_modeswitch, a mode switching tool for controlling # flip flop (multiple device) USB gear # # Main purpose is to trigger the switching of several known UMTS modems # from storage device mode ("ZeroCD TM" for use with MS Windows) to modem # (serial) device mode # # Detailed instructions and a friendly forum on the homepage: # http://www.draisberghof.de/usb_modeswitch # Just set or remove the comment signs (# and ;) in order to activate # your device. # # For custom settings: # Numbers can be decimal or hexadecimal, MessageStrings MUST be # hexadecimal without prepended "0x". Digits 9-16 in the known # MessageStrings are arbitrary; I set them to "12345678" # What it all means (command line flags appended): # # * DefaultVendor -v # * DefaultProduct -p # # This is the ID the USB device shows after having been plugged in. # The tool looks for this; if not found -> no action. # # * TargetVendor -V # * TargetProduct -P # # This is the ID the USB device after successful mode switching. # ! From version 0.9.4 just for information purposes ! # # * TargetClass -C # # Newer Option devices don't change IDs but switch device class. If # the device has the target class -> no action (and vice versa) # # * MessageEndpoint -m # # A kind of address inside the interface to which the "message" # (the sequence that does the actual switching) is directed # # * MessageContent -M # # A hex string containing the "message" sequence; it will be # sent as a USB bulk transfer. # # * ResponseEndpoint -r # * NeedResponse -n <0/1> OBSOLETE; just give ResponseEndpoint # # Some devices were reported to require receiving the response of the # bulk transfer to do the switching properly. Usually not needed. # # * DetachStorageOnly -d <0/1> # # Some devices just need to be detached from the usb-storage # driver to initiate the mode switching. Using this feature # instead of removing the whole usbstorage module keeps other # storage devices working. # # * HuaweiMode -H <0/1> # # Some Huawei devices can be switched by a special control # message. # # * ResetUSB -R <0/1> # # Some devices need a rougher treatment. If the switching seems # to do something (run udevmonitor), but your system does not reflect # it, try this somewhat brutal method to do a reset after switching. # Mind that if your device switched OK before, this will probably set # it back to storage mode ... # # * Interface -i # * Configuration -u # * AltSetting -a # # More USB parameter to help with tricky devices and for doing lots # of cruel experiments ... # # All other entries are just ignored ! # Additional command line flags: # # Verbose output -W # No output at all -q # Other config file -c # For filling in all this information for an unknown device, # note its Vendor and Product ID after plugging in (usb-storage) # from /proc/bus/usb/devices (or from the output of "lsusb"), then # try spying on the USB communication to this device inside a # Micro$oft OS. Recommended tool: "SniffUSB" # # If you find working codes and configurations, please contribute # them! ####################################################### # Option GlobeSurfer Icon (aka "Vodafone EasyBox") # # The message SHOULD be the same for all Option devices DefaultVendor= 0x05c6 DefaultProduct= 0x1000 TargetVendor= 0x0af0 TargetProduct= 0x6600 MessageEndpoint=0x05 MessageContent="55534243123456780000000000000601000000000000000000000000000000" ####################################################### # Option GlobeSurfer Icon 7.2 # # Contributor: The Pharscape Forum ;DefaultVendor= 0x05c6 ;DefaultProduct= 0x1000 ;TargetVendor= 0x0af0 ;TargetProduct= 0x6901 ;MessageEndpoint=0x05 ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" ####################################################### # Option GlobeSurfer Icon 7.2, new firmware (HSO driver) # # Vendor/ProductID don't change when switching, only the device # class does. # HSO driver support is available at Pharscape (www.pharscape.org) # # Contributor: Paul Hardwick ;DefaultVendor= 0x0af0 ;DefaultProduct= 0x6911 ;TargetClass= 0xff ;MessageEndpoint=0x05 ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" ####################################################### # Option Icon 225 HSDPA # # New Firmware. HSO driver support is available at Pharscape (www.pharscape.org) # # Contributor: Matti Viljanen ;DefaultVendor= 0x0af0 ;DefaultProduct= 0x6971 ;TargetClass= 0xff ;MessageEndpoint=0x05 ;MessageContent="55534243785634120100000080000601000000000000000000000000000000" ####################################################### # Option GlobeTrotter HSUPA Modem (aka "T-Mobile Web'n'walk Card Compact III') # # New Firmware. HSO driver support is available at Pharscape (www.pharscape.org) # # Contributor: Gerold Gruber ;DefaultVendor= 0x0af0 ;DefaultProduct= 0x7011 ;TargetClass= 0xff ;MessageEndpoint=0x05 ;MessageContent="55534243785634120100000080000601000000000000000000000000000000" ######################################################## # Option GlobeTrotter GT MAX 3.6 (aka "T-Mobile Web'n'walk Card Compact II") # # Contributor: Bernd Holzmüller ;DefaultVendor= 0x05c6 ;DefaultProduct= 0x1000 ;TargetVendor= 0x0af0 ;TargetProduct= 0x6600 ;MessageEndpoint=0x05 ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" ;ResponseEndpoint=0x84 ######################################################## # Option GlobeTrotter GT MAX "7.2 Ready" # # Contributors: Lucas Benedicic, Morgwai Kotarbinski ;DefaultVendor= 0x05c6 ;DefaultProduct= 0x1000 ;TargetVendor= 0x0af0 ;TargetProduct= 0x6701 ;MessageEndpoint=0x05 ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" ######################################################## # Option GlobeTrotter EXPRESS 7.2 (aka "T-Mobile wnw Express II") # # Contributor: Fridtjof Busse ;DefaultVendor= 0x05c6 ;DefaultProduct= 0x1000 ;TargetVendor= 0x0af0 ;TargetProduct= 0x6701 ;MessageEndpoint=0x05 ;MessageContent="55534243123456780000000000000601000000000000000000000000000000" # Response reading needed according to one (1) report ;ResponseEndpoint=0x84 ######################################################## # Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro") # Huawei E270 # Huawei E870 # Huawei E160 # Huawei E160G # # Two options: 1. removal of "usb-storage" 2. the special control # message found by Miroslav Bobovsky # # Contributor: Hans Kurent, Denis Sutter, Tobias Stoeber ;DefaultVendor= 0x12d1; ;DefaultProduct= 0x1003 # choose one of these: ;DetachStorageOnly=1 ;HuaweiMode=1 ######################################################## # Huawei E169 # # Contributor: Dale Lane ;DefaultVendor= 0x12d1; ;DefaultProduct= 0x1001 # choose one of these: ;DetachStorageOnly=1 ;HuaweiMode=1 ######################################################## # Huawei E630 # # You might also try to use the new Huawei sequence with it # # Beware: there are modem-only variants around - no storage, # no switching necessary! # # Contributor: Joakim Wennergren ;DefaultVendor= 0x1033 ;DefaultProduct= 0x0035 ;TargetVendor= 0x12d1 ;TargetProduct= 0x1003 ;DetachStorageOnly=1 ######################################################## # ZTE MF620 (aka "Onda MH600HS") # # Probably works with DetachStorageOnly too # # Contributor: Flávio Moringa ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0001 ;MessageEndpoint=0x04 ;MessageContent="55534243123456780000000000000600000000000000000000000000000000" ######################################################## # ZTE MF622 (aka "Onda MDC502HS") # # Contributor: "andylog" ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0002 ;MessageEndpoint=0x04 ;MessageContent="55534243f8f993882000000080000a85010101180101010101000000000000" ######################################################## # ZTE MF622 (probably different version) # # Contributor: Pedro Algarvio ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0001 ;DetachStorageOnly=1 ######################################################## # ZTE MF628 # # Captured with "usbmon". Has a micro SD slot which can be # activated alternatively # # Contributor: Alvaro Lopes ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 # To modem mode: ;TargetVendor= 0x19d2 ;TargetProduct= 0x0015 ;MessageEndpoint=0x08 ;MessageContent="5553424312345678000000000000061b000000030000000000000000000000" # To SD slot mode: ;TargetVendor= 0x05c6 ;TargetProduct= 0x2001 ;MessageEndpoint=0x08 ;MessageContent="55534243123456782000000080000a86010101180101010101000000000000" ;ResponseEndpoint=7 ######################################################## # ZTE MF628+ (tested version from Telia / Sweden) # # Contributor: Joakim Wennergren ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0031 ;MessageEndpoint=0x01 ;MessageContent="55534243123456782000000080000c85010101180101010101000000000000" ######################################################## # ZTE MF638 (aka "Onda MDC525UP") # # Contributor: "andylog" ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0037 ;MessageEndpoint=0x01 ;MessageContent="55534243123456782000000080000c85010101180101010101000000000000" ######################################################## # ONDA MT503HS (most likely a ZTE model) # # Contributor: Lucio Asnaghi a.k.a. kRAkEn/gORe ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0002 ;MessageEndpoint=0x08 ;MessageContent="55534243b0c8dc812000000080000a85010101180101010101000000000000" ######################################################## # ONDA MT505UP (most likely a ZTE model) # # Contributor: Alex Scortegagna ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0002 ;MessageEndpoint=0x03 ;MessageContent="55534243123456780000010080000a28000000001c00002000000000000000" ######################################################## # Novatel Wireless Ovation MC950D HSUPA # Novatel Wireless Merlin XU950D # Novatel Wireless Ovation 930D # # Contributor: Razvan Dragomirescu, Mike Kirk ;DefaultVendor= 0x1410 ;DefaultProduct= 0x5010 ;TargetVendor= 0x1410 ;TargetProduct= 0x4400 ;MessageEndpoint=0x09 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" # Note: detaching the storage driver might work as well ######################################################## # Novatel U727 USB modem # # Modem only versions (no switching required) are around. # # Contributor: Chris Thielen ;DefaultVendor= 0x1410 ;DefaultProduct= 0x5010 ;TargetVendor= 0x1410 ;TargetProduct= 0x4100 ;MessageEndpoint=0x08 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # Novatel MC990D # # Contributor: Joakim Wennergren ;DefaultVendor= 0x1410 ;DefaultProduct= 0x5020 ;Interface= 5 ;MessageEndpoint=0x01 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # Alcatel OT-X020 (aka MBD-100HU, aka Nuton 3.5G), works with Emobile D11LC # # Contributor: Aleksandar Samardzic ;DefaultVendor= 0x1c9e ;DefaultProduct= 0x1001 ;TargetVendor= 0x1c9e ;TargetProduct= 0x6061 ;MessageEndpoint=0x05 ;MessageContent="55534243123456780000000000000606f50402527000000000000000000000" ######################################################## # AnyDATA ADU-500A, ADU-510A, ADU-520A # # Contributor: Vladimir Poluektov ;DefaultVendor= 0x05c6 ;DefaultProduct= 0x1000 ;TargetVendor= 0x16d5 ;TargetProduct= 0x6502 ;MessageEndpoint=0x08 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # BandLuxe C120 # # Reportedly needs several switch calls in a certain order. See # http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=71 # This might be a case to try the new ResetUSB function # # Contributor: Alexander Czigler ;DefaultVendor= 0x1a8d ;DefaultProduct= 0x1000 ;TargetVendor= 0x1a8d ;TargetProduct= 0x1002 ;MessageEndpoint=0x05 ;MessageContent="55534243123456781200000080000603000000020000000000000000000000" ;ResponseEndpoint=0x82 ######################################################## # Solomon S3Gm-660 # # Same notes apply as with the BandLuxe C120 above # # Contributor: Alexander Czigler ;DefaultVendor= 0x1dd6 ;DefaultProduct= 0x1000 ;TargetVendor= 0x1dd6 ;TargetProduct= 0x1002 ;MessageEndpoint=0x05 ;MessageContent="55534243123456781200000080000603000000020000000000000000000000" ;ResponseEndpoint=0x82 ######################################################## # C-Motech D-50 (aka "CDU-680") # # Interesting notes about the device in the forum post at # http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=69 # # Contributor: Alexander Czigler ;DefaultVendor= 0x16d8 ;DefaultProduct= 0x6803 ;TargetVendor= 0x16d8 ;TargetProduct= 0x6803 ;MessageEndpoint=0x07 ;MessageContent="555342431234567824000000800008ff524445564348470000000000000000" ######################################################## # Toshiba G450 # # Contributor: Mijail Anton ;DefaultVendor= 0x0930 ;DefaultProduct= 0x0d46 ;TargetVendor= 0x0930 ;TargetProduct= 0x0d45 ;MessageEndpoint=0x05 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # UTStarcom UM175 (distributor "Alltel") # # Contributor: Mark A. Ziesemer ;DefaultVendor= 0x106c ;DefaultProduct= 0x3b03 ;TargetVendor= 0x106c ;TargetProduct= 0x3715 ;MessageEndpoint=0x05 ;MessageContent="555342431234567824000000800008ff024445564348470000000000000000" #################################### # Hummer DTM5731 # # Contributor: "paul" ;DefaultVendor= 0x1ab7 ;DefaultProduct= 0x5700 ;TargetVendor= 0x1ab7 ;TargetProduct= 0x5731 ;MessageEndpoint=0x07 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # A-Link 3GU # # Contributor: A-Link Europe Ltd. ;DefaultVendor= 0x1e0e ;DefaultProduct= 0xf000 ;TargetVendor= 0x1e0e ;TargetProduct= 0x9200 ;MessageEndpoint=0x01 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # Quanta MU-Q101, also referred to as "Quanta (NU) MU-Q101" # # Additional steps required, see # http://www.draisberghof.de/usb_modeswitch/ # # Contributor: Alexander Czigler, Joakim Wennergren ;DefaultVendor= 0x0408 ;DefaultProduct= 0x1000 ;TargetVendor= 0x0408 ;TargetProduct= 0xea02 ;MessageEndpoint=0x05 ;MessageContent="55534243123456780002000000000a2a000000003300000100000000000000"