AgeCommit message (Collapse)AuthorFilesLines
6 daystests,fixture: fix commentHEADmasterAleksander Morgado1-1/+1
8 daysqcdm: don't retry probing if QCDM unescaping failsAleksander Morgado4-6/+12
But keep the retries when the frame marker isn't found.
2014-10-07port-serial: fix forced closing after b28230411Dan Williams1-20/+23
b28230411 moved up the self->priv->forced_close = TRUE, which caused mm_port_serial_close() to just return without actually closing the port and cleaning up. Also, cancel the reopen separately from closing the port since the two operations are actually independent of each other.
2014-10-05tests: increase timeout for starting ModemManager on test busBen Chan1-1/+1
The timeout for starting ModemManager on the test bus was 3s, which is sufficient under normal conditions. However, when running ModemManager tests on a build infrastructure under a heavy load, we've observed that the timeout isn't always sufficient and that becomes the source of false test failures. This patch increases the timeout to 30s, which shouldn't introduce any unexpected behavior under normnal conditions while addressing the timeout issue on heavily loaded systems.
2014-09-15build: remove --with-newest-qmi-commands configure optionAleksander Morgado1-20/+0
We don't want people to use the logic enabled by this switch, so remove it from configure to avoid confusions. Developers can still enable the related code by defining WITH_NEWEST_QMI_COMMANDS via CFLAGS; e.g.: $ NOCONFIGURE=1 ./ $ ./configure CFLAGS="-DWITH_NEWEST_QMI_COMMANDS"
2014-09-11broadband-modem-qmi: fix registration state when built with ↵David McCullough1-3/+5
--with-newest-qmi-commands This patch fixes the registration reporting/checking when ModemManager is built with --with-newest-qmi-commands. apply_cs and apply_ps were not properly initialised and may never be true. Also fixes a CnP error for mm_ps_registration_state. Signed-off-by: David McCullough <>
2014-09-11broadband-modem-qmi: fix signal strength when built with ↵David McCullough1-13/+13
--with-newest-qmi-commands This patch fixes the signal strength values when using ModemManager built with --with-newest-qmi-commands. It was never getting a valid signal strength because the default (0) is always greater than a valid signal strength, and the rssi_max handling was completely wrong. Signed-off-by: David McCullough <>
2014-09-05broadband-modem-qmi: implement A-GPS enabling/disablingAleksander Morgado1-61/+310
2014-09-05broadband-modem-qmi: implement SUPL server settingAleksander Morgado1-0/+139
2014-09-05broadband-modem-qmi: implement SUPL server loadingAleksander Morgado1-0/+129
2014-09-05broadband-modem-qmi: A-GPS available by defaultAleksander Morgado2-3/+6
Also bump libqmi requirement to 1.11.1, which is the one exposing the new A-GPS related commands.
2014-09-05iface-modem-location: load SUPL server setup when initializing interfaceAleksander Morgado2-1/+48
2014-09-05iface-modem-location: handle setting SUPL serverAleksander Morgado2-0/+125
2014-09-05cli,location: allow enabling/disabling A-GPSAleksander Morgado1-0/+22
2014-09-05cli,location: allow getting/setting SUPL server addressAleksander Morgado1-1/+64
2014-09-05libmm-glib,location: add helpers to get/set the SUPL server addressAleksander Morgado3-0/+143
2014-09-05introspection,api: add SUPL server configuration in the Location interfaceAleksander Morgado4-3/+41
2014-09-05docs,man: renew the ModemManager man page and add several missing commandsAleksander Morgado1-23/+47
2014-09-05core: add --version option to the ModemManager daemonAleksander Morgado3-4/+24
It was actually included in the man page of the daemon, but we didn't have it.
2014-09-05zte: blacklist QMI and net interface in the MF60Aleksander Morgado1-0/+5
The MF60 exposes a QMI+net pair, but they are unusable as the WDS service returns error when e.g. launching a connection. So, fallback to AT+PPP in this device.
2014-09-05plugin: allow to explicitly ignore any kind of port via udevAleksander Morgado3-3/+37
The new 'ID_MM_PORT_IGNORE' tag will tell ModemManager to fully avoid using a given port. Note that it is key to not only flag the port probe as ignored, but also to fully ignore the ports in e.g. mm_port_probe_list_has_qmi_port() as those methods will be used to decide which kind of modem object to create. We don't want to create a QMI-based modem which may have all QMI ports blacklisted.
2014-09-05plugin: if no QMI or no MBIM still grab the WWAN ports, flagged as ignoredAleksander Morgado1-8/+16
E.g. this would be the result when having ModemManager compiled without QMI support, and a modem with 2 QMI/WWAN pairs: $ mmcli -m 2 /org/freedesktop/ModemManager1/Modem/2 (device id '417e4dcff7f232b62cfe6c972e2099701848fd7f') ------------------------- Hardware | manufacturer: 'Sierra Wireless, Incorporated' | model: 'MC7304' | revision: 'SWI9X15C_05.05.02.00 r19147 carmd-fwbuild1 2013/11/15 13:54:28' | supported: 'gsm-umts' | current: 'gsm-umts' | equipment id: 'unknown' ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7' | drivers: 'qcserial, qmi_wwan' | plugin: 'Gobi' | primary port: 'ttyUSB8' | ports: 'ttyUSB8 (at), wwp0s29u1u7i8 (unknown), ttyUSB6 (qcdm), wwp0s29u1u7i10 (unknown)' The /dev/cdc-wdm ports don't even appear (as they were not even probed), but the newly ignored WWAN ports do appear in the list, but flagged as UNKNOWN type (instead of NET).
2014-09-05base-modem: always grab ports marked as ignoredAleksander Morgado1-1/+9
Modems may expose ports that are either just not used (e.g. modems exposing more than 2 functional AT ports) or explicitly avoided (e.g. WWAN ports when we don't know how to use them). Those kind of ports are part of the modem, but not used by ModemManager. Still, ModemManager should list them in the list of ports available for the modem, with IGNORED type.
2014-08-22port-mbim: use the mbim-proxy by defaultAleksander Morgado1-7/+7
2014-08-22build: post release version bump to 1.5.0 (development)Aleksander Morgado1-1/+1
2014-08-22release: bump version to Morgado2-3/+46
2014-08-22AUTHORS: update from git logAleksander Morgado1-3/+71
$ git shortlog -s -n
2014-08-18qmi: always use DHCP for IPv4 configuration instead of STATICdcbw/qmi-always-dhcpDan Williams1-1/+1
Some newer modems (Huawei E1750, Sierra 73xx) provide what looks like legitimate static IPv4 configuration through the WDSGetCurrentSettings call, but when configured the interface does not pass traffic. Running DHCP on the same interface provides a slightly different IPv4 configuration but does allow traffic to pass. Since QMI was switched to static originally for consistency with IPv6 and for speed of IP configuration (since DHCP takes a bit of time), but not for any known problems with modems, let's switch back to DHCP until we have time to figure out what's actually going on.
2014-08-18bearer-qmi: allow forcing DHCP instead of static IP configAleksander Morgado3-44/+117
2014-08-12broadband-modem,plugins: fix GMatchInfo leaksBen Chan5-2/+8
2014-08-11huawei: minor style fixesAleksander Morgado1-1/+3
2014-08-11huawei: improve support for network time on Huawei modulesDavid McCullough4-65/+404
Third revision of Huawei nwtime support. Takes on feedback from the mailing list including helpers, some basic tests and use of the ^NTCT command to determine network time support (^NWTIME). Expanded test cases, more use of g_assert and more logical helper return values/errors. Signed-off-by: David McCullough <>
2014-08-11iface-mode: downgrade "access technology changed" message to debugDan Williams1-4/+4
We have a report of a modem that switches access technologies frequently, in this case almost every 10 seconds. While that's unusual, it's not unexpected depending on the RF environment. We shouldn't spam syslog with that info; if we need it we can get it with mmcli.
2014-08-05build: INCLUDES -> AM_CPPFLAGS to quiet automake warningDan Williams2-2/+2
2014-08-04build: require libmbim 1.10.0Aleksander Morgado1-1/+1
We were depending on some new MbimNwError values defined at some point in the 1.9 development series. Depend on the new stable 1.10 version now that it's been released.
2014-07-29libmbim-glib: handle explicit '+' on positive numbersDavid McCullough1-1/+1
2014-07-27plugin: improve probing decision logic for QMI and MBIMAleksander Morgado1-17/+2
So, we may have modems with multiple /dev/cdc-wdm ports, like Ericsson modems, where only 1 of them is MBIM. With the previous logic, we would probe all /dev/cdc-wdm ports for MBIM as soon as one of the ports was handled by the cdc_mbim driver. That is totally not optimal, as we are already know that they are not MBIM (not handled by cdc_mbim). Instead, fix the logic to just probe for MBIM or QMI if the actual driver managing the port is MBIM or QMI.
2014-07-17broadband-modem-mbim: increase timeout for powering modem up and downBen Chan1-1/+1
It's been observed that some modems occasionally take a long time to power down (which may be due to some shutdown sequence that involves communicating with network). This patch increases the timeout for powering modem up and down from 10s to 20s.
2014-07-17bearer-mbim: increase disconnect timeoutBen Chan1-1/+1
It's been observed that modems may take a long time to disconnect from the network under certain network conditions. This patch increases the timeout for the MBIM_CID_CONNECT set command in the disconnect sequence from 10s to 30s.
2014-07-11polkit: fix Location.Setup() authorization rulesAleksander Morgado1-1/+1
2014-07-11broadband-modem-mbim: VZ20M returns ERROR_PIN_REQUIRED in PIN query responseAleksander Morgado1-1/+9
VID/PID: 258d:e000 Instead of returning success and the PIN type + PIN status + Remaining attempts, this modem returns a plain ERROR_PIN_REQUIRED error, so try to handle that...
2014-07-09broadband-modem-mbim: reset strings to NULL, not 0Aleksander Morgado1-2/+2
2014-07-09broadband-modem-mbim: update_registration_info immune to null pointers passedkuonirat1-2/+2
2014-07-06sim: rename 'MMSim' to 'MMBaseSim'Aleksander Morgado37-615/+614
Just so that we don't have same header names in src/ and /libmm-glib.
2014-07-06sms: rename 'MMSms' to 'MMBaseSms'Aleksander Morgado15-389/+384
Just so that we don't have same header names in src/ and /libmm-glib.
2014-07-06bearer: rename 'MMBearer' to 'MMBaseBearer'Aleksander Morgado42-558/+554
Just so that we don't have same header names in src/ and /libmm-glib.
2014-07-06manager: rename 'MMManager' to 'MMBaseManager'Aleksander Morgado5-132/+132
Just so that we don't have same header names in src/ and /libmm-glib.
2014-07-04huawei: enable GPS_UNMANAGED for Huawei modemsDavid McCullough1-59/+78
Signed-off-by: David McCullough <>
2014-07-04option,hso: add missing GPS unamanged capabilityAleksander Morgado1-1/+3
2014-07-04huawei: close GPS port once GPS has been disabledAleksander Morgado1-0/+6