<div dir="auto"><div>Woah! <div dir="auto"><br></div><div dir="auto">a pretty big release with nice features in it (logging and dynamic loading are pretty interesting to me, drop of autotools makes me happy too). </div><div dir="auto"><br></div><div dir="auto">Thanks to all contributors on this 1.22.0 ! Really good work, can't wait to use it. </div><div dir="auto"><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 11 oct. 2023, 14:48, Aleksander Morgado <<a href="mailto:aleksandermj@chromium.org">aleksandermj@chromium.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey hey,<br>
<br>
This is a new major release of ModemManager, which will be the base for <br>
the new 1.22.x stable series (the new "mm-1-22" branch in git).<br>
<br>
Overview of changes in ModemManager 1.22.0<br>
-------------------------------------------<br>
<br>
The following notes are directed to package maintainers:<br>
<br>
* This version now requires:<br>
** libmbim >= 1.30.0 (for the optional MBIM support)<br>
** libqmi >= 1.34.0 (for the optional QMI support)<br>
<br>
* The GNU autotools (autoconf/automake/libtool) support has been fully <br>
removed, this release requires the use of the meson build system.<br>
<br>
* Build:<br>
** Flag types are now generated in their own files (e.g. <br>
'mm-flags-types.h').<br>
** A new 'fuzzer' option is available to build LLVM LibFuzzer based <br>
unit testers.<br>
** A new 'builtin_plugins' option is available to integrate all <br>
built plugins within the ModemManager daemon binary. This makes the <br>
daemon load much quicker as it doesn't dynamically load the plugins on <br>
runtime.<br>
<br>
The most important features and changes in this release are the following:<br>
<br>
* A new "MSG" (message) log verbosity level is introduced, which is <br>
also the new default one if none explicitly defined. This level takes <br>
the place of the old "INFO" level, as a level including the most <br>
important messages that should be logged without needing to be warnings <br>
or errors. The new "INFO" level is more verbose than "MSG" but less <br>
verbose than "DBG", and may be useful as default in systems where active <br>
debugging of WWAN related issues is required. E.g. all user operations <br>
triggered via DBus method calls are logged in "INFO" level.<br>
<br>
* Introduced the concept of "personal information" which should by <br>
default not be included in log messages. Enabling personal information <br>
in logs requires to run the daemon with the '--log-personal-info' <br>
option. This feature is mostly implemented for QMI and MBIM specific <br>
logs, but hasn't yet been included in generic daemon logs or when using <br>
the AT protocol. Changes and fixes related to this feature will be <br>
cherry-picked and included in the future stable branch updates.<br>
<br>
* API:<br>
** Added new 'Modem.Physdev' property to unconditionally publish the <br>
physical modem device path.<br>
** Updated the 'Modem.GetCellInfo()' method to include serving cell <br>
type and bandwidth information in LTE and 5GNR cells.<br>
** New 'Modem3gpp.SetCarrierLock()' method to send the list of <br>
carrier network information to the modem.<br>
** The 'SetLogging()' method allows a new "MSG" log level.<br>
<br>
* Core:<br>
** The codebase has been updated to use GTask in all operations and <br>
there are no longer any deprecated methods from GLib being used.<br>
** The port probing logic is now able to guess port type hints <br>
during runtime, e.g. based on the kernel driver in use or the wwan <br>
subsystem port 'type' attributes.<br>
** Default probing and wait times have been increased, in order to <br>
cope with slow kernel events reporting new port additions.<br>
<br>
* Modem interface:<br>
** Updated the logic loading unlock retries to allow restarting the <br>
check count based on the state reported by the device (e.g. if the SIM <br>
is detected but not fully ready during the last expected check, a new <br>
set of check retries is allowed).<br>
<br>
* 3GPP interface:<br>
** Added support for packet service state updates via unsolicited <br>
indications.<br>
** Added support for ignoring registration and packet service state <br>
updates if the interface has already been disabled.<br>
** Updated initialization sequence to allow showing IMEI even if the <br>
device is locked.<br>
** Logged available profiles in "INFO" level whenever they are listed.<br>
<br>
* Simple interface:<br>
** Logged user provided settings during a connect attempt in "INFO" <br>
level.<br>
** Added support to abort an ongoing connect operation at any step <br>
in the state machine, e.g. if the modem is going to be disabled.<br>
** Added support to explicitly request attaching to packet service <br>
during the connection attempt.<br>
<br>
* Signal interface:<br>
** Added logic to rate-limit printing the extended signal <br>
information with "INFO" level, even if the actual refresh rate is higher.<br>
<br>
* New udev tags:<br>
** The 'ID_MM_REQUIRED' port-specific udev tag allows users to <br>
specify that the modem must be able to succesfully probe and use the <br>
given control port.<br>
** The 'ID_MM_MAX_MULTIPLEXED_LINKS' udev tag allows user to specify <br>
the maximum amount of multiplexed links the modem supports. This tag may <br>
be set to 0 to fully disable multiplexing support in the device.<br>
<br>
* mmcli:<br>
** New '--messaging-create-sms-with-text' action to create a text <br>
SMS from the contents of a given file.<br>
** New '--3gpp-set-carrier-lock' action to send the carrier lock <br>
data to the device.<br>
** Updated '--modem' to always allow using the modem physdev path <br>
for lookup.<br>
<br>
* SMS:<br>
** Improved the parsing of 3GPP and CDMA SMS parts, fixing multiple <br>
different errors that lead to unexpected crashes on SMS reception.<br>
<br>
* MBIM:<br>
** Updated device model loading logic to use an AT port if available.<br>
** Added support for the carrier lock feature using the Google MBIM <br>
service.<br>
** Implemented support for reporting serving cell type and bandwidth <br>
in the cell scan operation.<br>
** Limited the amount of different APN types usable when MS <br>
extensions are unsupported.<br>
** Updated packet service state info loading to use the values <br>
reported by the device instead of attempting to guess them.<br>
** Updated IPv6 IP addressing logic to rely on whether the provided <br>
address is global or not to decide whether static or dynamic addressing <br>
is needed.<br>
<br>
* QMI:<br>
** Implemented support for detecting and processing profile change <br>
indications, e.g. during a SIM card IMSI refresh operation.<br>
** Implemented support for scanning LTE and 5GNR cells.<br>
** Fixed operating mode update logic to avoid needing to receive <br>
indications, as old devices don't support them.<br>
** Implemented multiplexing support for Qualcomm PCI devices using <br>
the MHI driver.<br>
** Updated logic to read IPA tx/rx offload values from sysfs, making <br>
the IPA support work seamlessly in multiple different Qualcomm SoCs.<br>
** Updated logic reading the SIM card operator identifier to avoid <br>
using the NAS service, as that sometimes involved actual network access. <br>
The new logic exclusively uses SIM card read operations (e.g. IMSI and <br>
EFad).<br>
** Consolidated the logic processing registration state from <br>
responses and indications.<br>
<br>
* Plugins:<br>
** cinterion: implemented multiple-SIM support.<br>
** fibocom: disabled multiplexing in the NL668, which doesn't <br>
support it.<br>
** huawei: updated time interface to use ^NWTIME.<br>
** quectel: added port type hints for the EG12, EC21, EM060, EM061 <br>
and new EM120, EM160 and RM520 variants.<br>
<br>
The following features which were backported to 1.20.x releases are also <br>
present<br>
in ModemManager 1.22.0:<br>
<br>
** build: new 'examples' option to allow disabling the installation <br>
of examples.<br>
** mmcli: improved JSON output in network scan results.<br>
** mmcli: improved JSON output when creating SMS messages.<br>
** MBIM: ignored SIM related indications during a SIM slot switch <br>
operation.<br>
** MBIM: updated capabilities loading to use Microsoft Extensions if <br>
available.<br>
** MBIM: updated supported modes loading to use the CustomDataClass <br>
field contents.<br>
** QMI: fixed processing and exposing PCOs.<br>
** cinterion: improved management of the ^SWWAN? operation.<br>
** telit: improved support for 5G modems.<br>
** messaging: allowed Delete operation during enabling/disabling.<br>
<br>
--------------------------------------------------<br>
<br>
About ModemManager:<br>
<a href="https://www.freedesktop.org/wiki/Software/ModemManager" rel="noreferrer noreferrer" target="_blank">https://www.freedesktop.org/wiki/Software/ModemManager</a><br>
<br>
Download and verify:<br>
$ git clone --depth 1 --branch 1.22.0 <br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git" rel="noreferrer noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git</a><br>
$ cd ModemManager<br>
$ git tag --verify 1.22.0<br>
<br>
APIs and manpages here:<br>
<br>
<a href="https://www.freedesktop.org/software/ModemManager/doc/1.22.0/ModemManager" rel="noreferrer noreferrer" target="_blank">https://www.freedesktop.org/software/ModemManager/doc/1.22.0/ModemManager</a><br>
<a href="https://www.freedesktop.org/software/ModemManager/doc/1.22.0/libmm-glib" rel="noreferrer noreferrer" target="_blank">https://www.freedesktop.org/software/ModemManager/doc/1.22.0/libmm-glib</a><br>
<br>
<a href="https://www.freedesktop.org/software/ModemManager/man/1.22.0/ModemManager.8.html" rel="noreferrer noreferrer" target="_blank">https://www.freedesktop.org/software/ModemManager/man/1.22.0/ModemManager.8.html</a><br>
<br>
<a href="https://www.freedesktop.org/software/ModemManager/man/1.22.0/mmcli.1.html" rel="noreferrer noreferrer" target="_blank">https://www.freedesktop.org/software/ModemManager/man/1.22.0/mmcli.1.html</a><br>
<br>
Please report bugs either to:<br>
<a href="mailto:modemmanager-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">modemmanager-devel@lists.freedesktop.org</a><br>
<br>
Or to gitlab:<br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues" rel="noreferrer noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues</a><br>
<br>
-- <br>
Aleksander<br>
</blockquote></div></div></div>
<br>
<b style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><span style="font-size:6.5pt;font-family:"Century Gothic",sans-serif;color:rgb(64,64,64)">Disclaimer<i>:</i></span></b><i style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)"><span style="font-size:6.5pt;font-family:"Century Gothic",sans-serif;color:rgb(64,64,64)"> This e-mail and any attachments thereto are intended for the sole use of the recipient(s) named above and may contain information that is confidential and/or proprietary to UnaBiz. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication, or dissemination in any form) by persons other than the intended recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete it.</span></i>