Commit Graph
384 Commits
Author SHA1 Message Date
Dan Williams ba9634ae4f serial: add mm_serial_port_is_open() 2010-01-31 12:04:53 -08:00
Dan Williams 7659208037 core: log when unlock state changes 2010-01-31 12:00:26 -08:00
Dan Williams 42a20ab187 core: whitespace fixup 2010-01-31 11:57:05 -08:00
Norbert Frese 1561436788 core: check modem PIN state before exporting it (bgo #604551)
And set UnlockRequired accordingly.  Large cleanups and rework by
dcbw.
2010-01-31 11:43:52 -08:00
Norbert Frese 3d0f2ecf12 core: add an UnlockRequired property that provides lock status (bgo #604551)
Clients can check the property to determine lock/unlock status and thus
unlock the modem before trying to connect if required.

Bits of the patch by dcbw (see the bug).
2010-01-31 11:06:55 -08:00
Dan Williams 649b7e25a0 build: update .gitignore 2010-01-27 15:50:53 -08:00
Michael Biebl aab913049b build: update .gitignore file for m4 macros 2010-01-27 15:49:28 -08:00
Michael Biebl 22e687833c build: unify compiler warnings 2010-01-27 15:48:55 -08:00
Michael Biebl 22f6ab4dc6 build: use separate directory for m4 macros 2010-01-27 15:48:10 -08:00
Dan Williams 053db1d27c misc: fix FSF address in license headers 2010-01-22 14:11:24 -08:00
Dan Williams ed885b7595 Merge commit 'origin/anydata' 2010-01-19 15:07:03 -08:00
Dan Williams a919c83582 release: bump version to 0.3 2010-01-19 15:03:20 -08:00
Dan Williams fabc1eba23 doc: build and completeness fixes 2010-01-19 15:02:30 -08:00
Dan Williams 564d054e8e cdma: increase data call initiation timeout
Some cards (Novatel S720 for example) can take a long time to start
a data call if the device isn't activated on the network or the
signal strength is low.
2010-01-19 14:35:48 -08:00
Dan Williams c6694a06b5 core: fix mm_modem_check_removed() to return errors correctly
Make sure all errors actually get returned, not just removal errors.
2010-01-19 14:23:05 -08:00
Dan Williams e984014404 anydata: whitespace cleanup 2010-01-19 13:56:53 -08:00
Dan Williams e4439d399a anydata: capture some unsolicited messages 2010-01-19 13:56:07 -08:00
Dan Williams 7fc53d29cc anydata: remove unused code 2010-01-19 13:48:21 -08:00
Dan Williams f6a09050af cdma: allow plugins to override AT+CSS? during registration checking (rh #547294)
Some modems key the AT+CSS? response off their 1X state, so if the
modem has EVDO service but no 1X service, AT+CSS? will provide incorrect
registration state information and the registration checking will
end too early.  Allow modems that can handle more specific registration
checking to skip the AT+CSS? part.
2010-01-19 13:46:07 -08:00
Dan Williams 19c988d92b anydata: add plugin for AnyData CDMA devices (rh #547294) 2010-01-19 13:19:55 -08:00
Dan Williams f4d2e30525 huawei-cdma: robustify SYSINFO parsing
Shouldn't happen since the number of matches was already
verified, but doesn't hurt to make sure we don't pass NULL
to strtol().
2010-01-19 12:27:54 -08:00
Dan Williams 82eecfca92 sierra: prefer primary port for status 2010-01-19 11:53:45 -08:00
Dan Williams 28eca600f7 Merge commit 'origin/probe-cpin' 2010-01-19 00:21:10 -08:00
Dan Williams 50ad39b28e core: protect against modem removal in critical callbacks (rh #553953)
There are more places to handle, but these are the most critical.  If
the modem is removed while a command is in-progress, the mm-callback-info
code will set info->modem to NULL.  Make sure we check for that in
callbacks and return a reasonable error.  Previous code would just
blindly forge ahead and die on a null dereference.
2010-01-19 03:18:10 -08:00
Dan Williams 73e10c77d3 cdma: prefer primary port unless it's connected 2010-01-18 23:59:54 -08:00
Dan Williams b1992f903b probe: add note about Onda MT503HS (rh #551376) 2010-01-18 23:22:02 -08:00
Dan Williams a1520465fd build: fix 'make clean' 2010-01-18 15:37:06 -08:00
Dan Williams 0cc9c1731c probe: add CPIN request during the probing process (bgo #604369)
Some devices (ZTE MF628) respond to everything except CPIN? with
ERROR unless the PIN has been sent.  Since no known CDMA devices
support AT+CPIN, assume that devices that return a CPIN response
are GSM devices.
2010-01-17 17:37:41 -08:00
Dan Williams 4cb58b8f5f zte: ignore SIM Build Main Menu requests (rh #551376) 2010-01-16 15:59:29 -08:00
Dan Williams 23727a5b10 longcheer: install udev rules 2010-01-15 11:48:35 -08:00
Dan Williams 621d9e8751 longcheer: don't try to use untagged ports on known devices 2010-01-15 11:45:43 -08:00
Dan Williams 471d8a70a9 longcheer: new plugin for Longcheer (Alcatel etc) devices (bgo #606550)
Anything with vendor ID 0x1c9e really; like Alcatel X020, X030,
X060s, etc.  Longcheer appears to make the actual hardware that all
the devices with vendor ID 0x1c9e use.  You'll see it in .INF files
with "CMLONG" as part of the USB interface definition.

If the ports are not correctly detected, we need to get the driver's
.INF files to determine what the ports should be, and add them to
the udev rules file.
2010-01-15 01:37:26 -08:00
Dan Williams a4fee864c2 release: bump version to 0.2.998 (0.3-rc2) 2010-01-12 09:29:36 -08:00
Dan Williams eeb7807044 test: add Gobi COPS response testcase 2010-01-05 23:24:59 -06:00
Dan Williams d3b5688d43 test: add Nokia 2720 COPS response testcase 2010-01-05 21:54:05 -06:00
Dan Williams 008c7e322d test: add Novatel XU870 and Option GT Ultra Express COPS response testcases 2010-01-05 21:47:40 -06:00
Dan Williams f444533a74 test: add +COPS response testcases for E1550, MF622, and E226 2010-01-05 18:07:29 -06:00
Dan Williams 1faead71aa test: handle various missing operator strings if the modem doesn't report them 2010-01-05 18:07:12 -06:00
Dan Williams c30f23e02c gsm: add testcase for invalid +COPS response 2010-01-05 15:03:06 -06:00
Dan Williams 3988f53d2e gsm: correctly parse Nokia N80 +COPS response 2010-01-05 14:57:30 -06:00
Dan Williams 216e49f8d8 gsm: split out +COPS response parsing and add testcases 2010-01-05 14:29:19 -06:00
Dan Williams a06b3f20ca serial: prevent "hangs" by limiting EAGAIN retries on serial writes
MM would appear to hang sometimes when writing to serial devices but
in reality was just retrying the write too many times.  Make the
retry limit time-based so MM doesn't hang but times the attempt out
instead.
2010-01-01 20:52:15 -06:00
Dan Williams 5eed83cd75 gsm: ensure registration state is reset when disabling the modem 2009-12-23 02:19:26 -08:00
Dan Williams b94627572f core: implement a PropertiesChanged signal for the MMModem class
At the moment only the Enabled property is exported.
2009-12-22 16:58:23 -08:00
Dan Williams 710986bd4b core: add Enabled property to org.freedesktop.ModemManager.Modem interface 2009-12-21 11:37:36 -08:00
Dan Williams 71cbcb834c build: don't require pppd headers to build
If they're not there, just ignore them and don't build the PPP-enabled
bits of the test tool.
2009-12-21 11:18:38 -08:00
Dan Williams 791faca8fa introspection: add missing mm-modem-gsm.xml 2009-12-21 11:17:59 -08:00
Dan Williams 36d8d328c7 test: add support for static IP configured devices (ie, 'hso') 2009-12-21 10:02:57 -08:00
Dan Williams a8fc7ecd77 test: add ability to drive ppp for connection tests 2009-12-20 00:17:12 -08:00
Dan Williams 87ee623923 test: fix build warning 2009-12-20 00:16:45 -08:00