1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 09:33:07 +02:00
openwrt-xburst/package
jow 3b3ca4d8bc [package] comgt: handle service mode for Huawai modems (#12039)
It seems that the comgt package does not handle the Huawei 3G USB dongle E176 correctly (and probably other Huawei dongles too). My dongle appears as ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem and 3G/UMTS
connections work well. However, no connection is established if only 2G/GPRS is available: the pppd chat script fails with NO CARRIER although the dongle is registered to the network (via 2G). As outlined in  this wiki or  this
blog, Huawei chips use the AT^SYSCFG command to set 2G or 3G mode, which is not implemented in comgt at the moment. Thus I wrote a patch for /lib/network/3g.sh which adds support for the "service" option in the network
configuration with Huawei dongles. By default (if no "service" option is specified) also 2G is used when 3G is unavailable. The Huawei dongle is detected analogously to other chips (the output of gcom -d /dev/ttyUSB0 -s
/etc/gcom/getcardinfo.gcom is scanned for huawei).

Some further information: The AT^SYSCFG command seems to be respected only once after the dongle is attached (or after the host is powered up). Resetting the dongle seems to render the serial port unusable in some cases.
However, the patch sets a useful mode by default which should cover most use cases (3G preferred, but 2G allowed) and if 3G-only or 2G-only mode is required the device can be power cycled.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-19 15:59:24 +00:00
..
6in4 [package] 6in4, 6to4: further simplify protocol backends 2012-06-18 21:40:34 +00:00
6rd 6rd: missing config option ipaddr. 2012-08-11 00:25:23 +00:00
6to4 [package] 6to4: fix ifname resolving for adv_interface option (#11796) 2012-07-02 12:14:50 +00:00
acx-mac80211 [package] acx-mac80211: depend on mipsel, not mips since AR7 is low endian 2012-08-16 01:24:46 +00:00
admswconfig [package] admswconfig: reset interface after applying config 2011-01-27 21:49:50 +00:00
apex only support EABI on ARM targets 2011-03-07 12:59:19 +00:00
ar7-atm package/ar7-atm: allow to build on 3.3 2012-05-05 17:32:33 +00:00
arptables [arptables] fix breakage when compiling for armv6 2012-08-14 10:13:39 +00:00
avila-wdt massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
base-files base-files: uci-defaults for rssileds 2012-08-13 14:01:37 +00:00
block-mount Fix extroot by UUID 2012-07-01 11:06:32 +00:00
brcm2708-gpu-fw [brcm2708] adds target used by rapsberry pi 2012-07-24 20:39:17 +00:00
bridge-utils Update bridge-utils to the last upstream version 1.5. 2012-02-14 19:07:09 +00:00
broadcom-diag brcm47xx: use libgpio instaed of implementing the gpio interface ourself. 2012-08-04 19:46:25 +00:00
broadcom-wl [package] broadcom-wl: fix WDS hotplug for multiple networks 2012-06-26 15:43:09 +00:00
busybox [package] busybox: enable fsync applet by default 2012-08-13 09:55:12 +00:00
button-hotplug kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
comgt [package] comgt: handle service mode for Huawai modems (#12039) 2012-08-19 15:59:24 +00:00
compcache [compcache] fixes build for 3.x kernel and remove old 2.6.x references 2012-07-24 23:07:35 +00:00
crda [package] crda: update to 1.1.2 2012-04-02 16:25:40 +00:00
cyassl [package] cyassl: use patch-libtool pkg fixup 2012-01-08 15:39:42 +00:00
dnsmasq [package] dnsmasq: Fix DHCP no address on interface warning (#10570) 2012-07-19 19:12:54 +00:00
dropbear dropbear: set DEFAULT_PATH for non-interactive logins 2012-07-05 16:44:05 +00:00
e2fsprogs [e2fsprogs] fixes package description 2012-08-06 18:54:36 +00:00
ead [package] ead: fixup some AC_DEFINE() invocations that will make recent automak bail 2010-12-13 01:47:35 +00:00
ebtables ebtables: add a missing dependency 2012-06-11 00:56:34 +00:00
ep80579-drivers x86/ep80579: switch to 3.3 2012-05-18 20:10:33 +00:00
fbtest [packages/fbtest]: fbtest utility 2012-02-08 10:20:13 +00:00
fconfig
firewall [package] firewall: also set up nat reflection rules for redirects with proto all and/or no src_dport set 2012-07-09 12:23:36 +00:00
fuse fuse: update to 2.9.0 2012-06-16 21:06:37 +00:00
gdb [package] gdb: use an updated 6.8a tarball 2012-02-14 20:13:28 +00:00
goldfish-qemu [package] cleanup Makefiles (#7212) 2010-04-23 11:27:29 +00:00
gpio-button-hotplug kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
gpioctl
grub grub: replace an unnecessary piece of inline assembly that breaks the build on recent mac os x 2012-07-20 12:28:54 +00:00
hostap-driver wpa_supplicant: use wext driver for hostap and madwifi 2012-03-27 10:44:26 +00:00
hostap-utils
hostapd [package] hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914) 2012-08-08 11:13:12 +00:00
hotplug2 [package/*] remove special treatment when using glibc - support got dropped 2012-04-28 22:24:16 +00:00
i2c-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
ifenslave remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
iproute2 iproute2: fix build errors with newer versions of eglibc 2012-06-07 12:37:49 +00:00
iptables iptables: fix build error if only libraries are selected 2012-06-07 12:24:37 +00:00
iw iw: sync nl80211.h update with compat-wireless 2012-04-16 21:13:18 +00:00
iwcap [package] iwcap: fix reversed umask 2012-02-27 23:08:15 +00:00
iwinfo iwinfo: add hwinfo for Rt3052 2012-08-15 20:22:35 +00:00
ixp4xx-microcode [packages] Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
kernel [kernel] fix xen pci module, partially fixes #11970 2012-08-05 08:16:50 +00:00
kexec-tools [package] kexec-tools: update to 2.0.3 (fixes #9846) 2012-02-13 12:36:36 +00:00
libbsd [package] libbsd: do not build when using uclibc 2011-06-16 14:34:47 +00:00
libipfix [wprobe/ipfix] rename libmisc.a to libipfixmisc.a 2012-06-05 17:49:57 +00:00
libjson-c [package] change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf 2011-03-06 21:42:48 +00:00
libnl libnl: update to version 2.0 (patch by Philip Prindeville) 2011-02-13 03:56:12 +00:00
libnl-tiny [package] libnl-tiny: port upstream bugfix 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization 2012-04-01 05:32:32 +00:00
libpcap [package] libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239) 2012-04-08 15:11:12 +00:00
libreadline [package] libreadline: install *.so symlinks as well (#4872) 2010-08-27 20:13:17 +00:00
librpc librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc 2012-07-12 16:24:01 +00:00
libtool [package] libtool: remove patches, they don't apply to libltdl 2010-12-18 18:13:12 +00:00
libubox libubox: update to latest version, fixes timer/process deletion on uloop_done() 2012-07-09 15:13:26 +00:00
linux-atm package: linux-atm: br2684ct: fix nas interface bringup on boot 2012-08-09 13:13:26 +00:00
ltq-dsl [ltq-dsl] fix for 3.2.9 2012-03-25 08:50:42 +00:00
ltq-dsl-app [package] /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
ltq-ifxos wrong md5sum in ltq-ifxos 2011-07-10 10:40:37 +00:00
ltq-kpi2udp [ltq-kpi2udp] 2011-02-07 21:48:55 +00:00
ltq-tapi [lantiq] unify tapi deps 2012-08-13 11:08:13 +00:00
ltq-tapidemo [lantiq] unify tapi deps 2012-08-13 11:08:13 +00:00
ltq-vmmc [lantiq] unify tapi deps 2012-08-13 11:08:13 +00:00
lua [package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed 2011-05-04 14:51:06 +00:00
mac80211 ath5k: add back a patch for fixing eeprom rate power parsing 2012-08-15 14:49:59 +00:00
maccalc package/maccalc: don't expect to get all data in one read 2011-09-21 11:47:35 +00:00
madwifi madwifi: fix compile issues with linux 3.1/3.2 2012-03-29 12:52:16 +00:00
mkelfimage move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected 2011-07-02 06:49:36 +00:00
mmc_over_gpio [package] mmc_over_gpio: mark /etc/config/mmc_over_gpio as conffile 2010-10-05 17:21:03 +00:00
mountd [mountd] ext4 support 2012-07-24 20:38:26 +00:00
mtd mtd: fix trx_fixup 2012-07-25 17:28:32 +00:00
ncurses ncurses: libncursesw should not depend on libncurses 2012-05-26 18:03:56 +00:00
netifd [package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on 2012-08-11 16:07:36 +00:00
nvram [package] add maintainer information 2010-09-30 10:48:37 +00:00
ocf-crypto-headers ocf-linux: version bump to 20110720 2011-07-24 14:17:58 +00:00
om-watchdog package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx 2012-08-15 13:27:55 +00:00
openssl openssl: enable the use of cryptodev digests 2012-07-11 23:38:16 +00:00
opkg [buildroot] include, base-files, opkg: introduce version configuration to override the embedded version info of generated images 2012-04-12 17:31:16 +00:00
owipcalc [package] owipcalc: fix output formatting quirks 2012-07-20 15:05:30 +00:00
owsip [lantiq] unify tapi deps 2012-08-13 11:08:13 +00:00
pjsip [pjsip] dependencies break when alsa is staged 2012-08-13 12:45:36 +00:00
ppp [package] ppp: the pptp buffering option is not supported anymore, remove it 2012-06-21 19:41:47 +00:00
ps3-utils ps3-utils git repository fix 2012-03-18 21:08:39 +00:00
px5g [package] add maintainer information 2010-09-30 10:48:37 +00:00
qos-scripts [package] /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
rbcfg package/rbcfg: new tool for modifying boot configuration on the RB4xx boards 2011-06-29 09:40:54 +00:00
redboot-ar231x redboot-ar231x: mark as broken, the ecos host tool crap needs some rework for tcl on some systems 2011-03-25 00:55:25 +00:00
relayd relayd: fix return code check for resolving network->ifname mapping 2012-05-14 14:08:43 +00:00
resolveip [package] resolveip: fix whitespace 2011-07-17 22:47:56 +00:00
robocfg
rotary-gpio-custom Add package rotary-gpio-custom 2010-07-22 11:32:27 +00:00
rssileds new package: rssileds daemon 2012-08-13 14:01:34 +00:00
rtc-rv5c386a rtc-rv5c386a: add support for kernel 3.0 2011-08-04 20:06:17 +00:00
sierra-directip kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
siit massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
soloscli [package] soloscli: Add script to syslog ADSL line stats 2012-03-29 09:01:33 +00:00
spi-ks8995 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
spidev_test remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
swconfig swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765) 2012-02-12 19:27:01 +00:00
switch [packages] switch: clean up robo switch driver 2012-08-05 13:10:43 +00:00
toolchain [package] toolchain: fix libgcc and libgfortran packages for avr32 and coldfire 2012-07-17 17:33:13 +00:00
trelay kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
uboot-ar71xx uboot-ar71xx: fix compile on recent mac os x versions 2012-07-16 16:26:51 +00:00
uboot-envtools [package] uboot-envtools: add support for alfa ap96 2012-07-17 23:11:29 +00:00
uboot-kirkwood [package] uboot-kirkwood: update to 2012.04.01 2012-07-14 23:54:20 +00:00
uboot-lantiq [uboot-lantiq] adds ARV4519PW/ARV7519PW 2012-03-25 08:51:13 +00:00
uboot-omap4 [target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard 2012-01-14 23:02:56 +00:00
uboot-omap35xx [uboot-omap35xx]: Change u-boot console device to reflect change in omap serial driver 2011-08-19 12:01:30 +00:00
uboot-xburst [package] uboot-{kirkwood,xburst}: Fix typo in U-Boot image name, thanks framer99 (#8112) 2010-10-21 08:54:36 +00:00
ubus ubus: add a missing dependency 2012-06-10 20:27:47 +00:00
uci uci: update to latest version, fixes return code of the cli on various failures 2012-03-28 11:02:30 +00:00
uclibc++ [package] uclibc++: update to 0.2.4 2012-08-01 12:01:24 +00:00
udev [package] udev: Provide define to enable compilation with kernel 2.6.32.33 headers 2011-10-14 11:42:40 +00:00
uhttpd [package] uhttpd: various changes 2012-07-13 17:10:56 +00:00
usbreset [packages] usbreset: improve usability 2012-07-16 00:39:39 +00:00
util-linux util-linux: disable udev support, add missing dependencies 2012-06-11 00:56:41 +00:00
vsc73x5-ucode vsc73x5-ucode: use the mirrored ucode files from my server to replace an 127 MB download with a 14k one 2010-04-30 16:11:31 +00:00
w1-gpio-custom [package] w1-gpio-custom: set enable_external_pullup to null (#8952) 2012-08-07 16:08:08 +00:00
wireless-tools Increase iwlist buffer size 2012-07-19 08:36:11 +00:00
wprobe [wprobe/ipfix] rename libmisc.a to libipfixmisc.a 2012-06-05 17:49:57 +00:00
wrt55agv2-spidevs [atheros] wrt55agv2-spidevs needs <linux/modules.h> 2012-08-03 09:38:24 +00:00
xfsprogs [package] xfsprogs: disable po files building 2012-04-20 13:25:08 +00:00
yamonenv package/yamonenv: refresh patches 2010-03-26 14:29:32 +00:00
zlib [package] zlib: update to 1.2.7 2012-06-09 23:29:28 +00:00
Makefile [tools] mklibs: update to 0.1.34 (v2) 2012-06-10 17:07:46 +00:00