~kzapalowicz/snappy-hwe-snaps/+git/modem-manager:feature/add-reset

Last commit made on 2023-03-07
Get this branch:
git clone -b feature/add-reset https://git.launchpad.net/~kzapalowicz/snappy-hwe-snaps/+git/modem-manager
Only Konrad Zapałowicz can upload to this branch. If you are Konrad Zapałowicz please log in for upload directions.

Branch merges

Branch information

Name:
feature/add-reset
Repository:
lp:~kzapalowicz/snappy-hwe-snaps/+git/modem-manager

Recent commits

58a78b4... by Aleksander Morgado

cinterion: implement reset

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.

8051376... by Alfonso Sanchez-Beato

cinterion: add bearer for PLS62

This new bearer handles PLS62 LTE attachment, which is quite special as
it tries always to start a context at the same times it attaches. It
also tries to use by default CID 1 for this. What we do is to try always
to use CID 1, and if the required APN does not match it, we change CID 1
to that APN. If that happens, we also re-trigger the attach procedure so
the modem uses the right APN finally.