From 23b7421240cd4167fd872e74f602d8ab5fbdae91a5f16aba745d6b074d806581 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Wed, 8 Apr 2015 16:27:24 +0000 Subject: [PATCH] Accepting request 294864 from home:posophe:branches:hardware update OBS-URL: https://build.opensuse.org/request/show/294864 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=65 --- device_reference.txt | 219 +++------------------------ usb-modeswitch-2.2.0.tar.bz2 | 3 - usb-modeswitch-2.2.1.tar.bz2 | 3 + usb-modeswitch-data-20140529.tar.bz2 | 3 - usb-modeswitch-data-20150115.tar.bz2 | 3 + usb_modeswitch.changes | 8 + usb_modeswitch.spec | 4 +- 7 files changed, 37 insertions(+), 206 deletions(-) delete mode 100644 usb-modeswitch-2.2.0.tar.bz2 create mode 100644 usb-modeswitch-2.2.1.tar.bz2 delete mode 100644 usb-modeswitch-data-20140529.tar.bz2 create mode 100644 usb-modeswitch-data-20150115.tar.bz2 diff --git a/device_reference.txt b/device_reference.txt index abe862e..eabe852 100644 --- a/device_reference.txt +++ b/device_reference.txt @@ -1,7 +1,7 @@ # -# Device and Configuration Reference (UTF-8 encoding used) +# Device Reference (UTF-8 encoding used) # -# Last modified: 2013-11-13 +# Last modified: 2014-05-29 # # Collection of configurations for usb_modeswitch, a mode switching # tool for controlling flip flop (multiple mode) USB devices @@ -21,191 +21,14 @@ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -# For custom settings: -# Numbers can be decimal or hexadecimal, MessageStrings MUST be -# hexadecimal without prepended "0x". Digits 9-16 in the known -# MessageStrings are arbitrary; I set them to "12345678" - -# What it all means (short command line flags appended): -# -# -# * DefaultVendor -v -# * DefaultProduct -p -# -# This is the ID the USB device shows after having been plugged in. -# The program needs this, either on the command line or in the config -# file; if not found -> no action. -# -# -# * TargetVendor -V -# * TargetProduct -P -# -# These are the IDs of the USB device after successful mode switching. -# They are optional, but I recommend to provide them for better analysis. -# You definitely need them if you enable CheckSuccess (see below) -# -# -# * TargetProductList (file only) -# -# Like TargetProduct, but more than one possibility. Only used in automated -# config files (in /etc/usb_modeswitch.d). -# -# -# * TargetClass -C -# -# Some weird devices don't change IDs. They only switch the device class. -# If the device has the target class -> no action (and vice versa) -# -# -# * MessageEndpoint -m -# -# A kind of address inside the interface to which the "message" -# (the sequence that does the actual switching) is directed. -# Obsolete since version 0.9.7, only useful for testing -# -# -# * MessageContent -M -# -# A hex string containing the "message" sequence; it will be -# sent as a USB bulk transfer -# -# -# * MessageContent2, ...3 -2/-3 -# -# Additional "messages". Use with "NeedResponse"! -# -# -# * ReleaseDelay -w -# -# Waiting time after message transfers. Helps with some sensitive devices -# that don't want any traffic after the mode switch initialisation -# -# -# * ResponseEndpoint -r -# * NeedResponse <0/1> -n -# -# Some devices were reported to require receiving the response of the -# bulk transfer to do the switching properly. Usually not needed. -# Starting from version 1.0.0 the ResponseEndpoint is autodetected -# if not given -# -# -# * DetachStorageOnly <0/1> -d -# -# Some early devices just needed to be detached from the usb-storage -# driver to initiate the mode switching. Now paractically obsolete for -# switching, but still comes handy sometimes -# -# -# * HuaweiMode <0/1> -H -# -# Some early Huawei devices can be switched by a special control -# message. Don't use with recent devices -# -# -# * SonyMode <0/1> -O -# -# Some Sony-Ericsson devices can be switched by a special control -# message. May take a long time (20+ seconds). -# -# -# * SierraMode <0/1> -S -# * KobilMode <0/1> -T -# * GCTMode <0/1> -G -# * SequansMode <0/1> -N -# * MobileActionMode <0/1> -A -# * QisdaMode <0/1> -B -# * QuantaMode <0/1> -E -# * PantechMode <0/1> -F -# * BlackberryMode <0/1> -Z -# * CiscoMode <0/1> -L -# -# -# Flags to support devices that need special control messages. -# The names are referring to the respective manufacturers. -# -# -# * ResetUSB <0/1> -R -# -# Few devices or systems need a rougher treatment. If the switching seems -# to do something but your system does not reflect it, try this somewhat -# brutal method to do a reset after switching. -# Mind that if your device switched OK before, this may set it back to -# storage mode ... -# -# -# * Interface -i -# * Configuration -u -# * AltSetting -a -# -# More USB parameter to help with tricky devices and for doing lots -# of cruel experiments ... -# -## Note: -## AltSetting/Configuration changes and ResetUSB are executed after all -## other steps and can be combined or used on their own (e.g. a reset -## might have the same effect as a manual replug) -# -# -# * InquireDevice <0|1> -I (disables inquiry) -# -# The standard since 1.0.0 is to do a SCSI inquiry on the default device -# before other actions. This might be a future way to identify a device -# without ambiguities. If it causes trouble with your device, just disable. -# -# -# * CheckSuccess -s -# -# Check continuously if the switch succeeded for max seconds. -# First, an interface access test: most devices vanish after -# switching and can't be accessed anymore. -# Second, a recount of target devices: one more than at the initial -# count, at the same bus with a higher device number -> device -# switched fine. -# It's safe to give a higher value than needed; checking stops as -# soon as the target device is found -# -# -# * NoDriverLoading <0|1> (no command line parameter) -# -# The binary tells the wrapper script NOT to check for and initiate -# binding of the serial driver after switching. -# Mostly useful for non-modem devices. -# -# -# * WaitBefore (no command line parameter) -# -# Waiting time before taking any action. Helps with some sensitive setups. -# -# -# * NoMBIMCheck <0|1> (no command line parameter) -# -# Disable the check for new MBIM standard devices, which is always done -# by default. -# -# -# -# -> All other entries in config files are just ignored <- - -# Additional command line flags: -# -# Verbose output -W -# No output at all -q -# Use config file -c -# Use stdin for long config -t -# Give long config as string -f -# Give bus number for ID'ing -b -# Give dev number for ID'ing -g - - -# For filling in all this information for an unknown device, -# see instructions and links on the homepage: -# http://www.draisberghof.de/usb_modeswitch +# For a parameter reference see file REFERENCE in the data package # # If you find working codes and configurations, please contribute # them! + + ####################################################### # Option GlobeSurfer Icon (aka "Vodafone EasyBox") # @@ -237,7 +60,7 @@ MessageContent="55534243123456780000000000000601000000000000000000000000000000" ######################################################## # Option GlobeTrotter GT MAX 3.6 (aka "T-Mobile Web'n'walk Card Compact II") # -# Contributor: Bernd Holzmüller +# Contributor: Bernd Holzmüller DefaultVendor= 0x05c6 DefaultProduct= 0x1000 @@ -456,7 +279,7 @@ HuaweiMode=1 # # Probably works with DetachStorageOnly too # -# Contributor: Flávio Moringa and others +# Contributor: Flávio Moringa and others DefaultVendor= 0x19d2 DefaultProduct= 0x2000 @@ -954,7 +777,7 @@ Configuration=2 # # Recommended init command: ATE0V1&D2&C1S0=0 # -# Contributor: Jérôme Oufella +# Contributor: Jérôme Oufella DefaultVendor= 0x1004 DefaultProduct= 0x1000 @@ -1513,7 +1336,7 @@ MessageContent="555342431234567824000000800006bc626563240000000000000000000000" ######################################################## # LG HDM-2100 (EVDO Rev.A USB modem) # -# Contributor: Jérôme Oufella +# Contributor: Jérôme Oufella DefaultVendor= 0x1004 DefaultProduct=0x607f @@ -1818,7 +1641,7 @@ ResponseNeeded=1 ######################################################## # Huawei U8110 / U8300 / Joy, Vodafone 845 (Android smartphone) # -# Contributor: David Erosa García +# Contributor: David Erosa García DefaultVendor= 0x12d1 DefaultProduct=0x1031 @@ -1835,7 +1658,7 @@ NoDriverLoading=1 ######################################################## # Nokia CS-10 # -# Contributor: WacÅ‚aw Sierek +# Contributor: WacÅ‚aw Sierek DefaultVendor= 0x0421 DefaultProduct=0x060c @@ -1877,7 +1700,7 @@ MessageContent="55534243123456780000000000000606f50402527000000000000000000000" ####################################################### # Samsung GT-B3730 # -# Contributor: Per Øyvind Karlsen +# Contributor: Per Øyvind Karlsen DefaultVendor= 0x04e8 DefaultProduct=0x689a @@ -1948,7 +1771,7 @@ NeedResponse=1 ####################################################### # Huawei EC168C (from Zantel) # -# Contributor: Ã…smund Hjulstad +# Contributor: Ã…smund Hjulstad DefaultVendor= 0x12d1 DefaultProduct=0x1446 @@ -2931,7 +2754,7 @@ NeedResponse=1 ######################################################## # ZTE MF652 # -# Contributor: Björn Andreas Höfer +# Contributor: Björn Andreas Höfer DefaultVendor= 0x19d2 DefaultProduct=0x1520 @@ -3242,7 +3065,7 @@ MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # ZTE MF821D # -# Contributor: Thomas Schäfer +# Contributor: Thomas Schäfer DefaultVendor= 0x19d2 DefaultProduct=0x0325 @@ -3288,7 +3111,7 @@ MessageContent="555342431234567800000000000010ff000000000000000000000000000000" ######################################################## # Vodafone K5006Z (MF821) # -# Contributor: Thomas Schäfer +# Contributor: Thomas Schäfer DefaultVendor= 0x19d2 DefaultProduct=0x1017 @@ -3472,7 +3295,7 @@ MessageContent="55534243123456780000000000000011062000000100000000000000000000" ####################################################### # Option Beemo / Pantech P4200 LTE # -# Contributor: Thomas Schäfer +# Contributor: Thomas Schäfer DefaultVendor= 0x106c DefaultProduct=0x3b14 @@ -3652,7 +3475,7 @@ NoDriverLoading=1 ######################################################## # D-Link DWM-156 (Variant) # -# Contributor: Bjørn Mork +# Contributor: Bjørn Mork DefaultVendor= 0x2001 DefaultProduct=0xa706 @@ -3666,7 +3489,7 @@ MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # D-Link DWM-156 (Variant) # -# Contributor: Bjørn Mork +# Contributor: Bjørn Mork DefaultVendor= 0x2001 DefaultProduct=0xa707 @@ -3680,7 +3503,7 @@ MessageContent="5553424312345678000000000000061b000000020000000000000000000000" ######################################################## # D-Link DWM-156 (Variant) # -# Contributor: Bjørn Mork +# Contributor: Bjørn Mork DefaultVendor= 0x2001 DefaultProduct=0xa708 @@ -3893,7 +3716,7 @@ QuantaMode=1 ####################################################### # TP-Link MA260 # -# Contributor: Bjørn Mork +# Contributor: Bjørn Mork DefaultVendor= 0x2357 DefaultProduct=0xf000 diff --git a/usb-modeswitch-2.2.0.tar.bz2 b/usb-modeswitch-2.2.0.tar.bz2 deleted file mode 100644 index df23a2c..0000000 --- a/usb-modeswitch-2.2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2752103de171ed5f6c8d6a6e3e73e16c9ee3e8e394dd39c5991f7680eb908a3a -size 261888 diff --git a/usb-modeswitch-2.2.1.tar.bz2 b/usb-modeswitch-2.2.1.tar.bz2 new file mode 100644 index 0000000..3b30a3d --- /dev/null +++ b/usb-modeswitch-2.2.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37d926a0b6b6d490173c57e260a69aca49feb774875fc8f2001c1d0f5e8011cb +size 261872 diff --git a/usb-modeswitch-data-20140529.tar.bz2 b/usb-modeswitch-data-20140529.tar.bz2 deleted file mode 100644 index 4ed8d36..0000000 --- a/usb-modeswitch-data-20140529.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:53889157937109e04dafe897c098ec94f3f44f9c0c83fc6ec8417aa9a587e536 -size 27383 diff --git a/usb-modeswitch-data-20150115.tar.bz2 b/usb-modeswitch-data-20150115.tar.bz2 new file mode 100644 index 0000000..4127e57 --- /dev/null +++ b/usb-modeswitch-data-20150115.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90549f589835a68279369c3dc0d47eb7338ee3bad09d737e7b85e1ab15bd2d8b +size 28971 diff --git a/usb_modeswitch.changes b/usb_modeswitch.changes index ce3dedb..8e7c049 100644 --- a/usb_modeswitch.changes +++ b/usb_modeswitch.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Apr 8 02:18:03 UTC 2015 - p.drouand@gmail.com + +- Update to version 2.2.1 + * Fixed unreliable switching function for Cisco AM10 +- Update the data package to version 20150115 +- Update device_reference.txt + ------------------------------------------------------------------- Tue Mar 24 10:36:01 UTC 2015 - cxiong@suse.com diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 3be776e..29512ce 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -23,14 +23,14 @@ %endif Name: usb_modeswitch -Version: 2.2.0 +Version: 2.2.1 Release: 0 Summary: A mode switching tool for controlling multiple-device USB gear License: GPL-2.0+ Group: Hardware/Mobile Url: http://www.draisberghof.de/usb_modeswitch %define source_name usb-modeswitch -%define date 20140529 +%define date 20150115 Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2 Source1: http://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2 Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt