# /etc/usb_modeswitch.conf # # Last modified: 2008-05-06 # # 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 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 # Note: Timing of execution might be an issue (less so with recent # versions of the tool). 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. # ! From version 0.9.4 just for information purposes ! # # * 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 were reported to require receiving the response of the # bulk transfer to do the switching properly. Usually not needed. # # * DetachStorageOnly # # Some devices just need to be detached from the usb-storage # driver to initiate the mode switching. Using this feature # instead of removing the usbstorage module completely keeps other # storage devices working. # # * 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! ######################################################## # ZTE MF622 # # Contributor: Pedro Algarvio DefaultVendor= 0x19d2 DefaultProduct= 0x2000 TargetVendor= 0x19d2 TargetProduct= 0x0001 DetachStorageOnly=1