# /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!



#######################################################
# 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"

# This is neccessary according to one (1) report
;ResponseEndpoint=0x84
;NeedResponse=1


########################################################
# Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro")
# Huawei E270
# Huawei E870
#
# Two options: 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 E169
#
# Contributor: Dale Lane

;DefaultVendor=  0x12d1;
;DefaultProduct= 0x1001

# 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")
#
# Probably works with DetachStorageOnly too
#
# Contributor: Fl�vio Moringa

;DefaultVendor=  0x19d2
;DefaultProduct= 0x2000

;TargetVendor=   0x19d2
;TargetProduct=  0x0001

;MessageEndpoint=0x04
;MessageContent="55534243123456780000000000000600000000000000000000000000000000"


########################################################
# 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
# 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"


########################################################
# Alcatel OT-X020
#
# 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=0x00000008
;MessageContent="5553424328932a86000000000000061b000000020000000000000000000000"

########################################################
# Quanta MU-Q101
#
# Contributor: 

DefaultVendor=  0x0408
DefaultProduct= 0x1000

TargetVendor=   0x0408
TargetProduct=  0xea02

MessageEndpoint=0x05
MessageContent="5553424338474ffc0002000000000a2a000000003300000100000000000000"
