← Back to team overview

desktop-packages team mailing list archive

[Bug 1435874] [NEW] unrecognized option '--huawei-new-mode'

 

Public bug reported:

>sudo /usr/sbin/usb_modeswitch -v 0x12d1 -p 0x1f01 --huawei-new-mode
/usr/sbin/usb_modeswitch: unrecognized option '--huawei-new-mode'


Usage: usb_modeswitch [<params>] [-c filename]

 -h, --help                    this help
 -e, --version                 print version information and exit
 -j, --find-mbim               return config no. with MBIM interface, exit

 -v, --default-vendor NUM      vendor ID of original mode (mandatory)
 -p, --default-product NUM     product ID of original mode (mandatory)
 -V, --target-vendor NUM       target mode vendor ID (optional)
 -P, --target-product NUM      target mode product ID (optional)
 -C, --target-class NUM        target mode device class (optional)
 -b, --bus-num NUM             system bus number of device (for hard ID)
 -g, --device-num NUM          system device number (for hard ID)
 -m, --message-endpoint NUM    direct the message transfer there (optional)
 -M, --message-content <msg>   message to send (hex number as string)
 -2 <msg>, -3 <msg>            additional messages to send (-n recommended)
 -n, --need-response           read response to the message transfer (CSW)
 -r, --response-endpoint NUM   read response from there (optional)
 -K, --std-eject               send standard EJECT sequence
 -d, --detach-only             detach the active driver, no further action
 -H, --huawei-mode             apply a special procedure
 -J, --huawei-new-mode         apply a special procedure
 -S, --sierra-mode             apply a special procedure
 -O, --sony-mode               apply a special procedure
 -G, --gct-mode                apply a special procedure
 -N, --sequans-mode            apply a special procedure
 -A, --mobileaction-mode       apply a special procedure
 -T, --kobil-mode              apply a special procedure
 -L, --cisco-mode              apply a special procedure
 -B, --qisda-mode              apply a special procedure
 -E, --quanta-mode             apply a special procedure
 -R, --reset-usb               reset the device after all other actions
 -Q, --quiet                   don't show progress or error messages
 -W, --verbose                 print all settings and debug output
 -D, --sysmode                 specific result and syslog message
 -s, --success <seconds>       switching result check with timeout
 -I, --inquire                 retrieve SCSI attributes initially

 -c, --config-file <filename>  load long configuration from file

 -t, --stdinput                read long configuration from stdin

 -f, --long-config <text>      get long configuration from string

 -i, --interface NUM           select initial USB interface (default 0)
 -u, --configuration NUM       select USB configuration
 -a, --altsetting NUM          select alternative USB interface setting


-J, however, works.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: usb-modeswitch 2.2.0+repack0-2ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
Uname: Linux 3.19.0-9-generic x86_64
ApportVersion: 2.16.2-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Mar 24 14:59:09 2015
InstallationDate: Installed on 2015-02-27 (25 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Alpha amd64 (20150224)
SourcePackage: usb-modeswitch
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: usb-modeswitch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1435874

Title:
  unrecognized option '--huawei-new-mode'

Status in usb-modeswitch package in Ubuntu:
  New

Bug description:
  >sudo /usr/sbin/usb_modeswitch -v 0x12d1 -p 0x1f01 --huawei-new-mode
  /usr/sbin/usb_modeswitch: unrecognized option '--huawei-new-mode'

  
  Usage: usb_modeswitch [<params>] [-c filename]

   -h, --help                    this help
   -e, --version                 print version information and exit
   -j, --find-mbim               return config no. with MBIM interface, exit

   -v, --default-vendor NUM      vendor ID of original mode (mandatory)
   -p, --default-product NUM     product ID of original mode (mandatory)
   -V, --target-vendor NUM       target mode vendor ID (optional)
   -P, --target-product NUM      target mode product ID (optional)
   -C, --target-class NUM        target mode device class (optional)
   -b, --bus-num NUM             system bus number of device (for hard ID)
   -g, --device-num NUM          system device number (for hard ID)
   -m, --message-endpoint NUM    direct the message transfer there (optional)
   -M, --message-content <msg>   message to send (hex number as string)
   -2 <msg>, -3 <msg>            additional messages to send (-n recommended)
   -n, --need-response           read response to the message transfer (CSW)
   -r, --response-endpoint NUM   read response from there (optional)
   -K, --std-eject               send standard EJECT sequence
   -d, --detach-only             detach the active driver, no further action
   -H, --huawei-mode             apply a special procedure
   -J, --huawei-new-mode         apply a special procedure
   -S, --sierra-mode             apply a special procedure
   -O, --sony-mode               apply a special procedure
   -G, --gct-mode                apply a special procedure
   -N, --sequans-mode            apply a special procedure
   -A, --mobileaction-mode       apply a special procedure
   -T, --kobil-mode              apply a special procedure
   -L, --cisco-mode              apply a special procedure
   -B, --qisda-mode              apply a special procedure
   -E, --quanta-mode             apply a special procedure
   -R, --reset-usb               reset the device after all other actions
   -Q, --quiet                   don't show progress or error messages
   -W, --verbose                 print all settings and debug output
   -D, --sysmode                 specific result and syslog message
   -s, --success <seconds>       switching result check with timeout
   -I, --inquire                 retrieve SCSI attributes initially

   -c, --config-file <filename>  load long configuration from file

   -t, --stdinput                read long configuration from stdin

   -f, --long-config <text>      get long configuration from string

   -i, --interface NUM           select initial USB interface (default 0)
   -u, --configuration NUM       select USB configuration
   -a, --altsetting NUM          select alternative USB interface setting


  
  -J, however, works.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: usb-modeswitch 2.2.0+repack0-2ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
  Uname: Linux 3.19.0-9-generic x86_64
  ApportVersion: 2.16.2-0ubuntu3
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Tue Mar 24 14:59:09 2015
  InstallationDate: Installed on 2015-02-27 (25 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Alpha amd64 (20150224)
  SourcePackage: usb-modeswitch
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1435874/+subscriptions


Follow ups

References