Provided by: usb-modeswitch_1.0.2-1_i386 bug

NAME

       usb-modeswitch — Switching tool for controlling "flip flop" USB devices

SYNOPSIS

       usb-modeswitch [-hvpVPmMrdHn]  [-c filename]

DESCRIPTION

       This manual page was written for the Debian  distribution  because  the
       original program does not have a manual page.

       Several new USB devices have their proprietary Windows drivers onboard,
       especially WAN dongles. When plugged in for the first  time,  they  act
       like a flash storage and start installing the driver from there. If the
       driver is already installed, the storage  device  vanishes  and  a  new
       device,  such  as  an  USB modem, shows up. This is called the "ZeroCD"
       feature.

       On Debian, this is not needed, since the driver is included as a  Linux
       kernel  module, such as "usbserial". However, the device still shows up
       as "usb-storage"  by  default.  usb-modeswitch  solves  that  issue  by
       sending the command which actually performs the switching of the device
       from "usb-storage" to "usbserial".

OPTIONS

       These programs follow the usual GNU  command  line  syntax,  with  long
       options  starting  with  two  dashes  (‘-’).   A  summary of options is
       included below.

       -h           --help
                 Show summary of options.

       -v           --default-vendor [nr]
                 Vendor ID to look for (mandatory).

       -p           --default-product [nr]
                 Product ID to look for (mandatory).

       -V           --target-vendor [nr]
                 Target Vendor (optional, for success check).

       -P           --target-product [nr]
                 Target Model (optional, for success check).

       -C           --target-class [nr]
                 Target Device Class

       -m           --message-endpoint [nr]
                 Where to direct the message

       -M           --message-content [nr]
                 Command to send (hex as string)

       -r           --response-endpoint [nr]
                 If given, read response from there

       -d           --detach-only
                 Whether to just detach the storage driver

       -H           --huawei-mode
                 Whether to just apply the Huawei mode

       -S           --sierraMode
                 Whether to just apply the Sierra mode

       -O           --sonyMode
                 Whether to just apply the Sony mode

       -R           --resetUSB
                 Whether to reset the device in the end

       -c           --config [filename]
                 Load different config file

       -Q           --quiet
                 Don’t show progress or error messages

       -W           --verbose
                 Print all settings before running

       -s           --success [nr]
                 Check switching result after [nr] secs

       -I           --no-inquire
                 do not get device details (default on)

       -i           --Interface
                 Select initial USB interface (default: 0)

       -u           --Configuration
                 Select USB configuration

       -a           --AltSetting
                 Select alternative USB interface setting

AUTHOR

       This manual page was written by Didier Raboud didier@raboud.com for the
       Debian  system  (and  may be used by others).  Permission is granted to
       copy, distribute and/or modify this document under the terms of the GNU
       General  Public  License,  Version 2 any later version published by the
       Free Software Foundation.

       On Debian systems, the complete text of the GNU General Public  License
       can be found in /usr/share/common-licenses/GPL.

                                                             USB-MODESWITCH(1)