~alfonsosanchezbeato/snappy-hwe-snaps/+git/modem-manager:reopen-after-pppd

Last commit made on 2018-11-14
Get this branch:
git clone -b reopen-after-pppd https://git.launchpad.net/~alfonsosanchezbeato/snappy-hwe-snaps/+git/modem-manager
Only Alfonso Sanchez-Beato can upload to this branch. If you are Alfonso Sanchez-Beato please log in for upload directions.

Branch merges

Branch information

Recent commits

d08ad8c... by Alfonso Sanchez-Beato

Reopen the serial port after a PPP connection

We reopen the serial port in case we get errors after a data connection
that was using the same port finishes.

7ede457... by Alfonso Sanchez-Beato

plano: override load_power_state_finish

Override load_power_state_finish and use GTask in the plugin. This way
we avoid a crash that happened because we were using GSimpleAsyncResult
in load_power_state while using load_power_state_finish from the parent
class, which had switched to GTask in latest MM. Fixes LP: #1800113.

47a3104... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch modem-manager/1.8.0

Merge-Proposal: https://code.launchpad.net/~alfonsosanchezbeato/snappy-hwe-snaps/+git/modem-manager/+merge/353836

Author: Alfonso Sanchez-Beato <email address hidden>

Snap patches for modem-manager, applied on top of ModemManager 1.8.0

1c06ff2... by Alfonso Sanchez-Beato

cinterion: disable SWWAN support

The PLS62-W does not really support SWWAN even though the AT
command responds to queries.

b5f27c0... by Alfonso Sanchez-Beato

configure: downgrade gettext version

Downgrade the version of gettext so that the snap can be built on 16.04
(xenial), which is required for Ubuntu Core 16 snaps.

5545634... by Alfonso Sanchez-Beato

cinterion: increment IP timeout

Increment timeout before pppd gives up when trying to get an IP address.
Needed as some times this modem does not respond to PPP frames, but we
want NetworkManager to wait a bit to stop pppd - otherwise the port is
not properly closed and does not respond to AT commands anymore.

9da841c... by Alfonso Sanchez-Beato

Use udev tags to configure UART speed and use of RTS/CTS

ID_MM_BAUD_RATE and ID_MM_RTSCTS_PORT udev tags can be used with this
change to set UART speed and to use RTS/CTS handshaking if desired.

23b41eb... by Alfonso Sanchez-Beato

plugins: dell: always probe AT ports

Previously, probing or not the commands depended on a race condition,
and, besides, we need the AT ports for implementing workarounds for
Sierra HL7588. Therefore, we make sure we always probe the AT ports in
the Dell plugin, even when an MBIM port has already been detected.

18edc52... by Alfonso Sanchez-Beato

Reset the modem on MBIM NOT_OPENED error for HL7588

Reset the modem for said condition so connection can be recovered
after resuming from S4.

06921d4... by Alfonso Sanchez-Beato

Send +CGACT for Sierra HL7588 on connection

Sent AT+CGACT=1,3 command for Sierra HL7588 on connection as a
workaround for buggy modem firmware. This makes sure vzwinternet
is activated.

This workaround is executed for both Sierra and Dell VID/PID, but
an additional twist is needed for the later, as Dell reused same
VID/PID for a Telit modem, so we additionally check the ouput of
AT+CGMM.