Age | Commit message (Collapse) | Author |
|
Mainly because we need somewhere to stash the call end regex, and
it's silly to have a 3rd instance of that in MMPortSerialAt when
we already have one in the serial parsers that MMPortSerialAt
relies on pretty heavily.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
|
|
Use +COPS to retrieve AcT for LE910Q1/ELS63-I since they do not
support #PSNT and +SERVICE.
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
|
|
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
|
|
Signed-off-by: Thomas Vogt <acc-github@tovotu.de>
|
|
Continues removing usage of MMBaseModem in a bunch of files
by splitting out bits of its usage to separate interfaces.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
AT docs for many (most?) device state a max timeout of 15 seconds.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
AT docs for many (most?) Quectel devices state that QPOWD=1 receives
the OK response very quickly but the caller must wait for the
POWERED DOWN URC to avoid data loss. Do that.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
|
|
Expose a new list of 'IgnoredPorts' via D-Bus and therefore remove the use of `MM_MODEM_PORT_TYPE_IGNORED`
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
|
|
^SXRAT: (0-6), (0,2,3), (0,2,3)
Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/974
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
MMBroadbandModemMbimMtkFibocom doesn't, so don't assert it.
Fixes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/975
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
Use the new early port probe logic to do AT probes before the custom
init hook actually starts.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
AT probes
For modems that need more time to respond to AT port probes (like some Telit devices,
and Cinterion-based Telit MV31/MV32) allow a custom number of AT probe tries on a
per-port basis for generic probing, or plugins that opt into this functionality.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
|
|
|
|
|
|
Added the support for 16kHz sample rate for simtech modems and set it as default if available.
|
|
Signed-off-by: default avatarLukas Voegl <lvoegl@tdt.de>
|
|
Allows setting the renamed `ID_MM_QUALCOMM_FIREHOSE` and
`ID_MM_QUALCOMM_SAHARA` environment variables for all devices.
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
|
|
Subsystem device ID can be used for identifying PCI modems,
so expose the property.
Signed-off-by: Sushrut Shree Trivedi <quic_sushruts@quicinc.com>
|
|
The quectel modems that are not using QMI could receive DTMF events but
no dbus notification was sent to the user space. This patch adds the
DTMF notification support to the quectel plugin.
Signed-off-by: Kévin L'hôpital <kevin.lhopital@savoirfairelinux.com>
|
|
Closes #953
|
|
|
|
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
|
|
When setting an operator, AT+COPS overwrites the currently set allowed mode. Equally, the other way around, when setting the current mode, the configured operator is overwritten.
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
|
|
FM350 modems report an invalid rssi threshold (always 0) in the signal-state response message.
It results in signal quality not being updated. We can use this patch to workaround this bug.
|
|
|
|
The NL668-EAU is a 4G, 3G, 2G CAT4 modem from fibocom.
https://www.fibocom.com/en/products/LTECat-NL668-EAU.html
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
The NL668-EAU 4G, 3G, 2G CAT4 is a modem from fibocom and is using a diffrent
USB_VID for this modem. By adding the new USB_VID, the 'fibocom' plugin is
now responsible and not the 'generic' plugin.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
The logic should consider that mm_parse_uint_list() may return NULL
without setting the output GError, in the case where an empty string
is given.
This should ideally be changed in the mm_parse_uint_list() itself, but
that approach is not trivial as the method is being used in multiple
different places.
This change exclusively tries to solve this crash.
0x000057435d315eca (ModemManager - mm-shared-quectel.c: 1060) ctzu_test_ready
0x00007eea3d019e86 (libgio-2.0.so.0 - gtask.c: 1309) g_task_return_now
0x00007eea3d018e50 (libgio-2.0.so.0 - gtask.c: 1378) g_task_return
0x000057435d268eab (ModemManager - mm-base-modem-at.c: 544) at_command_ready
0x00007eea3d019e86 (libgio-2.0.so.0 - gtask.c: 1309) g_task_return_now
0x00007eea3d018e50 (libgio-2.0.so.0 - gtask.c: 1378) g_task_return
0x000057435d318a18 (ModemManager - mm-port-serial-at.c: 350) serial_command_ready
0x00007eea3d019e86 (libgio-2.0.so.0 - gtask.c: 1309) g_task_return_now
0x00007eea3d018e50 (libgio-2.0.so.0 - gtask.c: 1378) g_task_return
0x000057435d31c7bd (ModemManager - mm-port-serial.c: 734) port_serial_got_response
0x000057435d31cc3e (ModemManager - mm-port-serial.c: 911) parse_response_buffer
0x000057435d31cc3e (ModemManager - mm-port-serial.c: 1028) common_input_available
0x00007eea3d16591b (libglib-2.0.so.0 - gmain.c: 3460) g_main_dispatch
0x00007eea3d16591b (libglib-2.0.so.0 - gmain.c: 4200) g_main_context_dispatch
0x00007eea3d165c37 (libglib-2.0.so.0 - gmain.c: 4276) g_main_context_iterate
0x00007eea3d165eb5 (libglib-2.0.so.0 - gmain.c: 4479) g_main_loop_run
0x000057435d25f5bf (ModemManager - main.c: 236) main
0x00007eea3c980705 (libc.so.6 - libc_start_call_main.h: 58) __libc_start_call_main
0x00007eea3c9807c1 (libc.so.6 - libc-start.c: 360) __libc_start_main_impl
0x000057435d25ef10 (ModemManager + 0x000b3f10) _start
0x00007ffcc0b5d517
|
|
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/884
Signed-off-by: Stig M. Baugstø <1129097-stigma@users.noreply.gitlab.freedesktop.org>
|
|
Simple plugin handling Cellient (vid 0x2692) modems. Optional QMI
through the WITH_QMI compile flag. Disables QMI WDS PCO for the
Qualcomm-branded MPL200 by setting the ID_MM_QMI_PCO_DISABLED udev
tag, effectively preventing a modem crash.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/842
Signed-off-by: Stig M. Baugstø <1129097-stigma@users.noreply.gitlab.freedesktop.org>
|
|
(ModemManager:2925): GLib-CRITICAL **: 09:21:32.082: g_propagate_error: assertion 'src != NULL' failed
(ModemManager:2925): GLib-GIO-CRITICAL **: 09:21:32.083: g_task_return_error: assertion 'error != NULL' failed`
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/916
|
|
These are already synchronized at interface level, so there is already
a guarantee that they won't happen at the same time.
|
|
The power up and down operations are already synchronized at
interface level, so there is already a guarantee that they won't
happen at the same time.
For the reset and power off operations, it is assumed that the modem
will either reset or power off, so there should be no need to sync
those operations with others, as the modem object will eventually go
away altogether in both cases.
|
|
Signed-off-by: Dan Williams <dan@ioncontrol.co>
|
|
Adds AT^SFDL based Firmware Download as an update method for supported Cinterion modems.
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
|
|
L850 modems running a firmware version less than 18500.5001.0.7 and
using AT&T SIM cards with MCCMNC 310280 do not support specifying
"partner" settings in the MBIM operation to set the LTE attach
configuration.
|
|
|
|
|
|
|
|
The device always reports empty TX/RX values so there is no point in
periodically asking.
The logic to poll for stats is kept in place only if the device
requires the IP packet filters removal hack.
|
|
So they are ttyUSB instead of ttyACM.
|
|
Just so that we make sure no other probing type is tried with them.
|
|
Related kernel commits:
9a590ff28342 ("USB: serial: option: add Telit FN912 rmnet compositions")
77453e2b015b ("net: usb: qmi_wwan: add Telit FN912 compositions")
|
|
|
|
|