[patchteam] usb-modeswitch-data: update to 20120120 / usb-modeswitch: update to 1.2.3 - Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30411 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
402c5f6a08
commit
0cb8bf896d
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2010-2011 OpenWrt.org
|
||||
# Copyright (C) 2010-2012 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=usb-modeswitch-data
|
||||
PKG_VERSION:=20111023
|
||||
PKG_VERSION:=20120120
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch/
|
||||
PKG_MD5SUM:=6e7cb67d0428bda241600b038ba11aeb
|
||||
PKG_MD5SUM:=c899cc9c71bb35f3ec600b7cd1455c65
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=usb-modeswitch
|
||||
PKG_VERSION:=1.2.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=1.2.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch
|
||||
PKG_MD5SUM:=1932ab96d6e3c5e0a6bdfac863338627
|
||||
PKG_MD5SUM:=9b29e8b0d93d7604a9e5efc4696d37a3
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -126,7 +126,7 @@ if [ "$ACTION" = add ]; then
|
||||
local usb_dir="/sys/$DEVPATH"
|
||||
[ -f "$usb_dir/idVendor" ] || usb_dir="${usb_dir%/*}"
|
||||
while [ $switching_done -lt 1 -a $switching_tries -le 6 ]; do
|
||||
$modeswitch -I -D -n -s 30 -c "${configs%% *}"
|
||||
$modeswitch -v $uVid -p $uPid -I -D -n -s 30 -c "${configs%% *}"
|
||||
if [ $(sanitize "$usb_dir/idProduct") = $uPid ]; then
|
||||
log "switching seemingly failed"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user