aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-21cinterion: drop unused constantsLubomir Rintel
GCC 6 doesn't like this. Unused since f2024b7.
2016-03-21wmc: fix a typo in the testLubomir Rintel
GCC 6 notices an unused constant and errors out.
2016-03-21build: fix missing MMCLI_LIBS variableAleksander Morgado
2016-03-21build: run configure script from builddir rather than srcdirAleksander Morgado
Based on an equivalent patch from Philip Withnall <philip@tecnocode.co.uk> for libmbim; see: https://bugs.freedesktop.org/show_bug.cgi?id=94639
2016-03-18release: bump version to 1.5.900 (1.6-rc1)Aleksander Morgado
Also bump soname of libmm-glib, as the interface has grown since the last tag.
2016-03-18NEWS: update for 1.6.0Aleksander Morgado
2016-03-18build: require libmbim 1.12 and libqmi 1.14Aleksander Morgado
Preparing for the new ModemManager stable release, we now require the latest stable series of both libmbim and libqmi.
2016-03-16libmm-glib,modem-voice: fix unknown methods in documentationAleksander Morgado
html/MMCallProperties.html:141: warning: no link for: 'mm-modem-voice-create' -> (<code class="function">mm_modem_voice_create()</code>). html/MMCallProperties.html:141: warning: no link for: 'mm-modem-voice-create-sync' -> (<code class="function">mm_modem_voice_create_sync()</code>). html/MMModemVoice.html:379: warning: no link for: 'mm-modem-voice-delete-finish' -> (<code class="function">mm_modem_voice_delete_finish()</code>). html/MMModemVoice.html:380: warning: no link for: 'mm-modem-voice-delete-sync' -> (<code class="function">mm_modem_voice_delete_sync()</code>).
2016-03-16libmm-glib,modem-location: fix unknown method in documentationAleksander Morgado
html/MMModemLocation.html:516: warning: no link for: 'mm-modem-dup-supl-server' -> (<code class="function">mm_modem_dup_supl_server()</code>).
2016-03-15build: work around automake-1.15 & intltool complaining about translations ↵Dan Williams
in build dir make distcheck runs a build in dist directory subtirs and then runs intltool -m which in turn complains about translations in a built file: The following files contain translations and are currently not in use. Please consider adding these to the POTFILES.in file, located in the po/ directory. sub/data/org.freedesktop.ModemManager.policy.in The issue is reported to intltool upstream already: https://bugs.launchpad.net/intltool/+bug/1117944
2016-03-15build,libmm-glib: built headers shouldn't be included in distAleksander Morgado
2016-03-15build: end all multiline list variables with $(NULL)Aleksander Morgado
So that appending a new item in the list only inserts one new line (i.e. the last $(NULL) is the last item always).
2016-03-15build,plugins: update build rulesAleksander Morgado
We try to combine in common envvars the compiler and linker flags shared by the different components, and where possible, also re-using the implicit AM_CFLAGS and AM_LDFLAGS variables that automake provides, and which apply to all objects being built in the same Makefile.am. The plugins build rules are also updated so that whenever a plugin has some testable 'helpers', these are compiled into a noinst library and then the new library included by both the plugin and the tester program. This avoids multiple recompilations of the same sources for different objects.
2016-03-15build,core: update build rulesAleksander Morgado
We try to combine in common envvars the compiler and linker flags shared by the different components, and where possible, also re-using the implicit AM_CFLAGS and AM_LDFLAGS variables that automake provides, and which apply to all objects being built in the same Makefile.am. The internal libmodem-helpers.la library is also renamed to libhelpers.la
2016-03-15build,libmm-glib: fix gdbus-codegen rulesAleksander Morgado
The rule with multiple targets means that for each of the target the command specified is run; not that a single run of the command generates all the targets specified. So, generate the .c file with the command, and make the .h and the .xml files a side-effect of the .c generation.
2016-03-15modem-helpers: fix handling split PDP context ID reporting in CGDCONT=? responseDan Williams
Cinterion PHS8-US devices send split PDP context ID like "(1-17,101-112)" and that caused the modem-helpers to choke.
2016-03-13build: ignore thuraya helpers testAleksander Morgado
2016-03-13build: bump required gettext version to 0.19.3Aleksander Morgado
Otherwise: configure.ac:86: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:86: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:86: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
2016-03-13huawei: use AT^DHCP response if available for NDISDUP-capable devicesDan Williams
For non-QMI/non-MBIM Huawei devices that use HiSense chipsets, the recommended way to create the connection is to use NDISDUP and either DHCP on the net interface, or the ^DHCP command. There are some reports of devices that connect successfully, but don't respond to DHCP requests on the interface. Try to get IP addressing info from the device via ^DHCP and fall back to telling clients to use actual DHCP if that fails. https://bugzilla.redhat.com/show_bug.cgi?id=1254886
2016-03-13huawei: ignore ^LTERSRP unsolicited messageAleksander Morgado
Based on a previous patch from Dan Williams <dcbw@redhat.com>
2016-03-11port-probe: simplify task completionAleksander Morgado
We no longer need to complete in idle, because the limitation imposed by the serial port methods no longer exists.
2016-03-11port-serial: allow completions not in idleAleksander Morgado
Port serial command completions may be performed in several different places: * When a cached response is set during command sending. * When errors happen during command sending. * When we process a response (i.e. common_input_available()) * When we process a timeout (i.e. port_serial_timed_out()) * When cancelled (i.e. port_serial_response_wait_cancelled()) We're currently safe with the previous logic only because the users of the serial port explicitly complete operations in idle, which means that whenever we're processing in a internal callback (e.g. during response or timeout processing) the serial port object is valid for as long as the callback runs. But, if we ever end up using the serial port with a not-in-idle completion, it may happen that if the command is completed within a internal signal callback the serial port object may get fully closed and unref-ed before exiting the callback. We could force a valid port reference to exist as long as the internal signal is scheduled, but then we may lose the ability to automatically close the port during a full unref(), as the internal signals are set as long as the port is open. So, to cope with this possibility of not-in-idle completion, we instead force references to be valid whenever we see that a command completion may happen, which is basically whenever port_serial_got_response() is called; but we only do that if we're going to use the port object after that, otherwise, we ignore the problem. In addition to the problems with the references, we also update the common_input_available() method so that the source isn't kept if the last response buffer processing ended up closing the port.
2016-03-10telit: implemented set current bandsCarlo Lobrano
2016-03-09plugin-manager: allow early cancel of port tasks when they haven't been run yetAleksander Morgado
2016-03-09port-probe: allow cancellationAleksander Morgado
2016-03-09plugin: allow cancellation of the port probe operationAleksander Morgado
2016-03-09plugin-manager: refactor device/port support checks and allow cancellationsAleksander Morgado
2016-03-09plugin-manager: improve logging when loading pluginsAleksander Morgado
2016-03-09broadband-modem: fix +CPMS empty parameter supportCarlo Lobrano
* Add new async virtual method init_current_storages to MMIfaceModemMessaging * Add logic of init_current_storages to MMBroadbandModem * Add step "INIT_CURRENT_STORAGES" in MMIfaceModemMessaging initialization in order to load and store current SMS storages for mem1 and mem2. * Add usage of current sms storage value for mem1 in place of an empty string parameter when the command AT+CPMS is used. https://bugs.freedesktop.org/show_bug.cgi?id=93135
2016-03-02helpers: fix check for pid when creating device identifierAleksander Morgado
https://bugs.freedesktop.org/show_bug.cgi?id=94364
2016-02-24telit: add current modes settingDaniele Palmas
This patch adds current modes setting in Telit plugin
2016-02-20proxmark3 is not a modem, blacklist it.Michael Farrell
ModemManager locks the proxmark3 when it is connected. As it is not a modem, ModemManager shouldn't be talking to it. At present, the recommended action in the proxmark3 documentation is to purge ModemManager to fix this issue. Note that this vendor uses an unregistered USB device ID, so it is instead matched by the manufacturer string. References: - http://store.ryscc.com/blogs/news/45802433 - http://www.proxmark.org/forum/viewtopic.php?id=1759
2016-02-20build: ignore telit unit testAleksander Morgado
2016-02-15telit: add load_current_bands interfaceCarlo Lobrano
2016-02-15tests: white space / indentation fixesMichael Biebl
Fixes problems with GCC 6 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811583 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=94149
2016-02-15huawei: avoid trying to disable parent voice unsolicited eventsAleksander Morgado
Which actually segfaults, as MMBroadbandModem doesn't implement the disable_unsolicited_events() method in the voice interface.
2016-02-15huawei: ignore ^ECCLIST unsolicited messagesAleksander Morgado
These messages list the emergency numbers reported by the network, we don't use them yet. E.g.: ^ECCLIST: 112,911\r\n
2016-02-13thuraya: filter by vendor ID instead of vendor stringThomas Sailer
Probe the Thuraya XT modem by USB vendor ID; there are no RS232 versions to my knowledge. One of my computers exhibiting the probing issue (VID/PID of the PCI host controller instead of the USB device) fixed itself after a reboot. Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
2016-02-13modem-helpers: regex creation should never failAleksander Morgado
We should really consider errors if we expect that the regex string may not compile; but in this case the pattern is fixed, so should never happen.
2016-02-13helpers: move +CRSM parsing to mm_3gpp_parse_crsm_responseThomas Sailer
Also added test cases. Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
2016-02-13helpers: allow optional quotes in +CREG: <stat>,"<lac>","<ci>"Thomas Sailer
GSM 07.07 CREG=2 unsolicited pattern. Added testcase for Thuraya XT. Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
2016-02-11broadband-modem-qmi: fix compile errors with newest QMI commands enabledDan Williams
2016-02-11broadband-bearer: don't send disconnect CGACT on data port for multi-port modemsDan Williams
A Huawei E173 (with FW 11.126.15.00.445) seems to stop responding on the primary port (ttyUSB2) when the CGACT is resent on the data port (ttyUSB0). The CGACT-on-data-port was originally added as a fallback attempt to get single-port modems to disconnect when all other methods failed. For single-port modems, the primary port is also the data port so this patch will have no effect. For multi-port modems, this patch will retry the CGACT on the primary port which has a higher chance of success because we already know the primary port is talking to us, while the data port may still be stuck in PPP mode.
2016-02-11thuraya: add plugin for the Thuraya XT satellite phone modemThomas Sailer
Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
2016-02-11modem-helpers: allow optional whitespace in +CGDCONT responseThomas Sailer
Add testcase for Thuraya XT. Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
2016-02-11qmi: just one InvalidCommand error is enough to avoid all DMS UIM commandsAleksander Morgado
The MMBroadbandModemQmi will not create a MMSimQmi until the unlock status has been checked, and therefore this means that when the SIM object is being created we already know whether the modem supports DMS UIM commands or not, so avoid further fallbacks in the SIM object.
2016-02-11sim-qmi: implement SIM verify/unblock/change/enable with UIM serviceAleksander Morgado
Newer modems like the MC7455 don't implement the "DMS UIM" commands in the DMS service, and therefore these modems need to use the UIM service directly. We include a new flag to detect whether any of the DMS UIM commands is flagged as invalid, and if so, we'll fallback to the UIM specific implementations for all. libqmi version bump to 1.13.7, which includes the new required methods.
2016-02-11broadband-modem-qmi: implement unlock retries loading with UIM serviceAleksander Morgado
Newer modems like the MC7455 don't implement the "DMS UIM" commands in the DMS service, and therefore these modems need to use the UIM service directly.
2016-02-11serial: remove duplicated ECHO & ECHOETomas Jura
2016-02-11mbm: stop echos on gps portTomas Jura