aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)Author
2023-12-01simtech: add port type hints for A7600E-H, A7602E-HPetr Krasnoshchekov
2023-12-01simtech: ignore +CPIN: READY URC on startupPetr Krasnoshchekov
A7600E-H sends +CPIN: URC on startup. The URC can be treated by ModemManager as a response to other command, what leads to errors during ModemManager initialization
2023-12-01simtech: ignore PB DONE, SMS DONE, +NITZ: URCsPetr Krasnoshchekov
2023-12-01simtech: implement reset for A7600E-H/A7602E-HPetr Krasnoshchekov
2023-11-06mtk: add FM350 specific MBIM implementationAleksander Morgado
Including logic to set low power mode during an EPS initial bearer settings update.
2023-11-06mtk: add MTK specific MBIM implementationAleksander Morgado
Basically to flag that we don't support QMI explicitly, so that it's not even attempted.
2023-11-06mtk: flag FM350 as not supporting multiplexingAleksander Morgado
There is no released firmware version with proper support for multiplexing yet.
2023-11-06mtk-legacy: rename label in udev rulesAleksander Morgado
2023-10-31build: fix single-plugin build for mtkAleksander Morgado
2023-10-30mtk: remove support for the udev rules testerAleksander Morgado
There are no udev rules in the new mtk plugin for now.
2023-10-30mtk-legacy: rename port type hints rules fileAleksander Morgado
These rules apply to modems managed by the mtk-legacy plugin.
2023-10-30mtk: add mtk plugin which support mbim interfaceming-pei.hsu
Add MTK plugin for mtk_t7xx platform which support MBIM interface.
2023-10-18quectel: coding style fixesAleksander Morgado
2023-10-18quectel: avoid incorrect module version report after the upgrademank.wang
After LVFS upgrade, the module needs to be restarted. ModemManager queries the module information, sometimes the module is not ready, and the information queried by "mmcli -m any --firmware-status" is incomplete, It is now modified to re query once per second when obtaining incomplete versions, up to a maximum of 16 times. Signed-off-by: mank.wang <mank.wang@quectel.com>
2023-10-18fibocom: Added support for firmware objectsPuliang Lu
Added load_update_settings, load_update_settings_finish Add support for fastboot flash
2023-10-17ublox: remove ID_MM_PROCESS tagsAleksander Morgado
The ID_MM_PROCESS tag should be set by the user when using the allowlist filter, we must not ship any device flagged by default with that tag. Moreover, the two ENV actions in a single rule is something not currently supported by the builtin udev rule parser that is used in systems without udev (e.g. openwrt). Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/779
2023-10-12quectel: add support for RM520NRobert Marko
RM520N in USB mode exposes the following: ttyUSB0 (if #0): QCDM/DIAG port ttyUSB1 (if #1): GPS data port ttyUSB2 (if #2): AT primary port ttyUSB3 (if #3): AT secondary port So, lets mark them so ModemManager can properly manage them. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2023-10-11iface-modem: new logic to detect SIM swap with explicit IMSI/ICCID queryRukun Mao
This improves SIM hot swap check process, and it can help avoid unnecessary modem reprobe during suspend-resume without SIM inserted. The changes in this CL implemented the new logic ONLY for MBIM, and the new logic has not been implemented for QMI and AT yet. Thus, we keep the legacy `mm_iface_modem_check_for_sim_swap()' till the new logic for QMI and AT has been implemented.
2023-10-11mtk: rename for old mtk pluginming-pei.hsu
Use mtk-legacy to instead mtk plugin.
2023-10-05cinterion: implement setting primary slotLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-10-05cinterion: implement loading multiple SIMsLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-09-18api,modem: new 'Physdev' propertyLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-09-15quectel: Add RM520 with firehose supportQuectelDuke
Signed-off-by: QuectelDuke <duke.xin@quectel.com>
2023-09-14quectel: Add new EM160 product with firehose supportQuectelDuke
Signed-off-by: QuectelDuke <duke.xin@quectel.com>
2023-09-08quectel: add Sahara udev tag to EM061K-GL modemsQuectelDuke
Signed-off-by: QuectelDuke <duke.xin@quectel.com>
2023-08-14quectel: add support for EM060K-GL usb modulesQuectelDuke
Signed-off-by: QuectelDuke <duke.xin@quectel.com>
2023-08-05fibocom: disable multiplexing support in NL668Aleksander Morgado
The NL668 doesn't seem to support multiplexing, as it fails to transfer data even in the one multiplexed PDN case.
2023-07-13huawei: don't add DST to TZ offsetokaestne
DST is already included in TZ offset. Adjust tests accordingly.
2023-07-13huawei: check ^NWTIME not ^NTCT for time supportokaestne
^NTCT seems to be used to enable or disable ^NWTIME messages.
2023-07-13quectel: fix debug output if QGPS isn't supportedAndrey Skvortsov
FEATURE_NOT_SUPPORTED is equal 1 in the enum FeatureSupport, as a result even if QGPS isn't supported by modem debug message printed available support.
2023-07-07quectel: avoid assuming modem is MBIM capable in shared utilsAleksander Morgado
(ModemManager:10426): GLib-GObject-WARNING **: 09:44:23.142: invalid cast from 'MMBroadbandModemQmiQuectel' to 'MMBroadbandModemMbim' ** ERROR:../git/src/mm-broadband-modem-mbim.c:284:mm_broadband_modem_mbim_peek_port_mbim: assertion failed: (MM_IS_BROADBAND_MODEM_MBIM (self)) Bail out! ERROR:../git/src/mm-broadband-modem-mbim.c:284:mm_broadband_modem_mbim_peek_port_mbim: assertion failed: (MM_IS_BROADBAND_MODEM_MBIM (self)) See https://lists.freedesktop.org/archives/modemmanager-devel/2023-July/009729.html
2023-06-24fibocom: allow qmi over mbimdiekleinekuh
2023-06-16fibocom: limit multiplexing in NL668 to one single PDNAleksander Morgado
NL668 doesn't correctly support more than one multiplexed PDN connection. Limit this explicitly so that it never attempts to use more than one. # mmcli -m a --simple-connect="multiplex=requested,apn=internet,ip-type=ipv4v6,apn-type=default" successfully connected the modem # mmcli -m a --simple-connect="multiplex=requested,apn=internet2,ip-type=ipv4v6,apn-type=default" error: couldn't connect the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Invalid bearer properties: Maximum number of multiplexed bearers reached'
2023-05-22mm-modem-helpers-ublox: added support for ublox LARA-R6001 / LARA-R6001D modulesKristian Sloth Lauszus
2023-05-11sierra: port type hints for RC7611Aleksander Morgado
2023-04-27build-aux,mkenums: import custom mkenums tool from libqmi/libmbimAleksander Morgado
We're going to use certain new features included in the custom tool.
2023-04-13sierra: add port hints for HL7812Marcus Folkesson
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2023-04-11port-serial-at: make mm_port_serial_at_command_finish() transfer ownershipLubomir Rintel
This will make it slightly easier to port mm_port_serial_at_command() to use GTask, since we won't have to keep a pointer to the result in GTask after _finish() has been called. In most cases the caller needs the value anyway, so this doesn't add too much hasle.
2023-04-10cinterion: fix missing object in mm_obj_dbg() callsAleksander Morgado
2023-04-10cinterion: fix warning with -Wmissing-prototypesAleksander Morgado
../src/plugins/cinterion/mm-plugin-cinterion.c:65:1: warning: no previous prototype for ‘is_port_already_tagged’ [-Wmissing-prototypes] 65 | is_port_already_tagged (MMPortProbe *probe) | ^~~~~~~~~~~~~~~~~~~~~~
2023-04-10cinterion: use port type hints on modem probeKonrad Zapałowicz
The Cinterion plugin is using the output of the SQPORT? to guess which ports can be used for AT commands and data connection. Yet at the same time the udev adds port type hints to the Cinterion modem upon its discovery. This commit changes the initialization in a way that from now on it skips sending SQPORT? when the port type hints are already assigned. By doing this we make sure that the udev port type hints are being used when they are available. In case they are not the initialization relies on the outout of SQPORT? as it did do far. See: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/782
2023-03-27sierra: add EM7455 port type hintsAleksander Morgado
2023-03-27quectel: no real requirement for QCDMAleksander Morgado
The supported Quectel modules are usually QMI based and therefore very new, there is no real requirement to support QCDM based management.
2023-03-27broadmobi: no real requirement for QCDMAleksander Morgado
The supported broadmobi modules are usually QMI based and therefore very new, there is no real requirement to support QCDM based management.
2023-03-27sierra: no real requirement for QCDMAleksander Morgado
The QCDM ports are not strictly required in the Sierra plugin, as this plugin deals exclusively with QMI and MBIM capable devices.
2023-03-15cinterion: don't assume GError structure always initializedKirill Buksha
GError structure may not be initialized after execution of mm_3gpp_parse_cgdcont_read_response() and accessing it's fields will cause a segmentation fault.
2023-03-07telit: ignore composition 0x1075Daniele Palmas
When Telit FN990 is integrated through PCIe, but also USB lines are available, ModemManager will consider the port on the USB composition as a different modem: oem@sw-test:~$ mmcli -L /org/freedesktop/ModemManager1/Modem/1 [telit] FN990A40 /org/freedesktop/ModemManager1/Modem/0 [Telit] FN990A40 oem@sw-test:~$ mmcli -m 0 <snip> | equipment id: 359172390022295 -------------------------------- System | device: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-5 | drivers: option | plugin: telit | primary port: ttyUSB0 | ports: ttyUSB0 (at) oem@sw-test:~$ mmcli -m 1 <snip> | equipment id: 359172390022295 ----------------------------------- System | device: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 | drivers: mhi-pci-generic | plugin: telit | primary port: wwan0mbim0 | ports: wwan0 (net), wwan0at0 (at), wwan0at1 (at), | wwan0mbim0 (mbim), wwan0nmea0 (ignored), wwan0qcdm0 (ignored) Ignore composition 0x1075, since it should not be used by ModemManager and can only show when PCIe is used.
2023-03-03quectel: add support for EG12-EA type usb modulesdchard
2023-02-23quectel: add support for EC21-EUX usb modulesQuectelDuke
Signed-off-by: QuectelDuke <duke.xin@quectel.com>
2023-02-21xmm: fix crash parsing XACT? responseAleksander Morgado
Ensure we don't assert when processing an unexpected response. We were not correctly handling the case where g_match_info_matches() was not succeeding. 0x00007d8be96cc462 (libc.so.6 + 0x00028462) abort 0x00007d8be995ff01 (libglib-2.0.so.0 - gtestutils.c: 3253) g_assertion_message 0x00007d8be995ff64 (libglib-2.0.so.0 - gtestutils.c: 3279) g_assertion_message_expr 0x00007d8be858086a (libmm-shared-xmm.so - mm-modem-helpers-xmm.c: 467) mm_xmm_parse_xact_query_response 0x00007d8be857d4e0 (libmm-shared-xmm.so - mm-shared-xmm.c: 310) xact_query_bands_ready 0x00007d8be9a79463 (libgio-2.0.so.0 - gsimpleasyncresult.c: 802) g_simple_async_result_complete 0x00005c8d2a11e9b9 (ModemManager - mm-base-modem-at.c: 538) at_command_ready 0x00007d8be9a79463 (libgio-2.0.so.0 - gsimpleasyncresult.c: 802) g_simple_async_result_complete 0x00005c8d2a19376b (ModemManager - mm-port-serial-at.c) serial_command_ready 0x00007d8be9a79463 (libgio-2.0.so.0 - gsimpleasyncresult.c: 802) g_simple_async_result_complete 0x00005c8d2a18f93f (ModemManager - mm-port-serial.c: 139) command_context_complete_and_free 0x00005c8d2a192985 (ModemManager - mm-port-serial.c: 753) port_serial_got_response 0x00005c8d2a192dff (ModemManager - mm-port-serial.c: 924) common_input_available 0x00007d8be993e3fc (libglib-2.0.so.0 - gmain.c: 3417) g_main_context_dispatch 0x00007d8be993e704 (libglib-2.0.so.0 - gmain.c: 4211) g_main_context_iterate 0x00007d8be993e978 (libglib-2.0.so.0 - gmain.c: 4411) g_main_loop_run 0x00005c8d2a105e66 (ModemManager - main.c: 217) main 0x00007d8be96cc6c5 (libc.so.6 + 0x000286c5) __libc_init_first 0x00007d8be96cc781 (libc.so.6 + 0x00028781) __libc_start_main 0x00005c8d2a105b80 (ModemManager + 0x00061b80) _start