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
This commit is contained in:
andrea florio 2015-04-08 16:27:24 +00:00 committed by Git OBS Bridge
parent eaad6d6ab9
commit 23b7421240
7 changed files with 37 additions and 206 deletions

View File

@ -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 # Collection of configurations for usb_modeswitch, a mode switching
# tool for controlling flip flop (multiple mode) USB devices # tool for controlling flip flop (multiple mode) USB devices
@ -21,191 +21,14 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# For custom settings: # For a parameter reference see file REFERENCE in the data package
# 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 <hex number>
# * DefaultProduct -p <hex number>
#
# 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 <hex number>
# * TargetProduct -P <hex number>
#
# 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) <comma separated hex strings>
#
# Like TargetProduct, but more than one possibility. Only used in automated
# config files (in /etc/usb_modeswitch.d).
#
#
# * TargetClass -C <hex number>
#
# 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 <hex number>
#
# 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 <hex string>
#
# A hex string containing the "message" sequence; it will be
# sent as a USB bulk transfer
#
#
# * MessageContent2, ...3 -2/-3 <hex string>
#
# Additional "messages". Use with "NeedResponse"!
#
#
# * ReleaseDelay -w <milliseconds>
#
# Waiting time after message transfers. Helps with some sensitive devices
# that don't want any traffic after the mode switch initialisation
#
#
# * ResponseEndpoint -r <hex number>
# * 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 <hex number>
# * Configuration -u <hex number>
# * AltSetting -a <hex number>
#
# 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 <number>
#
# Check continuously if the switch succeeded for max <number> 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 <seconds> (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 <file>
# Use stdin for long config -t
# Give long config as string -f <multiline string using config file syntax>
# 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
# #
# If you find working codes and configurations, please contribute # If you find working codes and configurations, please contribute
# them! # them!
####################################################### #######################################################
# Option GlobeSurfer Icon (aka "Vodafone EasyBox") # 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") # 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 DefaultVendor= 0x05c6
DefaultProduct= 0x1000 DefaultProduct= 0x1000
@ -456,7 +279,7 @@ HuaweiMode=1
# #
# Probably works with DetachStorageOnly too # Probably works with DetachStorageOnly too
# #
# Contributor: Flávio Moringa and others # Contributor: Flávio Moringa and others
DefaultVendor= 0x19d2 DefaultVendor= 0x19d2
DefaultProduct= 0x2000 DefaultProduct= 0x2000
@ -954,7 +777,7 @@ Configuration=2
# #
# Recommended init command: ATE0V1&D2&C1S0=0 # Recommended init command: ATE0V1&D2&C1S0=0
# #
# Contributor: Jérôme Oufella # Contributor: Jérôme Oufella
DefaultVendor= 0x1004 DefaultVendor= 0x1004
DefaultProduct= 0x1000 DefaultProduct= 0x1000
@ -1513,7 +1336,7 @@ MessageContent="555342431234567824000000800006bc626563240000000000000000000000"
######################################################## ########################################################
# LG HDM-2100 (EVDO Rev.A USB modem) # LG HDM-2100 (EVDO Rev.A USB modem)
# #
# Contributor: Jérôme Oufella # Contributor: Jérôme Oufella
DefaultVendor= 0x1004 DefaultVendor= 0x1004
DefaultProduct=0x607f DefaultProduct=0x607f
@ -1818,7 +1641,7 @@ ResponseNeeded=1
######################################################## ########################################################
# Huawei U8110 / U8300 / Joy, Vodafone 845 (Android smartphone) # Huawei U8110 / U8300 / Joy, Vodafone 845 (Android smartphone)
# #
# Contributor: David Erosa García # Contributor: David Erosa García
DefaultVendor= 0x12d1 DefaultVendor= 0x12d1
DefaultProduct=0x1031 DefaultProduct=0x1031
@ -1835,7 +1658,7 @@ NoDriverLoading=1
######################################################## ########################################################
# Nokia CS-10 # Nokia CS-10
# #
# Contributor: Wacław Sierek # Contributor: WacÅ‚aw Sierek
DefaultVendor= 0x0421 DefaultVendor= 0x0421
DefaultProduct=0x060c DefaultProduct=0x060c
@ -1877,7 +1700,7 @@ MessageContent="55534243123456780000000000000606f50402527000000000000000000000"
####################################################### #######################################################
# Samsung GT-B3730 # Samsung GT-B3730
# #
# Contributor: Per Øyvind Karlsen # Contributor: Per Øyvind Karlsen
DefaultVendor= 0x04e8 DefaultVendor= 0x04e8
DefaultProduct=0x689a DefaultProduct=0x689a
@ -1948,7 +1771,7 @@ NeedResponse=1
####################################################### #######################################################
# Huawei EC168C (from Zantel) # Huawei EC168C (from Zantel)
# #
# Contributor: Åsmund Hjulstad # Contributor: Ã…smund Hjulstad
DefaultVendor= 0x12d1 DefaultVendor= 0x12d1
DefaultProduct=0x1446 DefaultProduct=0x1446
@ -2931,7 +2754,7 @@ NeedResponse=1
######################################################## ########################################################
# ZTE MF652 # ZTE MF652
# #
# Contributor: Björn Andreas Höfer # Contributor: Björn Andreas Höfer
DefaultVendor= 0x19d2 DefaultVendor= 0x19d2
DefaultProduct=0x1520 DefaultProduct=0x1520
@ -3242,7 +3065,7 @@ MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
######################################################## ########################################################
# ZTE MF821D # ZTE MF821D
# #
# Contributor: Thomas Schäfer # Contributor: Thomas Schäfer
DefaultVendor= 0x19d2 DefaultVendor= 0x19d2
DefaultProduct=0x0325 DefaultProduct=0x0325
@ -3288,7 +3111,7 @@ MessageContent="555342431234567800000000000010ff000000000000000000000000000000"
######################################################## ########################################################
# Vodafone K5006Z (MF821) # Vodafone K5006Z (MF821)
# #
# Contributor: Thomas Schäfer # Contributor: Thomas Schäfer
DefaultVendor= 0x19d2 DefaultVendor= 0x19d2
DefaultProduct=0x1017 DefaultProduct=0x1017
@ -3472,7 +3295,7 @@ MessageContent="55534243123456780000000000000011062000000100000000000000000000"
####################################################### #######################################################
# Option Beemo / Pantech P4200 LTE # Option Beemo / Pantech P4200 LTE
# #
# Contributor: Thomas Schäfer # Contributor: Thomas Schäfer
DefaultVendor= 0x106c DefaultVendor= 0x106c
DefaultProduct=0x3b14 DefaultProduct=0x3b14
@ -3652,7 +3475,7 @@ NoDriverLoading=1
######################################################## ########################################################
# D-Link DWM-156 (Variant) # D-Link DWM-156 (Variant)
# #
# Contributor: Bjørn Mork # Contributor: Bjørn Mork
DefaultVendor= 0x2001 DefaultVendor= 0x2001
DefaultProduct=0xa706 DefaultProduct=0xa706
@ -3666,7 +3489,7 @@ MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
######################################################## ########################################################
# D-Link DWM-156 (Variant) # D-Link DWM-156 (Variant)
# #
# Contributor: Bjørn Mork # Contributor: Bjørn Mork
DefaultVendor= 0x2001 DefaultVendor= 0x2001
DefaultProduct=0xa707 DefaultProduct=0xa707
@ -3680,7 +3503,7 @@ MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
######################################################## ########################################################
# D-Link DWM-156 (Variant) # D-Link DWM-156 (Variant)
# #
# Contributor: Bjørn Mork # Contributor: Bjørn Mork
DefaultVendor= 0x2001 DefaultVendor= 0x2001
DefaultProduct=0xa708 DefaultProduct=0xa708
@ -3893,7 +3716,7 @@ QuantaMode=1
####################################################### #######################################################
# TP-Link MA260 # TP-Link MA260
# #
# Contributor: Bjørn Mork # Contributor: Bjørn Mork
DefaultVendor= 0x2357 DefaultVendor= 0x2357
DefaultProduct=0xf000 DefaultProduct=0xf000

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2752103de171ed5f6c8d6a6e3e73e16c9ee3e8e394dd39c5991f7680eb908a3a
size 261888

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37d926a0b6b6d490173c57e260a69aca49feb774875fc8f2001c1d0f5e8011cb
size 261872

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53889157937109e04dafe897c098ec94f3f44f9c0c83fc6ec8417aa9a587e536
size 27383

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90549f589835a68279369c3dc0d47eb7338ee3bad09d737e7b85e1ab15bd2d8b
size 28971

View File

@ -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 Tue Mar 24 10:36:01 UTC 2015 - cxiong@suse.com

View File

@ -23,14 +23,14 @@
%endif %endif
Name: usb_modeswitch Name: usb_modeswitch
Version: 2.2.0 Version: 2.2.1
Release: 0 Release: 0
Summary: A mode switching tool for controlling multiple-device USB gear Summary: A mode switching tool for controlling multiple-device USB gear
License: GPL-2.0+ License: GPL-2.0+
Group: Hardware/Mobile Group: Hardware/Mobile
Url: http://www.draisberghof.de/usb_modeswitch Url: http://www.draisberghof.de/usb_modeswitch
%define source_name 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 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 Source1: http://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2
Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt