Re: SEGFAULT with MM HEAD when probing

2021-04-22 Thread Aleksander Morgado
> > Or give me a few days and I might be able to bisect the problem. > > A few meetings helps a lot with time for robotic work like bisecting :-) > > The winner is: > > commit ec375bd959f071ce01533d50a2775e8a6f69607b > Author: Andrew Lassalle > Date: Wed Nov 25 13:14:35 2020 -0800 > > port-q

Re: SEGFAULT with MM HEAD when probing

2021-04-21 Thread Aleksander Morgado
> >>> Bu can't I just run valgrind on the MIPS CPU? Any hints on how to use > >>> valgrind? It's one of those tools I've been thing that I should > >>> explore, but never have.. > >>> > >> > >> I have no idea if you can run valgrind on that setup, just give it a > >> try maybe? If we're intereste

Re: SEGFAULT with MM HEAD when probing

2021-04-21 Thread Aleksander Morgado
Hey On Wed, Apr 21, 2021 at 9:33 PM Bjørn Mork wrote: > > Aleksander Morgado writes: > > >> > Guess I have to figure out how to build this with a few more symbols and > >> > running gdb. > >> > >> OK, so now I have: > >> > >

Re: Dual SIM slots and "--set-primary-sim-slot" UI

2021-04-21 Thread Aleksander Morgado
Hey! > > I got myself a new toy in the form of a board with dual SIM slots and a > Quectel RG502Q-EA modem. Which are hardware features I haven't had > access to before. > > So I wanted to play with the dual SIM slot support in MM. The short > version is: It works like a charm! > Nice! > The U

Re: SEGFAULT with MM HEAD when probing

