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

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

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

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

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

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 >

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

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

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. >

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

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

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

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

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

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

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

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

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

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:

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

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

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

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

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

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

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

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 > > >

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

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:

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

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

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

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

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

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). >

[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,

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

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

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?

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

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

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: >

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

[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

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,

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: > >>>

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.

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

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

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

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]:

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 > >

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

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

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

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

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

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

Re: Using ModemManager getting IP but not reflecting to NetworkManager

2020-10-23 Thread Aleksander Morgado
Hey, > We are giving AT command to EC20 module using ModemManager. Its working > fine for most of the command , but while giving some AT commands, i am > getting syntax error > for eg. > mmcli -m 0 --command="AT+QCFG="nwscanseq" > Using this should work: mmcli -m 0

Re: ModemManager 1.14.2 Setup - undefined symbol error and/or 'libmbim-glib.la' was moved error

2020-10-23 Thread Aleksander Morgado
Hey, > With the connection established (with NM and MM still disabled), running > > sudo qmicli --device=/dev/cdc-wdm0 --nas-get-system-info > > returns > > [/dev/cdc-wdm0] Successfully got system info: > WCDMA service: > Status: 'none' > True Status:

Re: ModemManager 1.14.2 Setup - undefined symbol error and/or 'libmbim-glib.la' was moved error

2020-10-22 Thread Aleksander Morgado
Hey, > Thank-you for your advice. We've managed to install version 1.14.2 with no > further issues following the steps you outlined. > > Unfortunately, when using the software, we didn't quite get the result that > we were hoping for - our modem reported capability is still only shown as >

Re: ModemManager 1.14.2 Setup - undefined symbol error and/or 'libmbim-glib.la' was moved error

2020-10-22 Thread Aleksander Morgado
Hey Dani > > And repeated the installation with > > --libdir=/usr/lib/x86_64-linux-gnu/ > Yes, this is the correct way to do it in Ubuntu. i.e. ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu/ > > > > CC mm-helper-enums-types.lo > > CCLD libhelpers.la > > /usr/bin/grep:

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-19 Thread Aleksander Morgado
Hey, > > > I seem we have done for "QMI based on QTRT" in libqmi. > > > For QUALCOMM's data services, there are lots of QMI library, > > > and libqmi used a more simply solution. (in fact, if just send QMI, > > > QTRT is also not a good idea) > > > > Why do you say QRTR is not a

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-19 Thread Aleksander Morgado
Hey, > > > So the process can next: > > > 1. rmnet physic driver probe, create netcard > > > rmnet_usb0/rmnet_mhi0/rmnet_ipa0, and call register_rmnet_data > > > 2. rmnet data driver create rmnet_data0 > > > > Are you suggesting that there is always a virtual network

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-17 Thread Aleksander Morgado
Hey Carl, > Some ideas from me. Thanks for your comments, very much appreciated. > The discussion is based on QUALCOMM's rmnet driver and his data > services. > We are discussing how porting these software to MM and libqmi. > But I think QUALLCOMM's solution is

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-16 Thread Aleksander Morgado
Hey, > > > And an additional question I have; what if we start using QMAP also > > > for qmi_wwan based modems that support it? I think it would be very > > > similar to your current needs with QRTR/IPA, right? See > > > https://lists.freedesktop.org/archives/libqmi-devel/2018-July/002935.html >

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-16 Thread Aleksander Morgado
Hey Eric, And an additional question I have; what if we start using QMAP also for qmi_wwan based modems that support it? I think it would be very similar to your current needs with QRTR/IPA, right? See https://lists.freedesktop.org/archives/libqmi-devel/2018-July/002935.html Maybe we can setup a

Re: ModemManager Process is shutting down

2020-10-16 Thread Aleksander Morgado
> > ModemManager 1.10.8 on Ubuntu 16.04.4 LTS. > Sierra Wireless EM74xx modem > > I had a test where I set the APN as invalid in the modem. > After a few hours, the ModemManager daemon restarted owing to the > following error. > > dbus[1001]: [system] Activating via systemd: service >

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-15 Thread Aleksander Morgado
Hey, > > > It does mean that MM will have to instantiate net ports and > > > then assign the mux ID to the QmiDevice, and then set it again in the > > > Bind Mux Data Port message, which leaves room for those potentially > > > getting out of sync. > > > > Why would this not be a problem in the

Re: Instantiating rmnet devices for data ports on QRTR-based modems

2020-10-15 Thread Aleksander Morgado
Hey! > > As part of the QRTR integration into MM we're trying to figure out > whose responsibility it is to make rmnet_data net interfaces for a > QRTR/IPA-based modem. I had started an MR[1] that gave this > responsibility to libqmi, but it's not clear this is the right place > for this to go. >

ANN: ModemManager 1.14.6

2020-10-14 Thread Aleksander Morgado
Hey hey, This is the third bugfix release in the ModemManager 1.14.x series. It is a small update w.r.t. 1.14.4, fixing issues related to missing GError initializations. The main fix that makes this release really needed is one in the QMI modems facility locks loading logic (in the 1.14 branch

ANN: ModemManager 1.14.4

2020-10-14 Thread Aleksander Morgado
Hey hey, This is the second bugfix release in the ModemManager 1.14.x series. Overview of changes in ModemManager 1.14.4 --- * Location interface: ** Allow cell ID only updates. * Messaging interface: ** Fixed memory leak when SMS parts being

Re: Location of rmnet setup

2020-10-09 Thread Aleksander Morgado
Hey, > > I don't know location of the official librmnetctl repo. We are using snapshot > from branch LC.UM.1.0 of > https://source.codeaurora.org/quic/lc/chromiumos/third_party/librmnetctl > If we're looking at using just some netlink socket based operations, and if there is no "official"

Re: Location of rmnet setup

2020-10-09 Thread Aleksander Morgado
Hey Michał, > > Thank you for the reply. As you suggested I created MMPortRmnet to handle > data port setup: > https://gitlab.freedesktop.org/mkm/ModemManager/-/commit/b25310666e41a19150fe2b18ff3b7cce73f9129a > It includes all the code that uses the rmnet library to configure devices but > it

Re: cinterion: Question about udev rules

2020-10-06 Thread Aleksander Morgado
Hey, > I'm working with a cinterion, PLS62W module and using PPP. One of the > issues I run into is that in certain scenarios, like sudden loss of > registration(due to poor signal) where MM disconnects the bearer, the > primary data port (and at port) ttyACM0 becomes unusable. > I think somehow

Re: Anything like GDestroyNotify in the mm api?

2020-10-05 Thread Aleksander Morgado
> The real issue that is leading me through all of these tests is improving my > understanding of lifecycles when working with async MM functions. I want to > make sure that there is no possible scenario where I destroy one of my C++ > objects that tracks a MMModem, in the destructor I cancel

Re: Anything like GDestroyNotify in the mm api?

2020-10-05 Thread Aleksander Morgado
Hey! > > Now I just need to understand why even when I call mm_modem_create_bearer and > immediately cancel the GCancellable, My callback is called with the error > "Operation was cancelled", but the bearer is still created. This is an > unrelated issue, so I can create a new email thread on

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