aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-23broadband-modem: default implementation of the network time interfaceJason Simmons
Add a default implementation that queries the real-time clock using the AT+CCLK? command. Also set AT+CTZU=1 in case a modem requires it.
2015-03-13telit: adding 3gpp unsolicited events support for Telit modemsDaniele Palmas
Mobile Equipment Event Reporting command for Telit modems (+CMER) does not support <ind>=1. Changing to <ind>=2
2015-03-12telit: add custom flow control settings for Telit HE910, UE910, UL865Daniele Palmas
Telit HE910, UE910 and UL865 do not support XON/XOFF; defaulting to RTS/CTS
2015-03-12telit: Adding udev rules for Telit HE910, UE910 and UL865Daniele Palmas
Adding udev rules for proper modem identification.
2015-03-11novatel: fix checking for time supportAleksander Morgado
2015-03-06Adding IMC flashing device in blacklistDaniele Palmas
2015-03-02iface-modem: don't artificially forbid power updates when in OFF stateAleksander Morgado
If for any reason the modem is in OFF state and still can talk to the modem, allow running the remaining transition requests to LOW or ON. This can happen for example for modems that use CFUN:0, i.e. which can still go online with CFUN=1. https://bugs.freedesktop.org/show_bug.cgi?id=89368
2015-02-27greylist: add Cypress USB<->RS232 adaptersAleksander Morgado
https://bugs.freedesktop.org/show_bug.cgi?id=89362
2015-02-26bearer,qmi: also print IPv6 gateway prefixAleksander Morgado
2015-02-26bearer-qmi: avoid unref-ing arrays owned by the output bundlesAleksander Morgado
When we get an array from a libqmi output or input bundle, the array is always owned by the bundle (i.e. transfer-none).
2015-02-26build: refactor and cleanup configure.acAleksander Morgado
2015-02-26build: disable static libraries by defaultAleksander Morgado
2015-02-26build: setup silent-rulesAleksander Morgado
And bump automake requirement to 1.11.
2015-02-23iface-modem-3gpp: used DENIED registration state if others are UNKNOWNDan Williams
If all other registration states are UNKNOWN, use a registration state of DENIED as the global modem state.
2015-02-18plugin: add implicit QMI and MBIM forbidden drivers checkAleksander Morgado
2015-02-18gobi: remove pluginAleksander Morgado
There's no real need for a custom Gobi plugin any more. All the vendor-specific Gobi-powered modems should be handled by vendor-provided plugins supporting QMI modems; or otherwise, as a last resort, by the generic plugin.
2015-02-16dell: new Dell pluginAleksander Morgado
For Dell-branded Novatel, Sierra and Ericsson modems. The Novatel plugin will no longer accept every Dell-branded modem, which was the current situation. Instead, a new Dell plugin will take care of probing for the correct vendor string, and based on the results create a specific Novatel, Sierra or Ericsson modem. In order to properly support this, the Novatel, Sierra and MBM plugins now export their implementations into non-inst libraries that the Dell plugin will import. Also, for now, the Dell plugin doesn't make any difference between e.g. Sierra or Ericsson MBIM implementations, just a generic MBIM modem is created in both cases, as that is anyway what the Ericsson MBM and Sierra plugins do already. https://bugs.freedesktop.org/show_bug.cgi?id=86713
2015-02-16sierra: move all the legacy Sierra support to a new 'sierra-legacy' pluginAleksander Morgado
In short: * The 'sierra-legacy' plugin will handle all the old AT based modems, including the DirectIP ones. This plugin is filtered by driver ('sierra' or 'sierra_net') and forbidden-drivers ('qmi_wwan' and 'cdc_mbim'). This plugin should also grab HP and AT&T branded models if they are handled by the proper kernel driver. * The 'sierra' plugin will only handle QMI or MBIM based Sierra modems, which are really all the new ones. This plugin is filtered by VID (0x1199) and driver (qmi_wwan and cdc_mbim). For this separation to work, the 'sierra' and 'sierra_net' plugins need to be complementary to each other.
2015-02-16plugin-manager: make sure there is some wait time before probing the first portAleksander Morgado
We really do need a wait time to make sure most ports are exposed by the kernel, so that plugin filters based on "forbidden-drivers" work correctly. E.g. the "gobi" plugin now flags as forbidden the "qmi_wwan" driver, which means that modems exposing both TTYs and QMI/WWAN ports should never be handled by the Gobi plugin.
2015-02-16plugin: allow having both 'drivers' and 'forbidden drivers' filtersAleksander Morgado
2015-02-16plugin: let vendor/product filter be complementaryAleksander Morgado
So that a plugin can specify a full VID and a specific PID subset of another VID as supported.
2015-02-16sierra: move custom init and port grabbing methods to separate source filesAleksander Morgado
2015-02-16mbm: build a common non-inst library with the core Ericsson modem supportAleksander Morgado
2015-02-16sierra: build a common non-inst library with the core Sierra modem supportAleksander Morgado
2015-02-16novatel: build a common non-inst library with the core Novatel modem supportAleksander Morgado
2015-02-16novatel: move custom init method to separate source filesAleksander Morgado
2015-02-16build: use absolute paths when ignoring specific files in subdirsAleksander Morgado
If paths are not prefixed with '/' they are taken as filename-ignores that apply to the whole tree.
2015-02-11build: remove obsolete ignored filesAleksander Morgado
2015-02-11test: new 'mmtty' utilityAleksander Morgado
The new tester allows to play with the AT-capable TTY using the same code as ModemManager itself. $ sudo ./test/mmtty -d /dev/ttyHS0 --verbose opening serial port '/dev/ttyHS0'... (ttyHS0) opening serial port... (ttyHS0): port attributes not fully set (ttyHS0) device open count is 1 (open) flashing serial port '/dev/ttyHS0'... ready > AT+GCAP (ttyHS0): --> 'AT+GCAP<LF><CR>' (ttyHS0): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>' +GCAP: +CGSM,+DS,+ES > AT+GMI (ttyHS0): --> 'AT+GMI<LF><CR>' (ttyHS0): <-- '<CR><LF>Option N.V.<CR><LF><CR><LF>OK<CR><LF>' Option N.V. > ^C cancelling the main loop... (ttyHS0) device open count is 0 (close) (ttyHS0) closing serial port... (ttyHS0) serial port closed (ttyHS0) forced to close port
2015-02-11ports: move serial parsers to the internal libportsAleksander Morgado
2015-02-11po: added systemd sleep management file to the list of translatable filesAleksander Morgado
2015-02-10broadband-modem-qmi: don't try FCC auth if the first Set Operating Mode succeedsAleksander Morgado
2015-02-07broadband-modem-qmi: use 'DMS Set FCC Authentication' if online mode failsAleksander Morgado
Some new devices, like the Dell DW5770, will return an internal error when trying to bring the power mode to online. We can avoid this by sending the magic "DMS Set FCC Auth" message before retrying. Bumping libqmi version to 1.13.4, which is the one that supports this new message. https://bugzilla.kernel.org/show_bug.cgi?id=92101
2015-02-07suspend: invalidate and remove modems on suspend, reprobe on resumeAleksander Morgado
2015-02-07suspend: port upower backend to GDBusAleksander Morgado
2015-02-07suspend: imported suspend/resume support from NetworkManagerAleksander Morgado
We're going to make this optional during build, not mandatory as was the case in NM.
2015-02-07utils: imported singleton setup from NetworkManagerAleksander Morgado
2015-02-06novatel: remove unused custom AT probe arrayAleksander Morgado
2015-01-29helpers: avoid segfault when empty pdp type string is givenAleksander Morgado
https://bugzilla.redhat.com/show_bug.cgi?id=1183250
2015-01-29plugin: avoid segfault when port driver is unknownAleksander Morgado
Based on a patch from Bastiaan Jacques <bastiaan@bjacques.org> https://bugzilla.redhat.com/show_bug.cgi?id=1177799 https://bugs.freedesktop.org/show_bug.cgi?id=88864
2015-01-26blacklist: ignore PalmOS devices driven by 'visor'Dan Williams
MM probing appears to make 'visor' module die; and anyway most of the devices driven by 'visor' are not phones, and of the 3 that are phones they are so old (2002 - 2005 era) that nobody is likely using them for dialup anymore. http://www.spinics.net/lists/linux-usb/msg120483.html
2015-01-25mmcli: add command completionAleksander Morgado
2015-01-24bearer-qmi: even if we request DHCP in the bearer, expose available IPv4 configAleksander Morgado
Same as we do in IPv6. Note that NM won't use it if DHCP is requested.
2015-01-16nokia: 20s for CSCS=? test commandAleksander Morgado
Nokia N9 via Bluetooth DUN may require up to 20s for the supported charsets query; so update the timeout in the Nokia plugin. https://bugs.freedesktop.org/show_bug.cgi?id=87635 https://bugzilla.gnome.org/show_bug.cgi?id=741813
2015-01-15haier: new Haier plugin to handle port type hints in the CE81BAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=685011 https://bugs.freedesktop.org/show_bug.cgi?id=85001
2015-01-11core: perform clean-up when terminating due to a Unix signalJakub Sitnicki
Since commit 2d700043abc5 ("core: use g_unix_signal_add() for more reliable Unix signal handling") we no longer have to stick to signal-safe functions in the SIGTERM/SIGINT handler. Use exit() to terminate so that the clean-up functions are ran and code coverage data gets written into files.
2015-01-11build: add code coverage supportJakub Sitnicki
Build all targets, except for CLI tools (mmcli, uml290), with special flags needed for collecting code coverage information when the build has been configured with --enable-code-coverage. Three new targets are available in the top build directory: - `check-code-coverage' runs the test suite and generates a code coverage report, - `code-coverage-capture' generates a code coverage report from already collected data, which can come in handy when one wants to see code paths touched by a particular test, - `code-coverage-clean' removes the collected coverage data and the generated reports.
2015-01-11build: include ax_code_coverage.m4 serial 5Jakub Sitnicki
So that we don't require a fairly recent version of autoconf-archive (v2014.10.15 or newer) to build.
2015-01-11build: remove incomplete support for code coverageJakub Sitnicki
Looks like make targets for generating code coverage reports with LCOV were copied from GLib but corresponding changes to configure.ac were not made. Clean it up.
2015-01-09port-probe: Increase AT probe command timeout to 7 seconds for altair.Roshan Pius
This patch increases the response timeout for the probe AT commands for altair modems. We've been noticing some altair modems taking upto 6 seconds to respond to the initial probe command after a reset which results in modem-manager timing out and sending a second probe command. The modem sends a response after about 6 seconds for the initial probe command which modem-manager treats as response to second probe command and this results in the modem-manager and modem going out of sync because the modem's second probe response is treated as response to the next initialization AT command sent by modem-manager and so on. Change-Id: Iad8b0786327b153fd95c8ee4516f352325a42cf7