~alfonsosanchezbeato/snappy-hwe-snaps/+git/modem-manager:use-swwan-pls62

Last commit made on 2019-12-12
Get this branch:
git clone -b use-swwan-pls62 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

069323e... by Alfonso Sanchez-Beato

cinterion: swwan support for pls62

Does not really work, apparently because the modem does not answer to
the dhcp client. Check tillamook anlysis doc for more info.

0e54484... by Alfonso Sanchez-Beato

Revert "cinterion: disable SWWAN support"

This reverts commit 1c06ff269e6ed6ee11ee81fa1ba39bc106a846cb.

cc696d7... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch workaround-serial-pls62

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

Author: Alfonso Sanchez-Beato <email address hidden>

bearer: workaround serial not responding in PLS62-W

Do not try to deactivate the PDP context for the Gemalto PLS62-W modem,
let NM do the job for us. The reason is that due to a modem firmware
bug, if the timing between pppd and us deactivating is unfortunate, the
port ends up in a state in which it is unusable. Note also that this LTE
modem cannot really disconnect while attached, so the AT command always
returns an error anyway. Fixes LP: #1829293.

ec7f5f8... by Alfonso Sanchez-Beato

cinterion: pls62: workaround serial not responding

Do not try to deactivate the PDP context for the Gemalto PLS62-W modem,
let NM do the job for us. The reason is that due to a modem firmware
bug, if the timing between pppd and us deactivating is unfortunate, the
port ends up in a state in which it is unusable. Note also that this LTE
modem cannot really disconnect while attached, so the AT command always
returns an error anyway.

To perform this, the disconnect 3gpp functions have been implemented
in the PLS62 bearer. Fixes LP: #1829293.

02ab1ea... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch no-duplicated-traces

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

Author: Alfonso Sanchez-Beato <email address hidden>

Ensure we do not get duplicated traces on journal

snapd redirectes all process output to the journal, while MM writes its
ouput to both syslog and to stderr. This provokes duplicated traces that
makes debugging harder than needed. We remove the openlog LOG_PERROR so
only the traces written directly by MM appear. Fixes LP: #1833524.

6faa13e... by Alfonso Sanchez-Beato

Ensure we do not get duplicated traces on journal

snapd redirectes all process output to the journal, while MM writes its
ouput to both syslog and to stderr. This provokes duplicated traces that
makes debugging harder than needed. We remove the openlog LOG_PERROR so
only the traces written directly by MM appear. Fixes LP: #1833524.

76d0080... by System Enablement CI Bot <email address hidden>

Merge remote tracking branch reopen-on-hup

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

Author: Alfonso Sanchez-Beato <email address hidden>

port-serial: reopen instead of force close on port hangup

Do not force close the port when receiving a hangup from the serial port. It is
possible to receive it in some cases, like when pppd has not properly restored
the port settings and we are not in CLOCAL mode. If this happens, do a port
re-open instead to make sure we have a port with good settings.

Fixes LP: #1825904. Change proposed to upstream:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/112

beeb997... by Alfonso Sanchez-Beato

port-serial: reopen instead of force close on port hangup

Do not force close the port when receiving a hangup from the serial port. It is
possible to receive it in some cases, like when pppd has not properly restored
the port settings and we are not in CLOCAL mode. If this happens, do a port
re-open instead to make sure we have a port with good settings.

Fixes LP: #1825904. Change proposed to upstream:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/112

4ffd752... by Alfonso Sanchez-Beato

cinerion: pls62: do not run ^SGAUTH command

As this modem does not support SWWAN and uses PPP instead of an eth-type
connection, the call to SGAUTH is not supported either. The user and
password need to be used by pppd instead.

ce0b300... by Alfonso Sanchez-Beato

bearer: ignore PDP type if CID created by modem

Ignore PDP type when searching for a suitable APN in the contexts
created by the modem. These contexts modify the PDP type to reflect
the PDP types really supported by the network, which might be more
restricted than the one the user asks for.