1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 00:24:58 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
jow
7bf3161500 [package] comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 19:46:38 +00:00
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
nbd
149e440f17 comgt: remove old network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 12:59:11 +00:00
nbd
745d195d8e enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
blogic
b592127753 comgt: Add scripts to comgt to retrieve the IMSI and CNUM to identify the SIM card.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-30 14:16:44 +00:00
nbd
8540d1e311 comgt: delay 3g bringup for sierra wireless cards until the card has locked on to the carrier, this helps with avoiding firmware hangs (thx, chris)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:29:10 +00:00
nbd
6f48b8ea55 comgt: port 3g.sh to netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:29:00 +00:00
nbd
33f858ee20 comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 08:47:19 +00:00
jow
8359c4e323 [package] comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:19:07 +00:00
jow
fc910db123 [package] comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:39:13 +00:00
jow
a3a2e7ee8b [package] comgt: handle ttyHS* devices in usb hotplug, fix typo (#9046)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 09:09:05 +00:00
florian
ef2f8edd20 [package] comgt: add ACM hotplug
This adds in support for ttyACM devices in the 3g hotplug script.

Signed-off-by: Matthew Eaton <wrt at divinehawk.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 17:24:25 +00:00
nico
24971136da package/comgt: only set pincode if it's supplied (closes: #7334), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 16:55:56 +00:00
markus
5aabd845f7 LED handling fixes for WRT54-G3Gv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 10:32:39 +00:00
jow
b11b5fb9e5 [package] comgt: add usb hotplug handler to bring up 3g ifaces on boot or when the dongle is attached
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 18:11:34 +00:00
jow
bd77cd72e1 [package] comgt: remove obsolete iptables support code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-26 20:14:42 +00:00
jow
35989ffd58 [package] comgt:
- localize variables
	- bring scripts in sync with updated ppp logic
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 18:01:36 +00:00
jow
2479c0db54 [package] cleanup Makefiles (#7212)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-23 11:27:29 +00:00
nbd
796a9d1091 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
nbd
0bf84185a3 Add CDMA/EVDO support to comgt package
This patch adds a chat script and makes some modifications to
/lib/network/3g.sh to enable seamless use of CDMA/EVDO modems in
addition to the existing GPRS/UMTS support.  Modifications to 3g.sh
are:
 - Added 'chat' variable to point at the appropriate script
 - Added 'evdo' and 'cdma' as acceptable 'service' values, and skip
the whole gcom initialization bit
 - Changed pppd connection speed from 460800 to more widely supported
115200; in my experience, this is not your actual connection speed,
but at what speed pppd sends setup commands to the interface.

This kinda eliminates the need for /etc/ppp/3g.connect - I think I've
replaced that functionality, but in a slightly more standardized
method, using the 'connect' variable understood by PPP.

Signed-off-by: RB<aoz.syn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 01:21:31 +00:00
nico
c4b73fa154 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
nbd
643f013d15 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
florian
f531e1f344 Upgrade comgt to 0.32 (#1347)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-19 11:17:13 +00:00
nbd
a4a6443af1 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
nbd
78c205401e move comgt to trunk and add network scripts for umts compatible with the wrt54g3g
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-04 00:21:54 +00:00