From a9f420ddaaf234116a187a7f467083349de260770deba234a57b946233cb874b Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:34:31 +0000 Subject: [PATCH 01/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=40 --- _service | 7 +++++++ _service:download_url:usb-modeswitch-data-20140529.tar.bz2 | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 _service create mode 100644 _service:download_url:usb-modeswitch-data-20140529.tar.bz2 diff --git a/_service b/_service new file mode 100644 index 0000000..139e8e6 --- /dev/null +++ b/_service @@ -0,0 +1,7 @@ + + + www.draisberghof.de + http + /usb_modeswitch/usb-modeswitch-data-20140529.tar.bz2 + + \ No newline at end of file diff --git a/_service:download_url:usb-modeswitch-data-20140529.tar.bz2 b/_service:download_url:usb-modeswitch-data-20140529.tar.bz2 new file mode 100644 index 0000000..4ed8d36 --- /dev/null +++ b/_service:download_url:usb-modeswitch-data-20140529.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53889157937109e04dafe897c098ec94f3f44f9c0c83fc6ec8417aa9a587e536 +size 27383 From f551e7e6300eefc89206f645bb9c4ea4b27c1b3496f0c2722dc3bd452f67c7be Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:34:43 +0000 Subject: [PATCH 02/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=42 --- _service | 7 ------- _service:download_url:usb-modeswitch-data-20140529.tar.bz2 | 3 --- 2 files changed, 10 deletions(-) delete mode 100644 _service delete mode 100644 _service:download_url:usb-modeswitch-data-20140529.tar.bz2 diff --git a/_service b/_service deleted file mode 100644 index 139e8e6..0000000 --- a/_service +++ /dev/null @@ -1,7 +0,0 @@ - - - www.draisberghof.de - http - /usb_modeswitch/usb-modeswitch-data-20140529.tar.bz2 - - \ No newline at end of file diff --git a/_service:download_url:usb-modeswitch-data-20140529.tar.bz2 b/_service:download_url:usb-modeswitch-data-20140529.tar.bz2 deleted file mode 100644 index 4ed8d36..0000000 --- a/_service:download_url: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 From feb3b54f2dabe69a9ff8c98fc9e8c7c1e2f20d0628a138262a703f99ef14493d Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:34:58 +0000 Subject: [PATCH 03/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=43 --- usb-modeswitch-data-20140529.tar.bz2 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 usb-modeswitch-data-20140529.tar.bz2 diff --git a/usb-modeswitch-data-20140529.tar.bz2 b/usb-modeswitch-data-20140529.tar.bz2 new file mode 100644 index 0000000..4ed8d36 --- /dev/null +++ b/usb-modeswitch-data-20140529.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53889157937109e04dafe897c098ec94f3f44f9c0c83fc6ec8417aa9a587e536 +size 27383 From 60692f5116f3df29269b62e1211b7787de58033dab72262f44df59416d0f396d Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:35:21 +0000 Subject: [PATCH 04/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=44 --- usb_modeswitch.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 0c4912d..2abcd96 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -30,7 +30,7 @@ License: GPL-2.0+ Group: Hardware/Mobile Url: http://www.draisberghof.de/usb_modeswitch %define source_name usb-modeswitch -%define date 20140327 +%define date 20140529 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 From 94ae8e098fb70ca1f0ef3323e6261a4f1355cb69e09abc8193c1ba9b19a1eb6b Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:35:31 +0000 Subject: [PATCH 05/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=45 --- usb-modeswitch-data-20140327.tar.bz2 | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 usb-modeswitch-data-20140327.tar.bz2 diff --git a/usb-modeswitch-data-20140327.tar.bz2 b/usb-modeswitch-data-20140327.tar.bz2 deleted file mode 100644 index 00be013..0000000 --- a/usb-modeswitch-data-20140327.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f9f53c0871239b41d9cf377f528c9de8feddc31c391bd2ed903e17a28e983c7 -size 24273 From e7dc4c9257a22e7ab9252d316b09047cba5912c27578ca2dcc5bb414fea75377 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:35:59 +0000 Subject: [PATCH 06/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=46 --- usb_modeswitch.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usb_modeswitch.changes b/usb_modeswitch.changes index 4ca34f5..2bc5d63 100644 --- a/usb_modeswitch.changes +++ b/usb_modeswitch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 2 10:35:44 UTC 2014 - andrea@opensuse.org + +- upgraded the data package to version 20140529 + ------------------------------------------------------------------- Mon May 26 09:41:27 UTC 2014 - tittiatcoke@gmail.com @@ -30,6 +35,7 @@ Mon Dec 3 12:34:50 UTC 2012 - p.drouand@gmail.com * add_alcatel_ot_x220d.patch: supported on upstream release * 1bbb:f017: supported on upstream release - Adapt huawei-timing.patch for 1.2.5 + ------------------------------------------------------------------- Wed Oct 17 13:31:34 UTC 2012 - fcrozat@suse.com From 48f2ba4daf635e075adc89c229cb94a7b344990f051be3c81261f57c424d9a09 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:40:06 +0000 Subject: [PATCH 07/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=47 --- usb_modeswitch.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 2abcd96..e16b64a 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -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} . From 6719b746cedb8ca8344c860633ec622610545ac4b1d2dcc60a14fd7fbe9cd805 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 10:40:22 +0000 Subject: [PATCH 08/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=48 --- usb_modeswitch.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/usb_modeswitch.changes b/usb_modeswitch.changes index 2bc5d63..ebca410 100644 --- a/usb_modeswitch.changes +++ b/usb_modeswitch.changes @@ -2,6 +2,7 @@ Thu Oct 2 10:35:44 UTC 2014 - andrea@opensuse.org - upgraded the data package to version 20140529 +- removed huawei-timing.patch no longer required ------------------------------------------------------------------- Mon May 26 09:41:27 UTC 2014 - tittiatcoke@gmail.com From ccb39230f14f34151b076112d6cb5aff911e73f30467e0d2ac86f04382fbc2a9 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 11:04:40 +0000 Subject: [PATCH 09/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=49 --- huawei-timing.patch | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/huawei-timing.patch b/huawei-timing.patch index 2325a70..4166aab 100644 --- a/huawei-timing.patch +++ b/huawei-timing.patch @@ -1,21 +1,21 @@ -diff -u -r usb-modeswitch-data-20120531.org/40-usb_modeswitch.rules usb-modeswitch-data-20120531/40-usb_modeswitch.rules ---- usb-modeswitch-data-20121109.org/40-usb_modeswitch.rules 2012-12-03 14:15:48.751958694 +0200 -+++ usb-modeswitch-data2-0121109/40-usb_modeswitch.rules 2012-12-03 14:16:49.063343878 +0200 -@@ -525,6 +525,9 @@ - # Huawei E173s - ATTR{idVendor}=="12d1", ATTR{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'" +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 @@ -+# Huawei E173s -+ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c00", RUN+="usb_modeswitch -w 3000 '%b/%k'" -+ - # Huawei GP02 (E587 Variant) - ATTR{idVendor}=="12d1", ATTR{idProduct}=="1c1b", RUN+="usb_modeswitch '%b/%k'" -diff -u -r usb-modeswitch-data-20120531.org/usb_modeswitch.d/12d1:1c0b usb-modeswitch-data-20120531/usb_modeswitch.d/12d1:1c0b ---- usb-modeswitch-data-20121109.org/usb_modeswitch.d/12d1:1c0b 2012-12-03 14:15:48.754958714 +0200 -+++ usb-modeswitch-data-20121109/usb_modeswitch.d/12d1:1c0b 2012-12-03 14:17:35.495640324 +0200 + # 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" - MessageContent="55534243123456780000000000000011062000000101000100000000000000" + HuaweiNewMode=1 +WaitBefore=3 +\ No newline at end of file From 07038d24aefc2c43cdbe38b1b6287e2f7a7425a4324e2f724b090d40068ddf8c Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 11:05:05 +0000 Subject: [PATCH 10/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=50 --- usb_modeswitch.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index e16b64a..2abcd96 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -35,6 +35,7 @@ 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 @@ -62,6 +63,7 @@ Data files for usb_modeswitch package. %prep %setup -q -a1 -n %{source_name}-%{version} +%patch1 -p1 -d %{source_name}-data-%{date} cp %{SOURCE2} . From 233a0a0e30e9c4730f6e118a3df2b1bee0be3701fb817dd5cc18f5e98d3d80a0 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Thu, 2 Oct 2014 11:07:21 +0000 Subject: [PATCH 11/11] OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=51 --- usb_modeswitch.changes | 1 - 1 file changed, 1 deletion(-) diff --git a/usb_modeswitch.changes b/usb_modeswitch.changes index ebca410..2bc5d63 100644 --- a/usb_modeswitch.changes +++ b/usb_modeswitch.changes @@ -2,7 +2,6 @@ Thu Oct 2 10:35:44 UTC 2014 - andrea@opensuse.org - upgraded the data package to version 20140529 -- removed huawei-timing.patch no longer required ------------------------------------------------------------------- Mon May 26 09:41:27 UTC 2014 - tittiatcoke@gmail.com