Dan Williams
f205c814b5
hso: ensure authentication works again after auth errors
2009-11-30 09:47:39 -08:00
Dan Williams
028c6a5e4e
hso: fix up connection issues and error ignorance
...
Should have ignored errors when cleaning up old contexts that
may or may not exist. Rename hso_disable() to something more
appropriate since it's actually part of the enable/connect path,
not the disable path.
2009-11-29 22:45:28 -08:00
Dan Williams
c8fdb592e3
hso: send authentication info correctly for Icera-based Option modems
...
Icera-based modems use AT_OPDPP instead of AT$QCPDPP.
2009-11-29 18:58:56 -08:00
Dan Williams
8bd10ebda2
huawei: sometimes reports BOOT with two LFs, not LF+CR
2009-11-24 13:04:21 -08:00
Dan Williams
3218b94376
cdma: handle 1x and EVDO quality separately
2009-11-24 12:57:44 -08:00
Dan Williams
ac9cae2bc8
zte: retry init strings once on timeout
...
Some ZTE devices (MF626 for example) will emit the ZPASR unsolicited
response right after MM opens the port, and they will just throw the
init string away. So retry the init string once; the ZTE devices will
see it the second time and continue as normal.
This is the MM version of NM commit 861e9689c513cbd61fa75205a681a69d4ba8236c
2009-11-24 12:16:14 -08:00
Dan Williams
9e92bceb07
hso: consolidate PDP context activate/deactivate operations
...
And rename the function to make it clearer. disable() wasn't using
the common activate/deactivate code so switch it to do so.
2009-11-24 00:19:27 -08:00
Dan Williams
e5b5c83394
hso: disconnect the PDP context that was active (if any)
...
Instead of always disconnecting context #1 .
2009-11-23 23:32:01 -08:00
Torgny Johansson
74f679acdb
mbm: add USB IDs for C3607w
2009-11-04 13:11:23 -08:00
Dan Williams
678f07a1e2
gobi: don't override generic init commands
...
The default ones seem to work just fine.
2009-10-30 16:16:36 -07:00
Dan Williams
49b5ffd076
core: use G_DEFINE_TYPE_* instead of rolling our own
...
Use the macro; save some trees.
2009-10-26 17:56:48 -07:00
Jeroen Elebaut
6bc4f0ae8c
hso: handle OWANCALL response better
2009-10-16 14:41:12 -07:00
Alexander Sack
acd785bfa4
mbm: use generic get_signal_quality implementation rather than our own CIND based one
2009-10-15 01:24:24 +02:00
Alexander Sack
139741d140
mbm: implement AT*ENAP polling
2009-10-15 01:22:20 +02:00
Alexander Sack
6885505dea
mbm: flip order in which we send enap/e2nap to modem to make f3507g happier
2009-10-15 01:22:14 +02:00
Alexander Sack
6ddd97e81c
mbm: send ENAP=0 on init to set modem back to sane state and ignore CIND errors
2009-10-15 01:22:00 +02:00
Dan Williams
ea29dc8044
mbm: fix disable after 3b19a85727
...
C & P error in enable/disable split.
2009-10-14 13:36:59 -07:00
Alexander Sack
0bcdf6a7c1
nokia: fix class property overrides to stop modemmanager from sending AT+CFUN (lp:450256)
2009-10-13 15:14:14 +02:00
Dan Williams
6f65ad7682
sierra: handle non-EVDO roaming indication for older cards
...
Like the AC580
2009-10-12 11:45:20 -07:00
Dan Williams
942b5ff826
sierra: add CDMA device subclass and implement registration state handling
2009-10-12 10:56:53 -07:00
Dan Williams
3245ea3193
huawei: don't need AT prefix
2009-10-12 10:56:11 -07:00
Dan Williams
958b9048a3
cdma: split 1x and EVDO registration states
...
Like UMTS vs. GSM, EVDO and 1x are separate networks and technologies
and have separate registration state. You can even be roaming on
EVDO while in your home 1x network. Handle that.
2009-10-12 10:06:53 -07:00
Alexander Sack
3f51cf421e
huawei: adjust printf-style format to fix 32-bit gcc-4.4 builds
2009-10-12 12:19:12 +02:00
Dan Williams
1f0be4a2e9
huawei: remove debugging stuff
2009-10-11 11:44:34 -07:00
Dan Williams
f0dc449c50
sierra: rename MMModemSierra -> MMModemSierraGsm
2009-10-11 11:39:18 -07:00
Dan Williams
81163b3032
huawei: add CDMA device subclass and implement registration state handling
2009-10-11 11:27:29 -07:00
Dan Williams
21391286fc
huawei: rename MMModemHuawei -> MMModemHuaweiGsm
2009-10-11 11:19:00 -07:00
Dan Williams
5079b32a09
hso: fix disable
2009-10-06 11:45:07 -07:00
Dan Williams
912b98723b
Merge commit 'origin/master' into enable-split
2009-10-05 09:52:01 -07:00
Dan Williams
e5441115a2
bluetooth: recognize rfcomm devices
...
Two hacks here:
1) rfcomm ports don't have an easily accessible driver name, so we just
match the parent's subsystem to 'bluetooth' and use that
2) libgudev doesn't seem be be able to get the rfcomm device's device file,
which would normally be /dev/rfcommX. Oh well, we don't use the device file
yet anyway
2009-10-02 22:31:16 -07:00
Dan Williams
3b19a85727
core: split generic modem enable/disable operations
2009-09-23 16:04:25 -07:00
Eugene Crosser
2bad09403a
nokia: don't use CFUN at all (lp430576)
...
CFUN=0 actually powers off the phone; CFUN=1 isn't really supported
on some phones either. So just don't use CFUN at all.
2009-09-22 22:56:58 -07:00
Alexander Sack
feb00e4553
mbm: more permissive ESTKSMENU regexp
2009-09-21 15:42:30 -07:00
Torgny Johansson
3d178fafcf
mbm: handle *EMWI unsolicited responses
2009-09-19 11:42:10 -07:00
Torgny Johansson
1f7bb908eb
mbm: fix up +PACSP0 unsolicited response matching
2009-09-19 11:37:16 -07:00
Dan Williams
14e5c52f78
core: don't allow concurrent flashes on the same device
...
Previously, a few operations (like disable) could trigger a modem
flash in parallel with another flash. That's wrong, don't allow
that. At the same time, add in finer-grained error checking on
serial port speed operations, and fix a GSM generic bug that would
send the POWER_UP string on disable.
2009-09-08 17:34:04 -07:00
Alexander Sack
180ad403b8
mbm: parse and ignore unsolicited *ESTKSMENU message - lp:416418
2009-08-21 21:41:48 +02:00
Torgny Johansson
9e106eae1a
mbm: add more USB IDs
2009-08-20 20:27:32 +02:00
Dan Williams
1a75d8d010
moto-c: claim Motorola C380 too (bgo #591978 )
2009-08-19 17:08:13 -05:00
Alexander Sack
12ac98e9f6
license: add license header to all files and set copyright based on git log
2009-08-06 12:43:51 +02:00
Dan Williams
2d194a5798
gsm: harmonize band/mode enums
...
Use the same enum for set/get of band and mode, as for exposing the
device's capabilities.
2009-08-05 13:03:59 -04:00
Dan Williams
482053ce76
zte: fix udev rules
2009-07-15 22:00:36 -04:00
Dan Williams
d105ac8fd6
mbm: fix brand of some 'mbm' devices in udev rules
...
Should be just Ericsson, not Sony-Ericsson. The MD300 is SE though.
2009-07-14 08:47:13 -04:00
Dan Williams
6610ded407
mbm: add more USB IDs
2009-07-10 12:19:20 -04:00
Dan Williams
736aa0d2d6
serial: rework 'connected' logic
...
So many modems just don't implement carrier detect that it makes
the previous 'connected' logic useless, so base it off connect/disconnect
and fix up a few places that didn't check connect status before
trying to send commands. Also ensure the serial port is unlocked
for PPP to use when connected.
2009-07-06 11:40:22 -04:00
Dan Williams
869c69e223
zte: fix port tagging rules to actually work
2009-07-02 16:08:54 -04:00
Dan Williams
52da9990ee
plugins: allow plugins to more easily suggest port types
...
ZTE modems need to use udev rules to assign port type hints,
so generalize that and port all the plugins over to suggested
port types in the MMModem interface's grab_port() function.
2009-07-02 13:48:30 -04:00
Dan Williams
5a563d56d1
sierra: handle APP[x] ports being recognized before the master port
2009-06-29 22:50:58 -04:00
Dan Williams
2730fe4539
moto-c: fix port grabbing; remove dead code
2009-06-29 22:50:37 -04:00
Dan Williams
36ee982b61
sierra: ensure port is valid before doing stuff to it
2009-06-29 22:50:16 -04:00