2021-04-21 Thread Aleksander Morgado
Hey, > > Guess I have to figure out how to build this with a few more symbols and > > running gdb. > > OK, so now I have: > > [6596]: [1619029470.853036] [ttyUSB0/qcdm] opening serial port... > [6596]: [1619029470.854109] [ttyUSB0/qcdm] device open count is 1 > (open) > [6596]: [1619029470.854

Re: ModemManager/libqmi/libmbim contribution guidelines

2021-04-21 Thread Aleksander Morgado
Hey, > Would it make sense to link to that from here? > > https://www.freedesktop.org/wiki/Software/ModemManager/ > > At least for me that's the page where I end up when looking for > "ModemManager development" and similar via search engines, linking from > there could be a way of helping people f

ANN: ModemManager 1.16.4 released

2021-04-21 Thread Aleksander Morgado
Hey hey, This is the second bugfix release in the 1.16.x series, built from the mm-1-16 branch. ModemManager 1.16.4 --- * Fix build when using libgudev < 232, which is when autoptr support was introduced in the GUdev* types. We'll keep the 1.16.x branc

ModemManager/libqmi/libmbim contribution guidelines

2021-04-16 Thread Aleksander Morgado
Hey! I've been preparing a website to keep documentation related to the ModemManager, libqmi and libmbim projects: https://modemmanager.org It's using hugo, and the sources can be found here: https://gitlab.freedesktop.org/mobile-broadband/mobile-broadband.pages.freedesktop.org For now it contai

Re: How to submit a patch to ModemManager?

2021-04-14 Thread Aleksander Morgado
Hey Elias, > > I would like to submit a patch to fix this issue: > > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/257 > > Are there some rules or recommendations about how to submit a patch to > ModemManager, like rules for coding style and/or what commit messages > should

Re: Issue with dual SIM and AUTO_SIM feature

2021-04-14 Thread Aleksander Morgado
Hey Alexey > > This is a follow up on the recently discussed issue with EM7511 and the > AUTO-SIM feature. When the carrier is set to AUTO_SIM, the modem will > automatically set the appropriate profile, and reboot for this profile to > take effect. > > A recent version of MM temporarily switch

Re: Detecting Dual SIM on EM7455

2021-04-08 Thread Aleksander Morgado
Hey Jack >>> > A potentially unrelated issue is that it appears MM restarts when >>> > switching slots on a modem that needs to switch profiles as a result: >>> > Apr 7 10:56:07 EDG4600 ModemManager[15523]: ModemManager >>> > (version 1.16.2) starting in system bus... >>> > >>> > I have not l

Re: Detecting Dual SIM on EM7455

2021-04-08 Thread Aleksander Morgado
Hey Jack, >> >> Could you please test showing the failed case where, upon boot, >> >> --uim-get-card-status shows one single SIM instead of two? >> >> >> > My apologies if this wasn't clear. The above case is the "failing" case. >> > --uim-get-card-status shows two SIMs, it doesn't, however, show

Re: Detecting Dual SIM on EM7455

2021-04-07 Thread Aleksander Morgado
Hey, >> Could you please test showing the failed case where, upon boot, >> --uim-get-card-status shows one single SIM instead of two? >> > My apologies if this wasn't clear. The above case is the "failing" case. > --uim-get-card-status shows two SIMs, it doesn't, however, show the ICCID for > th

Re: Detecting Dual SIM on EM7455

2021-04-07 Thread Aleksander Morgado
Hey, >> > I have recently upgraded to 1.16.2 on OpenWRT in order to utilize the >> > extended SIM features. We integrate both the EM7511 and EM/MC7455. We have >> > identified that on boot, the EM7511 will detect both SIM's installed, with >> > the EM7455, however, it requires switching between

Re: Detecting Dual SIM on EM7455

2021-04-06 Thread Aleksander Morgado
Hey, On Tue, Apr 6, 2021 at 11:33 PM Jack Broderick wrote: > > Hello, > > I have recently upgraded to 1.16.2 on OpenWRT in order to utilize the > extended SIM features. We integrate both the EM7511 and EM/MC7455. We have > identified that on boot, the EM7511 will detect both SIM's installed, wi

Re: getting ICCID without debug mode

2021-04-06 Thread Aleksander Morgado
Hey Zurab, > Why sending arbitrary AT command requires ModemManager & > NetworkManager running in debug mode? Sending arbitrary AT commands requires either ModemManager --debug or configuring --with-at-command-via-dbus. The main reason was to avoid users interfering with ModemManager's own state

Re: NetworkManager using ModemManagers simple interface limitation?

2021-03-31 Thread Aleksander Morgado
Hey > Thanks for your answer! > > interesting stuff ... it seems to be exactly what I need. > > Why is "3gpp eps-ue-mode-operation" not part of the profile setting? > Don't think that setting is considered part of the profile settings in any modem I've looked at. > Is it already in a usable stat

Re: NetworkManager using ModemManagers simple interface limitation?

2021-03-30 Thread Aleksander Morgado
Hey, > We're using ModemManager via NetworkManager. > It looks like this means the "simple" interface (MMIfaceModemSimple) is used > This causes a connection to be setup in a simple way, e.g. via > enable (mm_base_modem_enable) and register > (register_in_3gpp_or_cdma_network). > > I'd like to pro

Re: Unknown behaviour when signal quality is poor

2021-03-30 Thread Aleksander Morgado
Hey, >> >> In our case we have switched the modem to mbim mode to be able to >> >> receive / be aware of sim removal notifications. >> >> >> >> > Didn't we already add the SIM removal notifications in QMI modems? >> > Have you tried with ModemManager git master recen

Re: Unknown behaviour when signal quality is poor

2021-03-29 Thread Aleksander Morgado
Hey, >> >> >> In our case we have switched the modem to mbim mode to be able to receive >> >> / be aware of sim removal notifications. >> >> >> >> > Didn't we already add the SIM removal notifications in QMI modems? >> > Have you tried with ModemManager git master recently? >> > > Since which ver

Re: Using mikroe "LTE IoT Click" aka u-blox SARA-R410M-02B with native serial UART

2021-03-24 Thread Aleksander Morgado
Hey, > > However on the target platform, the modem module is not connected trough USB > but trough an ordinary serial UART. And: that serial port is not provided by > a serial-usb-adapter, but is a native embedded serial uart, the platform > driver is 'atmel_usart_serial'. > > I can open a term

Re: Authentication: unspecified with Vodafone SIM

2021-03-24 Thread Aleksander Morgado
> > For our proprietary modemcontroller we had the solution to provide the PDP > authentication information also in the first memory location, for which no > APN was stored either. > > So i tried to set initial bearer settings, but without success: > > mmcli -m 1 > --3gpp-set-initial-eps-bearer-

ANN: ModemManager 1.14.12

2021-03-12 Thread Aleksander Morgado
Hey hey, This is the sixth bugfix release in the ModemManager 1.14.x series. Overview of changes in ModemManager 1.14.12 --- * MBIM: ** Plug memleak in disconnection logic. ** Don't fail IPv4v6 connection attempt if only IPv4 succeeds. * QMI:

Re: [RFC] QMAP data aggregation support in ModemManager

2021-03-10 Thread Aleksander Morgado
Hey, > > I've been working on updating ModemManager to allow setting up QMAP > data aggregated links transparently, either with qmi_wwan > add_mux/del_mux or with qmi_wwan+rmnet (pass_through=Y). > > See > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/447 > I've m

Re: reuse CID=3 problem for 2G/3G?

2021-03-10 Thread Aleksander Morgado
Hey, > > We're using a Cinterion ELS61-E R2 modem and ModemManager-1.14.0. > > It looks like we're facing a PDN activation problem which maybe caused > > by ModemManager. > > > > Our modem is happily connected, using 4G and PDP Context ID (CID) 1. > > The CID refers to type=ipv4 and APN=blablabla.

Re: List of supported Modems - Quectel modems

2021-03-04 Thread Aleksander Morgado
Hey Nick! > > I am using it with Quectel EM-12G and RM500Q, a recent version of MM works > pretty well with them. Not sure though where to find supported device info > except in the qmi_wwan.c source and the ModemManager plug-in source. Yes, that's also a good way to know it :) -- Aleksander

Re: List of supported Modems - Quectel modems

2021-03-04 Thread Aleksander Morgado
Hey, > At the moment I am considering using the following modems for different > implementations and I pretend to use the ModemManager. > > Quectel - EC25 A lot of people are using the EC25 and other Quectel modules, yes. > Sierra Wireless - WP7607 > I truly have no idea about this one. > Som

ANN: ModemManager 1.16.2 released

2021-03-02 Thread Aleksander Morgado
Hey hey, Just a quick update to fix the builds with GLib < 2.54. This is the first bugfix release in the 1.16.x series, built from the mm-1-16 branch. ModemManager 1.16.2 --- * build: fixed with GLib < 2.54. * qmi: fixed network regitration cancellatio

Re: [RFC] QMAP data aggregation support in ModemManager

2021-02-27 Thread Aleksander Morgado
Hey > > I've been working on updating ModemManager to allow setting up QMAP > > data aggregated links transparently, either with qmi_wwan > > add_mux/del_mux or with qmi_wwan+rmnet (pass_through=Y). > > > > See > > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/447

[RFC] QMAP data aggregation support in ModemManager

2021-02-26 Thread Aleksander Morgado
Hey all! I've been working on updating ModemManager to allow setting up QMAP data aggregated links transparently, either with qmi_wwan add_mux/del_mux or with qmi_wwan+rmnet (pass_through=Y). See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/447 For the qmi_wwan+

Re: Howto "AT^SXRAT" (Cinterion specific)

2021-02-24 Thread Aleksander Morgado
Hey Norbert, Giacinto, added you in CC, in case you have some suggestion. > > We're using a Cinterion ELS61-E R2 and seem to suffer from a lot of > "packet data disconnects" and cell/rat/MO switching. > We're advised to force the modem to use 3G/2G (or 4G/2G) Radio Access > Technology with the AT

Re: [PATCH] examples: network-scan: get rid of global variables

2021-02-24 Thread Aleksander Morgado
On 24/2/21 10:10, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Move the code into the main() routine. > --- Merged, thanks > examples/network-scan-python/network-scan-python | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/examples/network-scan

ANN: ModemManager 1.16 released

2021-02-23 Thread Aleksander Morgado
Hey hey, This is a new major release of ModemManager, which will be the base for the 1.16.x stable series (the new "mm-1-16" branch in git). The release has been tagged as "1.16.0". Thanks to everyone involved! ModemManager 1.16.0 --- The following note

Re: Improve support of facility locks on QMI/MBIM modems

2021-02-20 Thread Aleksander Morgado
Hey Michal, > > I've prepared some patches for ModemManager, libqmi and libmbim which will: > > introduce new UIM messages to read configuration of all facility locks from > QMI modem and to disable the locks > create new API in MM to disable facility locks on QMI and MBIM modems > add new cli co

Charset management rework

2021-02-16 Thread Aleksander Morgado
Hey all, The following merge request in gitlab contains a rework of how charsets are managed in the MM daemon. Reviews and comments welcome! https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/438 The charsets APIs have been changed in a way that 2 sets are given: to wo

Re: [PATCH 2/2] examples: modem-watcher: get rid of global variables

2021-02-15 Thread Aleksander Morgado
On 15/2/21 17:53, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Move the code into the main() routine and pass main_loop as > a parameter to the signal handler. > --- Merged, thanks! > .../modem-watcher-python/modem-watcher-python | 25 --- > 1 file changed, 16 i

Re: [PATCH 1/2] examples: ModemWatcher: convert comments in the doc strings

2021-02-15 Thread Aleksander Morgado
On 15/2/21 17:53, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Move comments under the class and method definitions. > > Also rework boolean handling. > --- Merged, thanks! > examples/modem-watcher-python/ModemWatcher.py | 52 +-- > 1 file changed, 25 insertion

Re: [PATCH 2/2] examples: network-scan: enable modem before the network scan

2021-02-14 Thread Aleksander Morgado
On 13/2/21 17:19, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Otherwise we get the following exception: > > Traceback (most recent call last): > File "/root/network-scan-python", line 57, in > networks = modem3gpp.scan_sync() > gi.repository.GLib.Error: mm_core_error_quar

Re: [PATCH 1/2] examples: network-scan: resolve PEP8 issues

2021-02-14 Thread Aleksander Morgado
On 13/2/21 17:19, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > Use autopep8 utility to resolve issues like spaces before brackets > and wrong hanging indentation. > > Also treat objects like boolean variables to check whether they are > None or not. > --- Merged, thanks > .../

Re: [PATCH] examples: rework imports

2021-02-13 Thread Aleksander Morgado
-watcher-python/ModemWatcher.py > index a18725b1..8091d9f3 100644 > --- a/examples/modem-watcher-python/ModemWatcher.py > +++ b/examples/modem-watcher-python/ModemWatcher.py > @@ -18,10 +18,10 @@ > # Copyright (C) 2014 Aleksander Morgado > # > > -import os, sys, gi > -

Re: ModemManager 1.16

2021-02-12 Thread Aleksander Morgado
> > > Btw. Debian 11 (bullseye) has its "hard freeze" on 2021-03-12. > > It might be good to have 1.16 ready before 2021-03-02 to get it in. > > > > Oh, that should be fine > I think MM 1.16 should happen sometime in the following days. I had a bunch of things in my mind that I would have wanted t

Re: Help mmcli - I don't know how to use a context other than the default CID 1

2021-02-09 Thread Aleksander Morgado
Hey John, > > This started as an nmci question but I realised I don't understand how to > configure bearer contexts with mmcli either. > > My starting point was creating a connection using nmcli (I wanted to really > use ipv6.method "disabled" but that's another story.) > > sudo nmcli connectio

