~snappy-hwe-team/snappy-hwe-snaps/+git/modem-manager:add-pls63-to-modem-manager

Last commit made on 2022-08-18
Get this branch:
git clone -b add-pls63-to-modem-manager https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/modem-manager
Members of Snappy HWE Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
add-pls63-to-modem-manager
Repository:
lp:~snappy-hwe-team/snappy-hwe-snaps/+git/modem-manager

Recent commits

7370f42... by Konrad ZapaƂowicz

cinterion: add support for PLS63 modem

The PLS63 is a drop-in replacement for PLS62 modem, however despite that
fact it has a different USB SoC. As a consequence enumarates
differently on the USB bus.

The modem-manager interface of snapd contains the udev rules for adding
type hints to USB devices. One of the recent updates includes the rules
for PLS63 modem.

This commit makes sure that the Modem Manager is using these type hints
so that it chosses the correct port for data.

See: https://github.com/snapcore/snapd/pull/11636

c040a23... by "Theodore A. Roth" <email address hidden>

cinterion: Add support for PLSx3w modems

Signed-off-by: Theodore A. Roth <email address hidden>

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.