Accepting request 136358 from home:gschlotter:branches:hardware
- huawei-timing.patch: *fixed timing issues with huawei devices (E173, ...) bnc#740354 OBS-URL: https://build.opensuse.org/request/show/136358 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=35
This commit is contained in:
parent
95ac519fc3
commit
cf168b5b34
21
huawei-timing.patch
Normal file
21
huawei-timing.patch
Normal file
@ -0,0 +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-20120531.org/40-usb_modeswitch.rules 2012-09-28 14:15:48.751958694 +0200
|
||||
+++ usb-modeswitch-data-20120531/40-usb_modeswitch.rules 2012-09-28 14:16:49.063343878 +0200
|
||||
@@ -443,6 +443,9 @@
|
||||
# Huawei E173s
|
||||
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
|
||||
|
||||
+# Huawei E173s
|
||||
+ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c00", RUN+="usb_modeswitch -w 3000 '%b/%k'"
|
||||
+
|
||||
# Huawei E173 (Moviestar)
|
||||
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c24", 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-20120531.org/usb_modeswitch.d/12d1:1c0b 2012-09-28 14:15:48.754958714 +0200
|
||||
+++ usb-modeswitch-data-20120531/usb_modeswitch.d/12d1:1c0b 2012-09-28 14:17:35.495640324 +0200
|
||||
@@ -5,3 +5,4 @@
|
||||
|
||||
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
|
||||
|
||||
+WaitBefore=3
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 28 12:59:57 UTC 2012 - gschlotter@suse.com
|
||||
|
||||
- huawei-timing.patch:
|
||||
*fixed timing issues with huawei devices (E173, ...)
|
||||
bnc#740354
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 20 23:59:34 UTC 2012 - javier@opensuse.org
|
||||
|
||||
|
@ -31,6 +31,7 @@ Source1: %{source_name}-data-%{date}.tar.bz2
|
||||
Source2: %{name}-data.rpmlintrc
|
||||
Source3: 1bbb:f017
|
||||
Patch0: add_alcatel_ot_x220d.patch
|
||||
Patch1: huawei-timing.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: tcl
|
||||
@ -65,6 +66,7 @@ Data files for usb_modeswitch package.
|
||||
%prep
|
||||
%setup -q -a1 -n %{source_name}-%{version}
|
||||
%patch0
|
||||
%patch1 -p1 -d %{source_name}-data-%{date}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" make
|
||||
|
Loading…
Reference in New Issue
Block a user