Re: Unknown behaviour when signal quality is poor

2021-02-01 Thread Aleksander Morgado
Hey, > In our case we have switched the modem to mbim mode to be able to receive / > be aware of sim removal notifications. > Didn't we already add the SIM removal notifications in QMI modems? Have you tried with ModemManager git master recently? > Are QMI WDS indications still received when mo

Re: Faster resume probing

2021-02-01 Thread Aleksander Morgado
Hey, > > > I think we need to understand why, in the case of suspend/resume > > > cycle and using only QMI, we're not receiving and processing the WMS > > > indications properly: > > > * As said above, does the host even awake when the SMS arrives and > > > we're using QMI? > > > * Is it any diffe

Re: Faster resume probing

2021-02-01 Thread Aleksander Morgado
> > I think we need to understand why, in the case of suspend/resume > > cycle and using only QMI, we're not receiving and processing the WMS > > indications properly: > > * As said above, does the host even awake when the SMS arrives and > > we're using QMI? > > * Is it any different (host awaking

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-02-01 Thread Aleksander Morgado
On Sun, Jan 31, 2021 at 10:24 PM Mateusz Lamparski wrote: > > ok, i noticed a connection drop , what file is for log? > I assume you can do "sudo journalctl -u ModemManager". If you enabled debug logging, we should see all protocol messages in the log. -- Aleksander https://aleksander.es __

Re: Faster resume probing

2021-01-31 Thread Aleksander Morgado
Hey Dylan, > > > So with these your modem always stays connected over USB? How does > > > ModemManager react to this when resuming/suspending? ModemManager > > > still reprobes the device right? > > Yes, the modem remains connected over USB, even over many > > suspend/resume cycles. MM doesn't rep

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-30 Thread Aleksander Morgado
On Fri, Jan 29, 2021 at 7:18 PM Mateusz Lamparski wrote: > > Hej, sorry but i did not understand,, are there any clues ? I tried to explain it to you in a previous email, but I think we're lost in translation... :) There could be a bug in ModemManager (MM not processing the disconnect indication

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-29 Thread Aleksander Morgado
Hey! > > > Alexsander already gave you the link, fill an issue in gitlab ( > > > https://gitlab.freedesktop.org/NetworkManager/ModemManager/-/issues > > > ) and check the tickbox saying "This issue is confidential and > > > should only be visible to team members with at least Reporter > > > access

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-29 Thread Aleksander Morgado
Hey! On Fri, Jan 29, 2021 at 12:55 PM Frederic Martinsons wrote: > > Alexsander already gave you the link, fill an issue in gitlab > (https://gitlab.freedesktop.org/NetworkManager/ModemManager/-/issues) and > check the tickbox saying "This issue is confidential and should only be > visible to

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-29 Thread Aleksander Morgado
On Fri, Jan 29, 2021 at 11:37 AM Mateusz Lamparski wrote: > > im already like i showed to You have debuging on on mmcli. > System is debian Buster. > Do you get the full ModemManager debug log if you run "journalctl -u ModemManager" ? If so, please reproduce the issue (wait until the pings start

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-29 Thread Aleksander Morgado
Hey, > /usr/bin/mmcli --set-logging=DEBUG I don't know what system you're using, but the next thing to do would be to get the system log (either syslog or journalctl output) to see if the ModemManager daemon debug logs are available when the problem was reproduced. Please investigate a bit how to

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-29 Thread Aleksander Morgado
On Fri, Jan 29, 2021 at 10:29 AM t...@torunska2.pl wrote: > > Ok, do it looks now promising, > > > Can You help me to do that? > What do I need to do now? > You need to run ModemManager daemon with debug logs and try to reproduce the problem, see: https://www.freedesktop.org/wiki/Software/ModemMa

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-29 Thread Aleksander Morgado
Hey, > Tnak You for the reply , > ok, so the IP setting of wwan0 are by default set witch dhclient -4 > wwan0 realy no idea what dhclient does there , but after restart it > all > works perfect, til some time. > Ah, ok. So what's probably happening here is that at some point the network is discon

Re: please help me to understand whats is going on, connected byt ping -I wwan0 wp.pl is not woprking no network istead.

2021-01-28 Thread Aleksander Morgado
Hey, > > Help me to understand whats is going on, connected byt ping -I wwan0 > wp.pl is not woprking no network istead. > The mmcli output below shows the modem is connected. But, does the wwan0 interface have correct IP settings configured in the interface? Also, if the WWAN connection is not

Re: Unknown behaviour when signal quality is poor

2021-01-27 Thread Aleksander Morgado
Hey, > I am finding a unexpected behaviour and I would like to know how does the > ModemManager work in situations like this one, when the modem has no signal > at all or the signal is quite poor: > > [1607682864.814360] Received notification (service 'basic-connect', > command 'signal-state')

Re: [RFC] Exposing profiles (provisioned contexts) in the API

2021-01-19 Thread Aleksander Morgado
Hey! > > > > > > for Cinterion modems that support the profiles, there is a special > > > command to read them (ATI61, no mbim equivalent, maybe qmi but I > > > wouldn't know it; and an at^scfg? option to read the current one) as a > > > list and would fit well with option 2. > > > The second opti

Re: [RFC] Exposing profiles (provisioned contexts) in the API

2021-01-19 Thread Aleksander Morgado
Hey Giacinto, > > for Cinterion modems that support the profiles, there is a special > command to read them (ATI61, no mbim equivalent, maybe qmi but I > wouldn't know it; and an at^scfg? option to read the current one) as a > list and would fit well with option 2. > The second option would also s

Re: Help after system Update wwan0 dont get IP address

2021-01-16 Thread Aleksander Morgado
On 16/1/21 17:30, Mateusz Lamparski wrote: > How to check this modemmanager log ? See https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/ -- Aleksander https://aleksander.es ___ ModemManager-devel mailing list ModemManager-devel@lists.fre

ANN: ModemManager 1.14.10

2021-01-16 Thread Aleksander Morgado
Hey hey, This is the fifth bugfix release in the ModemManager 1.14.x series. Overview of changes in ModemManager 1.14.10 --- * Modem interface: ** Plug MmGdbusModem leak when bearers are updated. ** Don't consider charset setup failure as fatal. *

Re: Help after system Update wwan0 dont get IP address

2021-01-16 Thread Aleksander Morgado
> No idea what happend look here are commande : > file rc.wwan0 > #!/bin/bash > /usr/bin/mmcli -m 0 -e > /usr/bin/mmcli --verbose --simple-connect="apn=internet,ip-type=ipv4" -m > 0 > /usr/sbin/dhclient -4 wwan0 > > reply > [22:23][root@torunska2][~] $ /etc/init.d/rc.wwan0 > successfully enabled th

Re: [RFC] Exposing profiles (provisioned contexts) in the API

2021-01-13 Thread Aleksander Morgado
Hey, > I picked the single property for the initial implementation so that MM > would notify consumers when the profiles list changed via OTA update. > If we are moving to a D-Bus method to list them instead, then we > should preserve this behavior somewhere else (i.e. a separate signal). > Chrome

[RFC] Exposing profiles (provisioned contexts) in the API

2021-01-12 Thread Aleksander Morgado
Hey all, Eric wrote an initial draft of the API to expose profiles (provisioned contexts) in DBus here: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/179 The initial implementation he wrote relies on a read-only "Profiles" property exposed in the 3GPP interface, wi

Re: ModemManager 1.16

2021-01-08 Thread Aleksander Morgado
Hey, > On 2021-01-08 11:43, Aleksander Morgado wrote: > > If any of you is also waiting for a new 1.16, please please test git > > master as much as possible! > > Are there more 1.14 releases planned? > Possibly, bugfix-only > Btw. Debian 11 (bullseye) has its "

Re: ModemManager 1.16

2021-01-08 Thread Aleksander Morgado
Hey Teijo, > There are some new features in MM master branch that we would like to > take in production use in the near future. Are there any plans or > schedules for MM 1.16 stable version release, so that we could adjust > our plans accordingly? > I had quite some things scheduled in my TODO li

Re: Minimizing unsolicited events & wakeups

2021-01-06 Thread Aleksander Morgado
Hey, > I'm trying to use ModemManager (in conjunction with NetworkManager) to manage > a Quectel EC25 mini-pcie module (which is actually USB) using QMI. More > specifically, I need it to play-nice with suspend-to-ram, and minimise the > frequency at which it wakes up the host. > I've managed

Re: Faster resume probing

2021-01-06 Thread Aleksander Morgado
Hey, > Thanks to the logs of ModemManager, I could identify several places > where we lose some time during the resume sequence of a suspend/resume > cycle: > > 1. ModemManager waits a fixed amount of time to make sure that all > ports of a modem show up using udev, losing ~1.5s It's a bit more c

Re: SIM Switching using mmcli

2021-01-05 Thread Aleksander Morgado
Hey Jessy & Nick >> I would like to add support for SIM switching to ModemManager.proto for >> OpenWrt, but the only way to achieve this currently (AFAIK) is by using >> qmicli --sim-switch-slot. I have it working by calling qmicli, but is it >> possible to do it without depending on qmicli? I

Re: mbim

2020-12-25 Thread Aleksander Morgado
Hey Those warnings are expected On Thu, 24 Dec 2020, 03:49 Mateusz Lamparski, wrote: > So i dont understand? > > now in journalctl -xe > I spoted some warings or errors ? > > gru 24 03:39:31 debian ModemManager[835]: [modem0] couldn't load > carrier config: QMI PDC not supported > gru 24 03:3

Re: mbim

2020-12-23 Thread Aleksander Morgado
On Wed, Dec 23, 2020 at 2:45 PM Mateusz Lamparski wrote: > > So, the reply is simple i cant do anything what i liked ? ;( > ___ You cannot store SMS messages; that's the only thing you cannot do (with the firmware you're using) from all the things you needed to do, I think. -- Aleksander https:

Re: mbim

2020-12-23 Thread Aleksander Morgado
Hey Mateusz, For context for everyone, this email is in reply to this one: https://lists.freedesktop.org/archives/modemmanager-devel/2020-December/008326.html > [21:38][root@debian][~] $ mmcli -m 0 > > General |dbus path: > /org/freede

Re: failover internet script with sms info

2020-12-22 Thread Aleksander Morgado
Hey Mateusz, > Sorry for my bad ENGLISH, , > i have a task to do an failover script with 2 wan connections > 1.cable main one > 2. LTE using (manufacturer: Huawei Technologies Co., Ltd.,model: HUAWEI > Mobile V7R11,firmware revision: 11.617.15.00.00) > > i wroted a script and it is working perfect

[Newcomers] Help welcome to review USSD encodings logic

2020-12-21 Thread Aleksander Morgado
Hey all, I'd like to ask for help from anyone willing to work a bit more in ModemManager. Everyone in this list always has a "preferred" module to work with, usually because that may be the only module at hand. But there are tasks that are orthogonal to all modules and protocols, like e.g. the lo

Re: Modem SORACOM (SC-QGLC4-C1) : Unable to find a usable modem character set

2020-12-19 Thread Aleksander Morgado
Hey, > Thanks for the answer Aleksander, by the way, I finally got a nano sim for my > model and all went well. But, sadly same errors happens if the sim is locked > (same error on CSCS than when the sim was missing). > > I'll try at the beginning of next week to implement what you suggest on >

Re: Modem SORACOM (SC-QGLC4-C1) : Unable to find a usable modem character set

2020-12-19 Thread Aleksander Morgado
Hey! > > After a sim was inserted in the dongle, no problems have been notices so I it > seems that a missing sim prevent modem initialization (which, to my opinion > should not be , it should failed only on enable step). > Yes, I agree. If the CSCS=X operation fails, we should still go on, may

Re: u-blox TOBY-L2, TOBY-R2, and LARA-R2 new initial bearer recommendations

2020-12-17 Thread Aleksander Morgado
Hey, > >>> Please take a look at the recent Cinterion plugin changes, because > >>> Giacinto has already implemented this kind of thing for Cinterion > >>> modems, using the SetInitialEpsBearerSettings() method: > >>> https://www.freedesktop.org/software/ModemManager/api/latest/gdbus-org.freedeskt

Re: Modem Manager refresh rate

2020-12-17 Thread Aleksander Morgado
Hey Artur, > I am wondering if I may get some insight on the GPS refresh rate. When I > change the rate from the default 30 seconds to say, 5, the utc timestamp on > the nmea string does not change. When I disable the location gathering and > re-enable it the timestamp updates once. Seems

Re: [RFC] What to do by default with DIAG/QCDM ports

2020-12-15 Thread Aleksander Morgado
Hey, > > The DIAG/QCDM ports were extremely important in some old CDMA modems > > that required them for control instead (or in addition to) the AT > > ports, at least for several purposes like gathering access tech info > > and such. Due to that, MM has been attempting QCDM probing by default > >

[RFC] What to do by default with DIAG/QCDM ports

2020-12-14 Thread Aleksander Morgado
Hey Dan and all, The DIAG/QCDM ports were extremely important in some old CDMA modems that required them for control instead (or in addition to) the AT ports, at least for several purposes like gathering access tech info and such. Due to that, MM has been attempting QCDM probing by default in all

Re: Ubuntu focal PPA

2020-12-13 Thread Aleksander Morgado
> > I noticed that your Ubuntu focal PPA for modemmanager is failing builds for > > armhf arm64 > > (https://launchpad.net/~aleksander-m/+archive/ubuntu/modemmanager-focal). > > > > Do you know what the issue is? I would love to be able to use these for the > > various armhf/arm64 boards I suppo

Re: Ubuntu focal PPA

2020-12-13 Thread Aleksander Morgado
Hey Tim, > I noticed that your Ubuntu focal PPA for modemmanager is failing builds for > armhf arm64 > (https://launchpad.net/~aleksander-m/+archive/ubuntu/modemmanager-focal). > > Do you know what the issue is? I would love to be able to use these for the > various armhf/arm64 boards I support

Re: Run ModemManager in debug mode

2020-12-07 Thread Aleksander Morgado
mmcli we are getting same error as > before (error :- modemmanager should in debug mode ). > how we can proceed on these ? > > On Sun, Dec 6, 2020 at 1:17 PM Aleksander Morgado > wrote: >> >> Hey >> >> > After board boots we are changing the Mo

Re: SierraWireless MC7430

2020-12-07 Thread Aleksander Morgado
Hey! > > Checking the timestamps of the mm daemon and libraries the build order was > incorrect, looks like libqmi and mbim was built after MM so it wasn’t picked > up as a dependency when running the configure. Ahhh, see, that's also a good reason why we didn't see the cdc-wdm ports probed :)

Re: Disabling radio interface on MBIM device

2020-12-05 Thread Aleksander Morgado
Hey, On Fri, Dec 4, 2020 at 11:47 PM Enrico Mioso wrote: > > Hello!! > I wanted to disable the radio interface on a device reported as: > Bus 002 Device 003: ID 413c:81b6 Dell Computer Corp. DW5811e Snapdragon™ X7 > LTE > I would have liked something equivalent to > AT+CFUN=0 > > but no serial p

Re: Run ModemManager in debug mode

2020-12-05 Thread Aleksander Morgado
Hey > After board boots we are changing the ModeManger.service as > (ExecStart=/usr/sbin/ModemManager --debug) > but that is not good practice. > > How We can run ModemManager in debug mode while compiling yocto image > itself ? > build platform = yocto The --debug option gives you

Re: SierraWireless MC7430

2020-12-05 Thread Aleksander Morgado
Hey Marc, > I am trying a new modem on my system and some weird things are happening. > Trying to get the gps to come up but its not being shown as available but the > mm debug shows there is a port there. Wondering how I can debug this to get > it enabled ? > > ModemManager[248]: [00040

Re: Quectel EG21 modem QMI connection works but MM fallbacks to ttyUSB2 as primary port

2020-11-26 Thread Aleksander Morgado
Hey Carl, > Maybe Rafal is same as me, newbie to the open source world, not clear > the rules of open source. > Limited by our technical ability and time, in the past , we never > work together with customers to solve issues related to ModemManager > In fact, If the produ

Re: Quectel EG21 modem QMI connection works but MM fallbacks to ttyUSB2 as primary port

2020-11-26 Thread Aleksander Morgado
Hey Carl, > Quectel has lot of customers, and most of them are use system like > openwrt, android, others embedded -linux. > and the kernel version used is usually is V3.x,V4.x. > it will spend very much time (for quectel-self and customers): > if

Re: Quectel EG21 modem QMI connection works but MM fallbacks to ttyUSB2 as primary port

2020-11-25 Thread Aleksander Morgado
Hey Rafal! > Jan 1 04:51:00 zubrOS ModemManager[342]: [17460.859237] [filter] > cdc-wdm devices allowed:yes > Jan 1 04:51:35 zubrOS kernel: [ 54.178239] qmi_wwan_q 1-1:1.4: cdc-wdm0: > USB WDM device I saw your merge request and replied about that there, the problem you had with

Re: ANN: ModemManager 1.14.8

2020-11-16 Thread Aleksander Morgado
Hey Martin, > > Download here: > > > > http://www.freedesktop.org/software/ModemManager/ModemManager-1.14.8.tar.xz > > > > Verify it: > > $ sha256sum ModemManager-1.14.8.tar.xz > > fe1a26ba51b4bda7abd09ad4dadedd87d8b8154809fc9d88e94f75fdfff19295 > > ModemManager-1.14.8.tar.xz > > Si

ANN: ModemManager 1.14.8

2020-11-16 Thread Aleksander Morgado
Hey hey, This is the fourth bugfix release in the ModemManager 1.14.x series. Overview of changes in ModemManager 1.14.8 --- * Build: ** Fixed distcheck with new gtk-doc releases. ** ModemManager-names.h was being included in the dist tarball, but t

Kerneldevice (generic/udev) updates to support different system bus types

2020-11-10 Thread Aleksander Morgado
Hey all, I've been working on several updates to the udev/generic backends in the kerneldevice object. The main changes are done to better support non-USB modems (e.g. the new PCI based modules), and most of the changes are improvements and fixes in the generic backend used e.g. in OpenWRT, to mak

Subsystem management updates in the core

2020-11-09 Thread Aleksander Morgado
Hey all, I've reworked the core daemon logic related to device subsystems, see changes and description in gitlab: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/388 The main purpose is to make it easier to introduce new subsystems (e.g. rpmsg for qualcomm socs, or

Re: MM 1.14.2: Question about bearer disconnect

2020-11-09 Thread Aleksander Morgado
Hey Giacinto, > > > We're running 1.14.2 on a Cinterion (PLS62W) module. > > > > > > The modem is connected for a while and suddenly loses registration > > > causing MM to start a forced disconnect of the bearer, but the attempt > > > at disconnection fails. > > > > > > Oct 29 22:11:24.709516 Mode

Re: Issue with modem detection EM7455

2020-11-07 Thread Aleksander Morgado
Hey, > The issue I am experiencing , which I don't know if it may be related with > this, is that in some cases (even after a host system reboot) the > ModemManager is not able to list my modem (mmcli -L), even though it is > available in the system via lsusb command. I try to force a modems sc

Re: MM 1.14.2: Question about bearer disconnect

2020-11-07 Thread Aleksander Morgado
Hey, > We're running 1.14.2 on a Cinterion (PLS62W) module. > > The modem is connected for a while and suddenly loses registration > causing MM to start a forced disconnect of the bearer, but the attempt > at disconnection fails. > > Oct 29 22:11:24.709516 ModemManager[530]: [1604009484.709151]

Re: Changes to support QMI and MBIM ports not managed by qmi_wwan or cdc_mbim

2020-11-07 Thread Aleksander Morgado
Hey, > Does this mean that modem like the Fibocom L860-GL (pcie modem) will now work > with QMI and/or MBIM? > No, not yet. It just means that the codebase will no longer assume all QMI ports are from qmi_wwan and all MBIM ports are from cdc_mbim. Adding support for PCIe modules is still ongoin

Changes to support QMI and MBIM ports not managed by qmi_wwan or cdc_mbim

2020-11-06 Thread Aleksander Morgado
Hey all, As part of the integration of non-USB QMI and MBIM devices (e.g. Qualcomm SoCs or PCIe modems), I've worked on some changes that update the whole codebase to remove several assumptions done for those modem types: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_reques

Re: How to handle a modem that stops responding...

2020-10-29 Thread Aleksander Morgado
Hey, > > It is good to know that this has been considered in the core design. I agree > that there should be no modem specific behavior for this. > The original implementation was done to support RS232 modems, as looking at the AT command timeouts was the only way to detect that a modem was gone

Re: How to handle a modem that stops responding...

2020-10-28 Thread Aleksander Morgado
Hey Jessy > I am working with some Cinterion modems (PLAS9) and have seen them lock up > completely (requiring a hard reset as the AT channel does not even accept > commands anymore). > > The reason I am posting about this here is that ModemManager doesn't realize > the modem is gone. Every mes

<    1   2   3   4   5   6   7   8   9   10   >