1
0

Accepting request 259702 from hardware

removed patch obsolete huawei-timing.patch to fix boo#903753

OBS-URL: https://build.opensuse.org/request/show/259702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usb_modeswitch?expand=0&rev=30
This commit is contained in:
Stephan Kulow 2014-11-05 14:54:48 +00:00 committed by Git OBS Bridge
commit 1806089917
5 changed files with 20 additions and 27 deletions

View File

@ -1,21 +0,0 @@
diff -uNr usb-modeswitch-data-20140529/40-usb_modeswitch.rules new-usb-modeswitch-data-20140529/40-usb_modeswitch.rules
--- usb-modeswitch-data-20140529/40-usb_modeswitch.rules 2014-05-29 21:51:51.000000000 +0200
+++ new-usb-modeswitch-data-20140529/40-usb_modeswitch.rules 2014-10-02 13:02:06.847608203 +0200
@@ -21,7 +21,7 @@
# Generic entry for all Huawei devices
-ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'"
+ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch -w 3000 '%b/%k'"
# HP LaserJet Professional P1102
ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", RUN+="usb_modeswitch '%b/%k'"
diff -uNr usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b new-usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b
--- usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b 2014-05-29 14:57:00.000000000 +0200
+++ new-usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b 2014-10-02 13:01:32.617257701 +0200
@@ -2,3 +2,4 @@
TargetVendor=0x12d1
TargetProductList="1c05,1c07,1c08,1c10"
HuaweiNewMode=1
+WaitBefore=3
\ No newline at end of file

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ad1134e142502f52f034c1e3f148386d334ddb70e744be96a5174d303dc2542
size 261358

View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Nov 4 19:07:40 UTC 2014 - andrea@opensuse.org
- removed patch obsolete huawei-timing.patch to fix boo#903753
-------------------------------------------------------------------
Mon Nov 3 21:46:05 UTC 2014 - andrea@opensuse.org
- new upstream version 2.2.0
* Introduction of parameter "HuaweiNewMode", wrapping the standard bulk
message for all newer Huawei devices; support for generic fall-back
config files, combined with OS switch (per vendor ID), implementation
to use a specific switching command on Android for all Huawei devices
(see README of data package for details); this change was suggested
by Huawei
-------------------------------------------------------------------
Sat Oct 11 10:04:38 UTC 2014 - andrea@opensuse.org

View File

@ -23,7 +23,7 @@
%endif
Name: usb_modeswitch
Version: 2.1.1
Version: 2.2.0
Release: 0
Summary: A mode switching tool for controlling multiple-device USB gear
License: GPL-2.0+
@ -35,7 +35,6 @@ Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{versi
Source1: http://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2
Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt
Source1000: %{name}-data.rpmlintrc
Patch1: huawei-timing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: libusb-devel
@ -63,7 +62,6 @@ Data files for usb_modeswitch package.
%prep
%setup -q -a1 -n %{source_name}-%{version}
%patch1 -p1 -d %{source_name}-data-%{date}
cp %{SOURCE2} .