~ali-coban2006/snappy-hwe-snaps/+git/modem-manager:use-mbim-pls62

Last commit made on 2019-12-13
Get this branch:
git clone -b use-mbim-pls62 https://git.launchpad.net/~ali-coban2006/snappy-hwe-snaps/+git/modem-manager
Only Ali can upload to this branch. If you are Ali please log in for upload directions.

Branch merges

Branch information

Recent commits

adcdd71... by Alfonso Sanchez-Beato

cinterion: force moving to MBIM

e3a4ab1... by Alfonso Sanchez-Beato

pls62: add hacks to make MBIM work

The MBIM implementation for PLS62 is quite buggy and we need a couple of
quirks to make things work.

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.