# /etc/usb_modeswitch.conf # # Last modified: 2008-03-09 # # Configuration for usb_modeswitch, a mode switching tool for controlling # flip flop (multiple device) USB gear # # Triggers the switching of several known UMTS modems from storage device mode # ("ZeroCD" under MS Windows) to modem (serial) device mode # # Detailed instructions and a friendly forum on the homepage: # http://www.draisberghof.de/usb_modeswitch # Note: Timing of execution might be an issue. See homepage! # What it all means: # # * DefaultVendor # * DefaultProduct # # This is the ID the USB device shows after having been plugged in. # The tool looks for this; if not found -> no action. # # * TargetVendor # * TargetProduct # # This is the ID the USB device after successful mode switching. # The tool looks for this; if found -> no action. # If not found, further options are required: you need # one out of TargetClass, DetachStorageOnly, HuaweiMode. # # * TargetClass # # Newer Option devices don't change IDs but switch device class. If # the device has the target class -> no action. # # * MessageEndpoint # # A kind of address inside the interface to which the "message" # (the sequence that does the actual switching) is directed # # * MessageContent # # A hex string containing the "message" sequence; it will be # sent as a USB bulk transfer. # # * ResponseEndpoint # * NeedResponse # # Some devices need to receive the response of the bulk # transfer to do the switching properly # # * DetachStorageOnly # # Some devices just need to be detached from the usb-storage # driver to initiate the mode switching # # * HuaweiMode # # Some Huawei devices can be switched by a special control # message. # # All other entries are just ignored ... # # # 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 ;NeedResponse=1 ######################################################## # 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" ;ResponseEndpoint=0x84 ;NeedResponse=1 ######################################################## # Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro") # # Two options now: 1. removal of "usb-storage" 2. the special control # message found by Miroslav Bobovsky # # Contributor: Hans Kurent, Denis Sutter ;DefaultVendor= 0x12d1; ;DefaultProduct= 0x1003 # choose one of these: ;DetachStorageOnly=1 ;HuaweiMode=1 ######################################################## # Huawei E630 (Experimental) # # 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 Wenrgren ;DefaultVendor= 0x1033 ;DefaultProduct= 0x0035 ;TargetVendor= 0x12d1 ;TargetProduct= 0x1003 ;DetachStorageOnly=1 ######################################################## # ZTE MF620 (aka "Onda MH600HS") # # Confirmed working. # # Contributor: Flávio Moringa ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0001 ;MessageEndpoint=0x04 ;MessageContent="5553424308a0b7870000000000000600000000000000000000000000000000" ######################################################## # ZTE MF622 # # Contributor: Pedro Algarvio ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0001 ;DetachStorageOnly=1 ######################################################## # ONDA MT505UP (most likely a ZTE model) # # Contributor: Alex Scortegagna ;DefaultVendor= 0x19d2 ;DefaultProduct= 0x2000 ;TargetVendor= 0x19d2 ;TargetProduct= 0x0002 ;MessageEndpoint=0x03 ;MessageContent="555342434056af880000010080000a28000000001c00002000000000000000" ######################################################## # Novatel Wireless Ovation MC950D HSUPA and XU950D # # Contributor: Razvan Dragomirescu ;DefaultVendor= 0x1410 ;DefaultProduct= 0x5010 ;TargetVendor= 0x1410 ;TargetProduct= 0x4400 ;MessageEndpoint=0x09 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # Novatel U727 USB modem # # Contributor: Chris Thielen ;DefaultVendor= 0x1410 ;DefaultProduct= 0x5010 ;TargetVendor= 0x1410 ;TargetProduct= 0x4100 ;MessageEndpoint=0x08 ;MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # Huawei E169 DefaultVendor= 0x12d1 DefaultProduct= 0x1001 HuaweiMode=1