Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When automatic mode (i.e. 2G+3G+none preferred) is selected, we need to
explicitly request it by giving the AT+COPS write command with values (i.e. not
just empty fields).
|
|
We'll need it afterwards for proper mode switching
|
|
So no need to try to handle error cases or fallbacks to support them.
|
|
|
|
Powering off Wavecom devices is done via the AT^CPOF=1 command. These devices
seem to not only power-off, but also power-cycle when this command is received,
which means that the user needs to make sure to fully cut the power to the
device when the SetPowerState() method replies.
|
|
Powering off Cinterion modems is done with the AT^SMSO command. Once this
command is sent to the device, ModemManager still needs to wait to get an
unsolicited ^SHUTDOWN message from the modem, which is when the shutdown
is considered complete.
Newer Cinterion devices, though, don't seem to follow this rule and just
reply OK to AT^SMSO (i.e. no ^SHUTDOWN), but instead, they will remove the
tty ports.
|
|
This patch simply fixes the following debug message:
from:
<debug> (Huawei) couldn't turn off unsolicited messages insecondary ports: 'Unknown error'
to:
<debug> (Huawei) couldn't turn off unsolicited messages in secondary ports: 'Unknown error'
|
|
|
|
This patch fixes the out-of-bounds array accesses in test-port-context.c,
which is detected by AddressSanitizer, by checking the index against the
array length before accessing the array.
|
|
This patches fixes the following error when testing ModemManager with
glib < 2.36, which still requires g_type_init() to be called:
TEST: test-service-generic... (pid=20166)
/MM/Service/Generic:
(/work/ModemManager/plugins/.libs/lt-test-service-generic:20166): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
FAIL
|
|
We can now run 'simulated' modems against a ModemManager running in its own
session bus.
|
|
Adds support for the Huawei E3276 by sending the shortened form of the
AT^NDISDUP command where possible, as the E3276 fails with an '+CME ERROR:
Incorrect parameters' if encoded_auth is set to 0. This behaviour is slightly
different to the E1820 and K4605 (E372) which will happily establish a
connection with encoded_auth set to 0, 1 or 2.
|
|
The QCDM port commands are never cached, so remove the option from the command()
method. Will also simplify command caching afterwards as it will be an AT-only
thing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The new PHS8 or PXS8 devices may expose multiple tty ports, but only one is
supposed to be used for PPP. So, query which port that is and flag it before
grabbing it in the modem.
|
|
Just give some time to the SIM to get properly initialized, so that we avoid
errors when reloading e.g. facility lock status.
|
|
|
|
This device ID is used in a Lenovo Thinkpad T440s.
Link: http://forums.debian.net/viewtopic.php?f=7&t=107986&sid=4f81b9c1a8f4563f26fec24f7b65aaea&start=15
Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
|
|
|
|
|
|
Otherwise, we may end up losing the tags we expect if the device gets a 'move'
event just after the initial 'add'.
|
|
|
|
|
|
|
|
|
|
E.g. the ZTE MF190
[/dev/cdc-wdm1] QMI Device supports 4 services:
[/dev/cdc-wdm1] ctl (1.2)
[/dev/cdc-wdm1] wds (1.3)
[/dev/cdc-wdm1] dms (1.2)
[/dev/cdc-wdm1] nas (1.0)
|
|
|
|
This patch sets the subscription state using Verizon's PCO values.
|
|
MM_LIBS was missing in PLUGIN_COMMON_LINKER_FLAGS, and replace GUDEV_LDFLAGS
with GUDEV_LIBS.
|
|
This patch modifies MMBroadbandBearerHuawei such that connect_3gpp
simply reports an error via g_simple_async_report_error_in_idle, without
creating a Connect3gppContext, if no data port is available.
|
|
|
|
This patch prevents connect_3gpp_context_complete_and_free from calling
'g_object_unref (ctx->data)' when connect_3gpp finds no data port (i.e.
ctx->data is set to NULL).
|
|
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
|
The Novatel LTE modem only uses its primary AT port for AT commands.
Instead of referencing any existing secondary port, this patch changes
MMBroadbandBearerNovatelLte to explicitly use the primary port during the
connection and disconnection sequence.
|
|
The Altair LTE modem only uses its primary AT port for AT commands.
Instead of referencing any existing secondary port, this patch changes
MMBroadbandBearerAltairLte to explicitly use the primary port during the
connection and disconnection sequence.
|
|
If the bearer is not actually connected and the modem (inappropriately)
indicates a disconnected status via a ^NDISSTAT unsolicited message, it
could potentially lead to the following assertion in
connect_3gpp_context_step. This patch addresses such an issue.
g_assert (ctx->self->priv->network_disconnect_pending_id == 0);
0x7f940c2ecd95 [libc-2.15.so] - raise.c:64 raise
0x7f940c2ee217 [libc-2.15.so] - abort.c:91 abort
0x7f940c8e6086 [libglib-2.0.so.0.3400.3] - gtestutils.c:1877 g_assertion_message
0x7f940c8e6553 [libglib-2.0.so.0.3400.3] - gtestutils.c:1888 g_assertion_message_expr
0x7f940cba5710 [libmm-plugin-huawei.so] - mm-broadband-bearer-huawei.c:240 connect_3gpp_context_step
0x7f940cd4a51e [ModemManager] - mm-broadband-bearer.c:1246 connect
0x7f940cd662b7 [ModemManager] - mm-iface-modem-simple.c:588 connection_step
0x7f940cd66e6e [ModemManager] - mm-iface-modem-simple.c:267 register_in_3gpp_or_cdma_network_ready
0x7f940ca0e296 [libgio-2.0.so.0.3400.3] - gsimpleasyncresult.c:775 g_simple_async_result_complete
0x7f940ca0e398 [libgio-2.0.so.0.3400.3] - gsimpleasyncresult.c:787 complete_in_idle_cb
0x7f940c8c2ff4 [libglib-2.0.so.0.3400.3] - gmain.c:2715 g_main_context_dispatch
0x7f940c8c3377 [libglib-2.0.so.0.3400.3] - gmain.c:3290 g_main_context_iterate
0x7f940c8c37c9 [libglib-2.0.so.0.3400.3] - gmain.c:3484 g_main_loop_run
0x7f940cd3b425 [ModemManager] - main.c:142 main
0x7f940c2d9464 [libc-2.15.so] - libc-start.c:234 __libc_start_main
0x7f940cd3afa8 [ModemManager] + 0x0001efa8
|
|
|