Commit Graph

111 Commits

Author SHA1 Message Date
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
Dan Williams
e3eef316a5 generic: remove unused code 2009-06-29 16:51:06 -04:00
Dan Williams
c106368ce7 Merge commit 'origin/master' into udev 2009-06-29 13:14:11 -04:00
Dan Williams
04540bddb4 mbm: remove dead code 2009-06-29 12:59:59 -04:00
Torgny Johansson
3f5501906b mbm: fix +CIND quality parsing
Broken by Dan with ef0a604dc2
2009-06-29 10:34:33 -04:00
Dan Williams
ff58936f1f mbm: port to udev and new plugin API 2009-06-29 10:15:52 -04:00
Dan Williams
8ae41eeee3 hso: always mark netdev as supported 2009-06-29 10:09:26 -04:00
Dan Williams
c6d0174b41 hso: fix grab of netdev port 2009-06-29 09:00:25 -04:00
Dan Williams
504b4991cd Merge commit 'origin/master' into udev 2009-06-29 07:29:57 -04:00