Commit Graph

234 Commits

Author SHA1 Message Date
Dan Williams
a9152f21ff huawei: fix potential double-free on error (rh #632516) 2010-10-06 23:09:06 -05:00
Dan Williams
acc4541ab3 zte: add more port tags 2010-10-06 22:55:12 -05:00
Dan Williams
79f05cbcec x22x: add simple plugin for Alcatel X220D
And possibly the X225 as well.  Can't tell much about the modem and
what commands it supports other than AT+SYSSEL for mode selection.
The driver software and connection manager for Windows/Mac OS X are
written by JRD Communication in China, which is a subsidiary of
TCT, which makes Alcatel-branded phones and data sticks.  But it
doesn't appear to be the same firmware as other Alcatel/T&A modems
like X060S and such which are supported by the Longcheer plugin.
2010-09-22 16:04:25 -05:00
Dan Williams
49097b6de5 core: prefer CDMA capabilities over GSM for dual-mode devices (bgo #621815)
For devices like the UMW190 that appear to be dual-mode without needing a
firmware reload (unlike Gobis, which are dual-mode but require a reboot with
different firwmare) prefer CDMA capabilities since that's where these devices
will most likely be used more often.  In the end we'll need to change MM to
advertise a "capabilities" attribute on the modem class and modify devices
such that they can implement both GSM and CDMA semantics at the same time.
2010-09-21 14:56:47 -05:00
Dan Williams
b4d3ab014d build: use automake silent rules 2010-08-05 22:51:28 -05:00
Dan Williams
7e2d63d2c2 zte: add more port tags 2010-08-04 02:18:37 -05:00
Dan Williams
15a4592ef9 novatel: fix distcheck 2010-07-20 12:53:05 -07:00
Dan Williams
56665c19af nokia: N900 appears to need a longer port delay (rh #583691) 2010-07-09 12:35:36 -07:00
Dan Williams
6f40ecbed5 novatel: detect CDMA home/roaming status 2010-07-02 16:57:28 -07:00
Dan Williams
dbc7f3d297 novatel: fix S720 signal quality reporting 2010-07-02 15:34:05 -07:00
Torgny Johansson
48dbece33c mbm: add factory reset support 2010-06-23 16:39:13 -07:00
Dan Williams
c95216e575 huawei: add support for UnlockRetries 2010-06-22 14:06:13 -07:00
Torgny Johansson
f179a56908 gsm: add UnlockRetries property
Which reports the # of attempts remaining for the current PIN required
by the device or SIM.

Some modifications/cleanups by dcbw.
2010-06-22 14:05:09 -07:00
Dan Williams
a60216f5f4 huawei: use g_timeout_add_seconds() 2010-06-22 01:58:41 -07:00
Dan Williams
c311c3419c simtech: fix unsolicited access technology parsing 2010-05-20 12:05:50 -07:00
Dan Williams
ef747c6385 sierra: rework CDMA roaming and registration parsing
There were a few problems:

1) If SysMode is present, the registration state it reports should
be authoritative, but if there was a valid SID the plugin would
report 'registered' even if SysMode was NO SRV

2) Turns out that some devices report the roaming values as ERIs,
not plain yes/no as we thought; reported ERI was being mis-parsed
as a boolean value.
2010-05-18 13:17:49 -07:00
Dan Williams
40a4a1d774 simtech: fix plugin build 2010-05-18 10:13:04 -07:00
Dan Williams
4fd85c14a1 simtech: add plugin for Simtech-based modems (like A-Link 3GU) 2010-05-17 23:18:09 -07:00
Torgny Johansson
6a663c3a48 mbm: catch *E2NAP error codes too 2010-05-17 21:59:58 -07:00
Dan Williams
15962279a3 mbm: (trivial) line ending change?
No idea what git thinks is different about these two lines, they
strcmp() the same.
2010-05-17 21:56:45 -07:00
Dan Williams
52f8ead7c0 trivial: fix comment 2010-05-11 12:22:47 -07:00
Dan Williams
425c28dfc1 longcheer: handle TAMobile/Alcatel X060s vendor ID too
These are Longcheer-based devices, but the vendor ID is different.
We had tagged the X060s' ports in the rules but never updated the
plugin to handle the different vendor ID.
2010-05-06 15:28:43 -07:00
Dan Williams
9a6aa0c10d option/hso: eat +PACSP0 unsolicited response
Interfered with initial PIN checking in some cases.
2010-05-05 15:47:14 -07:00
Dan Williams
f0e0861aa4 longcheer: add support for access technology and allowed modes 2010-05-01 22:44:00 -07:00
Dan Williams
da8cf4a7c2 gsm: use generic string -> access technology helper 2010-05-01 22:42:58 -07:00
Dan Williams
4c3eedd955 longcheer: add more Zoom product tags (4595, 4596, etc) 2010-05-01 11:15:49 -07:00
Dan Williams
de86b71b3d zte: fix getting GSM allowed mode 2010-04-30 00:35:30 -07:00
Dan Williams
30473ce7c9 novatel: implement allowed modes and access technology 2010-04-30 00:32:54 -07:00
Dan Williams
bfe3dd49ed core: refcount serial port open/close
This specifically fixes a regression with Novatel GSM secondary
AT port enablement, where the inital pin check closed the port
before the Novatel plugin could send the command to flip secondary
ports to AT mode.

But it's useful elsewhere too, and simplifies a bunch of the PIN
checking code which had to use various ugly methods to track whether
to close the port or not after checking the PIN.
2010-04-29 21:15:17 -07:00
Dan Williams
fbfb7f8953 novatel: let generic CDMA class handle signal strength while connected
Instead of returning an unhelpful error when there isn't a second
AT port (which there never will be for Novatel CDMA devices) we should
let the superclass handle the request.
2010-04-29 18:57:49 -07:00
Torgny Johansson
921048b12e mbm: add Dell 5541 and 5542 2010-04-29 11:28:19 -07:00
Dan Williams
a4c094c340 core: fix serial error #defines
Should have ERROR in them.
2010-04-24 23:44:35 -07:00
Dan Williams
b9bb12a01e core: flash failure on disconnect shouldn't be a hard error (rh #578280) 2010-04-24 23:40:24 -07:00
Dan Williams
411051b1f3 mbm: add Sony Ericsson MD400 device IDs 2010-04-24 23:16:45 -07:00
Dan Williams
7aeac2f646 mbm: fix getting current allowed mode 2010-04-07 15:04:32 -07:00
Dan Williams
f3dd034aad cdma: fix subclass registration state checking in error paths (rh #569067)
The generic CDMA superclass already checks minimal registration state,
and when some of the additional query_registration_state() subclass checks
were being performed, if the device returned an error (if it didn't support
the subclass' specific registration command like *STATE or ^SYSINFO) the
superclass' registration state checks would be thrown away.

Fix that by specifying the behavior of the subclass'
query_registration_state() methods to ignore most errors and leave the
superclass' registration state intact if a non-critical error occurs.
2010-04-05 18:46:53 -07:00
Dan Williams
720e38aec0 core: move physical device checking into the manager
It turns out that the manager needs to know about the physical
device so we can prevent multiple plugins from claiming ports on
the same modem.
2010-03-30 14:50:40 -07:00
Dan Williams
fe69ab4210 huawei: ensure modem ports get claimed even if probe fails
Previously there was an issue where if the probe failed, because
we can't really probe huawei secondary ports for various reasons,
the Generic plugin would eventually come around and try actively
probing the secondary port after the Huawei plugin said "I don't
support this port".  Which resulted (potentially) in two MMModem
objects for the same device (one driven by Huawei, the other by
Generic).
2010-03-28 09:12:17 -07:00
Dan Williams
b876182fe6 zte: implement GSM solicited access technology request 2010-03-26 01:27:49 -07:00
Dan Williams
23986f8b0e huawei: implement GSM solicited access technology request 2010-03-26 01:15:20 -07:00
Dan Williams
a50708dbea sierra: implement GSM solicited access technology request 2010-03-26 00:27:30 -07:00
Dan Williams
843a772b4c option/hso: implement solicited access technology request 2010-03-26 00:14:47 -07:00
Dan Williams
bcfb75d88d core: grab probed QCDM ports for plugins where they are useful 2010-03-23 01:36:00 -07:00
Dan Williams
9e8a0fda9f option/hso: ensure unsolicited messages get turned off on disable 2010-03-22 15:05:45 -07:00
Dan Williams
7a5ba2e099 option/hso: make use of unsolicited access technology signals 2010-03-22 15:03:58 -07:00
Dan Williams
79bca53f21 cdma: simplify finding the right serial port for commands 2010-03-16 17:03:55 -07:00
Dan Williams
bdefdac2dc hso: add allowed mode and unsolicited response handling 2010-03-16 15:51:27 -07:00
Dan Williams
ad9fe9da28 option: generalize common Option/HSO mode and unsolicited response handling 2010-03-16 15:50:58 -07:00
Dan Williams
6744e08104 gsm: simplify finding the right serial port for commands 2010-03-16 13:17:14 -07:00
Dan Williams
eff1bcc7f3 huawei: simplify setting allowed mode 2010-03-16 11:42:57 -07:00