Re: initial bearer apn

2023-03-21 Thread Aleksander Morgado
> > How is the initial-attach-ip-type decided in the NM MR you shared? I've seen > in a network in New Zealand where initial-attach-iptype has to be IPV4 and > then it can be changed to IPV4V6 during connection establishment. > I assume this could happen if the APN used during connection is diff

Re: modem terminates call when accepted remotely

2023-03-21 Thread Aleksander Morgado
Hoola Héctor! > > > First of all, I would like to thank you all your effort to develop and > maintain this API as it’s being very useful to us for handling modem > connections in our embedded devices. > > I'm really glad to see GMV is using all this :) I worked at Elecnor/Deimos Space in a past l

Re: EM7565 failing if host reboots whithout power cycling the modem

2023-03-21 Thread Aleksander Morgado
Hey! On Sun, Mar 19, 2023 at 11:40 AM Bjørn Mork wrote: > > This is not an issue caused by ModemManager or any of the host drivers. > Nut I don't know where else to ask. And this documents the issue for my > next Google search :-) > Hahaha, been there. > I'm using a Sierra Wireless EM7565 conne

Re: Temperature of modem

2023-03-27 Thread Aleksander Morgado
Hey, On Fri, Mar 3, 2023 at 8:18 PM Tom Isaacson wrote: > > Thanks. Is there any risk in calling qmicli functions when ModemManager is in > charge of the modem? > As long as you're using the qmi-proxy setup when calling qmicli (i.e. using the "-p" option), and you're NOT modifying the state or

New ID_MM_REQUIRED tag to avoid unwanted fallbacks to AT-only modem

2023-03-28 Thread Aleksander Morgado
Hey Peter & all, The following merge request introduces a new per-port ID_MM_REQUIRED udev tag: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/989 This udev tag can be specified on the control port that MUST be successfully grabbed when creating a new modem object,

Re: ublox SARA does not connect

2023-03-30 Thread Aleksander Morgado
Hey! On Mon, Mar 27, 2023 at 11:00 AM ron wrote: > > Hi > > Im running a ublox SARA modem in an embedded system on ubuntu. > > It is connecting fine on ubuntu 20.04, but remains in “registered” state when > setup in ubuntu 22.04. > > It seems that NM doesn’t run pppd for some reason, or is it MM

Re: modem terminates call when accepted remotely

2023-03-30 Thread Aleksander Morgado
Hey Héctor, On Thu, Mar 23, 2023 at 2:03 PM Héctor Jiménez Méndez < hector.jimene...@gmv.com> wrote: > Hi, Alex, thanks for your quick answer. > > Nice to know you worked at Elecnor/Deimos Space 😊 > > This is definitely a bug to fix. That transition to "terminated" > shouldn't happen when the ca

Re: ModemManager fails to utilize Modem, when it is not ready yet

2023-04-10 Thread Aleksander Morgado
Hey Christian, > > Hi, I have a SIMCOM_SIM7600E-H modem. > > When the Modem is freshly "activated" (eg. after powering on the whole > device, toggling the MPCIE reset pin, unplugging/plugging the MPCIE > card), ModemManager is not able to utilize the modem, it ends in state >Status |

Re: ModemManager fails to utilize Modem, when it is not ready yet

2023-04-12 Thread Aleksander Morgado
On Tue, Apr 11, 2023 at 11:34 AM Christian Schneider wrote: > > Ok, I see. Having a workaround in ModemManager would be great. > I will also try to contact the supplier/manufacturer to see, if this can > be changed. > What would be the proper reponse in such a case? > CME ERROR: 14 SIM busy? > Th

Re: Get modem SIM properties for mmcli

2023-04-24 Thread Aleksander Morgado
Hey Brendan, > Is there a way to get the modem SIM properties via the mmcli command? > > e.g. the ICCID or SimIdentifier > You can do this, yes. You can run "mmcli -m a" to get the list of details for your modem, and that output will report a "primary sim path" field, e.g. -

Re: NetworkTimeChanged signal doesn't seems to be working for Quectel

2023-04-24 Thread Aleksander Morgado
Hey, > > I am trying to get notification from Quectel when there is a time change, I > see that there is a signal NetworkTimeChanged for this but when I looked at > the code, I see that the signal is not being emitted for Quectel modules. > True; we're not emitting those for all modem types. Do

Re: ModemManager and MQTT messages over DBUS

2023-04-24 Thread Aleksander Morgado
Hey Mohamed, > > I am using a Quectel EC21 modem, connected to an imx6ul soc via usb (UART is > also available), everything works fine and I have connectivity without issues. > > So my usecase is putting both the cpu and the modem, and I am able to do > that, but the wakeup should be from a remo

Re: NetworkTimeChanged signal doesn't seems to be working for Quectel

2023-05-03 Thread Aleksander Morgado
Hey Thomas, > I do get the +CTZU notification, but it worked differently for quectel > because it doesn't receive the new time we need to check for +CTZE that's the > URC that we get when we receive notification that the time has been changed. What is the format of the +CTZE URC? is it similar

Re: SIM Application toolkit commands

2023-05-03 Thread Aleksander Morgado
> > Does ModemManager support SIM application tool kit with proactive SIM > > commands? My assumption is most of these SIM application tool kit > > commands should be handled by the modem but I'm unclear what is the > > role of host CPU / ModemManager in these commands? For example, many > > SIMs s

Re: modem terminates call when accepted remotely

2023-05-03 Thread Aleksander Morgado
Hey > > We finally were able to test voice calls with version 1.18 and it seems > that the (un)terminated call issue is not reproducing any more. > > > Nice! > In addition, now the AT serial port is available for other processes, so > our software is using it for other purposes such as querying

Re: How to recover from serial device being force closed.

2023-05-03 Thread Aleksander Morgado
Hey, > > it would be great if you could verify the behavior on the main branch > (at least on the last stable 1.20.6), and give us some logs, so we can > have a better idea of the issue and how proceed, whether in a general > manner, or with some specific fixes. > Yes, especially since several bu

Re: SIM Application toolkit commands

2023-05-09 Thread Aleksander Morgado
Hey, > The Twilio Super SIM will send a Proactive Command NAA Initialization and > Full File Change Notification to the terminal on the IMSI change. Some > modems, like the Quectel BG95 or EC25 will send a URC if > +QUSIM: 1 > if it is a USIM and > +QUSIM: 0 > if it's a regular SIM > no idea abo

Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection

2023-05-09 Thread Aleksander Morgado
Hey > Explicitly specifying the ip-type helps for me. > Since you mentioned main, I checked the version I'm using (1.18.12) and > noticed it isn't the latest, so I will try a newer version, and see what > happens. Please retry with git main or with MM 1.20 and report back whether this issue is fi

Re: Understanding Default Bearers and PDP Contexts

2023-05-09 Thread Aleksander Morgado
Hey! > > Should a bearer of type MM_BEARER_TYPE_DEFAULT correspond 1-1 with a > modem PDP context? > > Said another way, if I have a default bearer with APN B, should `mmcli > -m 0 --3gpp-profile-list` and `AT+CGDCONT` show a profile/PDP context > with APN B? > They're related but not fully the s

Re: [Telit LE910C1-EU] ModemManager crashes when establishing online connection

2023-05-10 Thread Aleksander Morgado
Hey, > I was struggling with getting mm built in my cross build environment and > meson, but finally: > With main branch it works: modem is recognized and connection is > established and mm not crashing. > # Nice! > What about the version 1.20? On > https://www.freedesktop.org/software/ModemMana

The MBIM protocol and the Microsoft extensions

2023-05-23 Thread Aleksander Morgado
Hey all, The modemmanager.org site now includes a document explaining details about the MBIM protocol and the new Microsoft extensions (e.g. for 4G and 5G specific features): https://modemmanager.org/docs/libmbim/mbim-protocol/ Please be advised that this document is not specific to either libmb

Re: The MBIM protocol and the Microsoft extensions

2023-05-24 Thread Aleksander Morgado
Hey! > > The modemmanager.org site now includes a document explaining details > > about the MBIM protocol and the new Microsoft extensions (e.g. for 4G > > and 5G specific features): > > > > https://modemmanager.org/docs/libmbim/mbim-protocol/ > > > > cool, thanks for this! > > I've just a doubt a

Re: Is there a version of modemmanager that works with Debian9 stretch for dual sim?

2023-05-25 Thread Aleksander Morgado
Hey, > > I would like to compile mmcli on arm stretch. Apt package manager has 1.6.4 > however when it comes to reading the sim cards, it only reads one. I know on > Debian 11 1.18.6 does read two sim cards with no issues, but before I go on > this journey of compiling how can I tell which vers

Re: Quactel RM520N firmware preferences

2023-06-05 Thread Aleksander Morgado
Hey Pradeep, > We are using Quactel RM520N in openwrt using ModemManager(1.16) , > is there any way to select or list firmware on the module using mmcli . > For eg: In EM74xx we can use IMPREF to select image for carrier like AT&T , > Verizon etc. I believe there is no way to do this in Quectel m

Re: Support Sequans LTE module

2023-06-13 Thread Aleksander Morgado
Hey Oakley, > > I am writing to ask about add new plug-in on Modem Manager to support Sequans > LTE module(https://sequans.com/products/cassiopeia-cb410l/). > > Please let me know your concern to add this new module into Modem Manager. I > would be grateful if you could share your comment for th

Re: [Quectel EM160R-GL] Various commands over mbim fail with 'Invalid transition'

2023-06-13 Thread Aleksander Morgado
On Tue, Jun 13, 2023 at 1:43 AM Alex Ballmer wrote: > > After upgrading an EM160R-GL modem via QFireHose from firmware version > EM160RGLAUR02A07M4G to version EM160RGLAUR02A07M4G, almost all functions fail > with ‘Invalid transition’. The modem power state is listed as "power state: > low” via

Re: [Quectel EM160R-GL] Various commands over mbim fail with 'Invalid transition'

2023-06-14 Thread Aleksander Morgado
> >> After upgrading an EM160R-GL modem via QFireHose from firmware version > >> EM160RGLAUR02A07M4G to version EM160RGLAUR02A07M4G, almost all functions > >> fail with ‘Invalid transition’. The modem power state is listed as "power > >> state: low” via mmcli. On the former firmware version ever

Re: segmentation fault when calling mm_object_get_modem

2023-06-24 Thread Aleksander Morgado
Hey Héctor, > We are using ModemManager 1.18.8 library and sometimes we got segmentation > fault when calling mm_object_get_modem function. It happens from time to > time, no clues about circumstances, as our code is continuously inquiring > for modem object in this function: > > > > MMModemPtr M

Re: unable to reconnect to "MM_MODEM_STATE_REGISTERED" status modem until it's reset

2023-06-24 Thread Aleksander Morgado
Hey, > > We are using ModemManager 1.12.12 library in one of our projects and we are > getting MM_MODEM_STATE_REGISTERED status when polling for Modem status with > mm_modem_get_state function. > > > > Then we try to connect again by using mm_modem_simple_connect_sync function > to get the bear

Re: ModemManager - Access Technology vs ModemCapability

2023-06-24 Thread Aleksander Morgado
Hey, > > The device I am using has a Cinterion® EXS82-W built-in and I am noticing > some weird behavior when it comes to Access Technologies and > ModemCapatibiliy, IMHO it doesn't make sense, but I guess I am wrong > somewhere and would like to know where. > > Reading the AccessTechnologies p

Re: ModemManager 1.20.6 crashes when using Quectel EC25

2023-07-06 Thread Aleksander Morgado
Hey, > I have an intel based platform with a m.2 Quectel EC25. I create images using > a Yocto project. When using ModemManger 1.18.x everything looks good. > However, ModemManager 1.20.6 crashes. If I use a different brand modem, > again, it is working fine. > > Is this a known issue? Or can y

Re: mbim cli - Telit LN920A connection process take more than 5 minutes

2023-07-06 Thread Aleksander Morgado
Hey Borja! > > > I am reaching out to discuss a critical situation we are facing with the > LN920A module fw version M0L.010002 and mbimcli tool. > > > > We have encountered connectivity problems with Telit LN920A module when it is > connected to a MNO in Japan. The connection process takes mor

Re: ModemManager 1.20.6 crashes when using Quectel EC25

2023-07-10 Thread Aleksander Morgado
Hey > > Thank you very much for your answer and for the fix. Are you intending to > merge this fix in the mm-1-20 branch? > Yes. I should prepare a new set of stable updates soon. -- Aleksander

Re: Add script handling on modem detection

2023-07-10 Thread Aleksander Morgado
> >> I am using the modemmanager on openwrt (master). > >> While playing around, I noticed that it might be useful to trigger > >> an event after the modemmanager has detected a modem. > >> We already use '/usr/lib/ModemManager/connection.d' one a successful > >> connection. > > > > > > There's alr

Re: ModemManager 1.20.6 crashes when using Quectel EC25

2023-08-14 Thread Aleksander Morgado
> > I just wanted to confirm that I tested the fix from > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1037, > and that it works as expected. > Thanks for letting us know! -- Aleksander

Re: Modem stopped working out of the blue

2023-08-14 Thread Aleksander Morgado
Hey Martin! On Wed, Jul 19, 2023 at 12:47 AM Martin wrote: > > On 2023-07-18 21:10, Martin wrote: > > my modem Please remind us which one :) > used to work until recently, but suddenly (and without any > > software update, at least intentionally), I get: > > Maybe I've been bitten by an autoupg

Re: Disabling 2G and null-ciphered connections

2023-08-14 Thread Aleksander Morgado
Hey, On Sun, Aug 13, 2023 at 9:06 PM Tom Isaacson wrote: > > I just came across this article: > https://security.googleblog.com/2023/08/android-14-introduces-first-of-its-kind.html > > When I do "mmcli --modem=0" I can see the modes: > Modes| supported: allowed: 2g; preferred:

Re: Modems disconnecting when signal level is low

2023-08-14 Thread Aleksander Morgado
Hey Melisa, > I am currently trying to use two SIMCOM SIM8300G-M2 5G modems to test > cellular performance (coverage, latency, throughput) from two different > operators in a rural area. I have been experiencing some stability issues > with the modem connections. It seems that it is related to

Re: ublox SARA does not connect

2023-09-04 Thread Aleksander Morgado
Hey > So its been a few months, and now when we install the product in US, trying > to connect to Verizon and tmobile, I face problems again. > Modem is ublox sara r5, which works through serial port AT commands only. > The modem seems to be connected, when issuing AT+CGDCONT , but modem manager

Re: May I commit binary files into MM project?

2023-09-22 Thread Aleksander Morgado
Hey > I have a concern about can we commit binary files into > /data/dispatcher-fcc-unlock folder? All the FCC unlock scripts/programs shipped by ModemManager are GPLv2+. If you can distribute your program under the GPLv2+, we could set it up to build from source along with the ModemManager proj

Re: T-Mobile Contributions

2023-09-22 Thread Aleksander Morgado
> > I'm excited to announce that T-Mobile US is now using > > ModemManager/libMBIM/libQMI > > for our 5G Fixed Wireless products > > [https://www.t-mobile.com/home-internet]. We > > are currently the largest FWA ISP in the world with well over 3 > > Million > > subscribers, i.e., lots of ModemManag

Re: T-Mobile Contributions

2023-09-22 Thread Aleksander Morgado
> > I'm excited to announce that T-Mobile US is now using > ModemManager/libMBIM/libQMI > for our 5G Fixed Wireless products [https://www.t-mobile.com/home-internet]. > We > are currently the largest FWA ISP in the world with well over 3 Million > subscribers, i.e., lots of ModemManager users! We

Re: FM350-GL (installed in ThinkPad P1 Gen 5)

2023-09-22 Thread Aleksander Morgado
On Wed, Sep 13, 2023 at 12:54 PM Thilo-Alexander Ginkel wrote: > > On Tue, Sep 12, 2023 at 1:31 PM Bjørn Mork wrote: >> >> > Turns out the challenge needs to be requested via --set-fcc-lock=0,0. >> >> Right. Makes sense. >> >> > Still, I can't get a valid unlock. >> >> And those challenge input

Re: modem is unusable when removing and putting back sim card

2023-09-22 Thread Aleksander Morgado
Hey > I am working with ModemManager with qmi-proxy and I have a weird behavior > when I am using ModemManager with the log-level set to DEBUG like this > "ModemManager --log-level=DEBUG &" > everything is working fine but when I use it normally or set the log-level to > anything else except de

ANN: ModemManager 1.21.900 (1.22-rc1) released

2023-09-27 Thread Aleksander Morgado
Hey hey, This is the first release candidate for the next 1.22 release. Please use the signed git tag '1.22-rc1' to refer to the sources of this release. The NEWS file includes the list of all the changes. Additional notes for packagers: * This version now requires: ** libmbim >= 1.29.90

Re: Quectel RM520N-GL QMI InvalidOperation starting network

2023-10-05 Thread Aleksander Morgado
Hey Luke > > I'm trying to use a Quectel modem (RM520N-GL) with ModemManager, and I > had it working previously except with occasional dropouts. While > debugging some errant problems where the modem would lose data > connectivity and start reporting no SIM card I flipped it to ECM mode > and mess

ANN: ModemManager 1.22.0 released

2023-10-11 Thread Aleksander Morgado
Hey hey, This is a new major release of ModemManager, which will be the base for the new 1.22.x stable series (the new "mm-1-22" branch in git). Overview of changes in ModemManager 1.22.0 --- The following notes are directed to package maintainers: *

IP (v4/v6) connectivity setup in LTE modems

2023-10-13 Thread Aleksander Morgado
Hey all, I wrote a doc explaining how IPv4/IPv6 connectivity in LTE networks is setup (a very basic case scenario), including different possible interactions between host, modem and network, and focusing on how all these are exposed by ModemManager. It has been very useful for me to understand di

Re: EM9191 PCIe with CM4

2023-10-24 Thread Aleksander Morgado
Hey, > I’m using a Sierra EM9191(sdx55) with PCIe on a raspberry CM4. > Until now I had a firmware based on openWRT21.02, for which Aleksander had > tuned the MM1.18.2 and few drivers. > It worked nicely but we bought a new lot of CM4 and I need to upgrade few > files for it to boot (start4.elf

Re: ussd does not work

2023-10-24 Thread Aleksander Morgado
Hey > [19 окт 2023, 00:10:26] [Debug] Asynchronously initiating USSD session... > error: couldn't initiate USSD session: > 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NotSupported: > Operation not supported' > > ussd do not work for me ... > Very likely that your modem fails

Re: EM9191 PCIe with CM4

2023-11-14 Thread Aleksander Morgado
Hey, > # mmcli -m 0 --simple-connect="apn=,multiplex=requested" > error: couldn't connect the modem: > 'GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code0: > failed to create net link for device: failed to add link for device: Could > not allocate link: Failed to add l

Re: FM350-GL (installed in ThinkPad P1 Gen 5)

2023-11-14 Thread Aleksander Morgado
On Tue, Nov 7, 2023 at 12:46 AM Thilo-Alexander Ginkel wrote: > > Problem solved. Just submitted a MR [1] for the unlock script. > > Thanks, > Thilo > > [1] > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1091 > > Thanks! You made a lot of people happy, you would

Re: qmicli-firmware-update failure on a batch of EM7455

2023-11-14 Thread Aleksander Morgado
On Wed, Nov 8, 2023 at 9:49 AM Bjørn Mork wrote: > > Amol Lad writes: > > > It seems the failure is occurring at the last chunk (#61). The status > > returned in "134". Please advise if any idea what this error status means? > > > > Bjørn, I saw one of your post in the mailing list regarding >

Re: Bearer connection disconnect cause

2024-01-30 Thread Aleksander Morgado
Hey, > > We getting connection disconnect randomly with below log from MM. We do > have a way to recover from it but is there a way to know the cause of > disconnect? Such as whether it is "network initiated disconnection" or > "modem initiated". Any pointers in this regard will be helpful (to fi

Re: QUECTEL ECM with Modem Manager

2024-01-30 Thread Aleksander Morgado
Hey, > First of all, i would like to thank you for taking time reading and > answering this. > We are currently using Modem Manager on various project and planned to > move from SIMCOM (qmi) chipset to Quectel for cost reduction. > > We successfully makes Quectel working with ModemManager with PP

Re: How to recover from serial device being force closed.

2024-01-30 Thread Aleksander Morgado
Hey, > In my application, I use ModemManager to connect the modem, and then I rename the network interface to a special name that is required by another part of my system (and change the name back if the modem disconnects). Is it not possible to rename the interface before even MM tries to grab t

Re: Can ModemManager connect to multiple PDUs networks?

2024-01-30 Thread Aleksander Morgado
> > Thank you for your answer. This works, indeed, and it is the information I > was looking for. However, I have a follow-up question: > > When using the multiplex property, a virtual interface called > mbimmux. is created. > > Is it possible to control the interface name and the VLAN ID used for

Netlink failure when attempting to add multiplexed link in MBIM modem

2024-02-13 Thread Aleksander Morgado
Hey Bjørn, I'm getting some strange reports of failures in the netlink communication when adding new multiplexed links in a MBIM modem, using cdc_mbim. I also have the kernel dmesg but it doesn't give any reference to the error, the only valid thing I have is the MM debug log. Any idea why this m

Re: AT port not attacted with RM520N-GL

2024-02-13 Thread Aleksander Morgado
Hey Pradeep! > > We are using RM520N-GL in our SD-WAN edge device in USB mode on M.2 Slot. > We are facing an issue where AT USB ports(ttyUSB2, ttyUSB3) are not > enumerated . > We are using "modemmanager - 1.16.6-2" and also added RM520 blob to " > /lib/udev/rules.d/77-mm-quectel-port-types.rul

Re: Is it possible to use mmcli with ublox L201 in Debian9

2024-02-13 Thread Aleksander Morgado
Hey > > I have some old devices that I cannot do OS upgrades, and they're running > Debian9, mmcli 1.6.4. Is it possible to do some sort of manual upgrade so > that it can work with ublox L201? > Yes, it should be possible to use a much newer ModemManager than 1.6.4 in that old box, likely supp

Re: Assistance Needed with SIM Card Issue Causing QMI Operation Failures

2024-02-13 Thread Aleksander Morgado
> > i'm seeing similar (not necessarily related) problems with an EC21 when using > Telefonica SIM cards (other cards work fine, these work sporadically). It > seems as if those cards have a longer startup time. With the following patch > the cards work most of the time (ModemManager 1.18.6): >

Re: No IP address for a successful connection on LTE modem

2024-02-13 Thread Aleksander Morgado
Hey, On Mon, Feb 12, 2024 at 9:37 AM Garfield Watkins wrote: > > I have created a plugin for an LTE modem. This modem exposes 1 AT command > port (e.g. ttyUSB0) and one ethernet port via usb (cdc_ether). > > When the modem is inserted via USB, the kernel enumerates some serial > ports(ttyUSB0 -

Re: No IP address for a successful connection on LTE modem

2024-02-13 Thread Aleksander Morgado
Hey, On Tue, Feb 13, 2024 at 1:18 PM Garfield Watkins wrote: > > Bearer 0 is the initial default bearer. > > Bearer 1 is the connected bearer > > Output from mmcli -b 1 is: > > - > General|path: /org/freedesktop/ModemManager1/Bearer/1 >

Re: AT port not attacted with RM520N-GL

2024-02-13 Thread Aleksander Morgado
> > Thanks for your reply, I will try out the suggested methods. > And another thing is we are planning to update ModemManager > ,currently we are at 1.16.6-2) and we can go to 1.20 stable versions. > Is there any stable version that you can push into ModemManager sources? > https://www.freedesktop

Re: No IP address for a successful connection on LTE modem

2024-02-14 Thread Aleksander Morgado
Hey! On Tue, Feb 13, 2024 at 1:49 PM Garfield Watkins wrote: > > Did you connect the modem using NetworkManager (e.g. using nmcli) or > did you connect the modem using mmcli? > > I see where you are going with this. It seems I expected more of the > interaction between the ModemManager and Netwo

Re: AT port not attacted with RM520N-GL

2024-02-29 Thread Aleksander Morgado
Hey Pradeep! > > Good morning. > Can you help to recommend to us which modemmanager to use for updating > from 1.16.6-3? > > I found these two stable releases, which one you recommend given that we are > currently using MM 1.16: > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/tag

Re: Seems like MM_FILTER_RULE_TTY_WITH_NET overrides ID_MM_DEVICE_IGNORE

2024-03-03 Thread Aleksander Morgado
Hey, > > > I'm running into trouble with ModemManager, there seems to be no way to > disable probing for certain devices. > I have found countless threads discussing the lack of this feature, but none > of them refer to my specific troubles. > We did have lots of problems in the past with block

Re: No IP address for a successful connection on LTE modem

2024-03-03 Thread Aleksander Morgado
On Wed, Feb 14, 2024 at 11:21 AM Garfield Watkins wrote: > > I think what confused me is that without the ModemManager i.e. using just > cgact=1,1 to manually connect, i suddenly got an ip address assigned to the > network interface provided by the modem. I thought it was NetworkManager > runni

Re: ModemManager Issue with multiple WWAN Sierrawireless Ubuntu 22.04

2024-03-03 Thread Aleksander Morgado
Hey. > Please let me understand the issue with multiple WWANs frequently > disconnecting and reconnecting I am using Sierra wireless modems on the > Ubuntu 22.04 desktop. I have updated the drivers and tried all available > internet options, but no luck. It is not modems are not getting connect

Re: Feature phone with 3G modem capability used to work under 1.18 but no longer works under 1.20

2024-03-03 Thread Aleksander Morgado
Hey Alex, On Mon, Feb 19, 2024 at 2:31 AM Alex Villacís Lasso wrote: > > El 16/2/24 a las 17:48, Alex Villacís Lasso escribió: > > I have this old phone, a Samsung E3210B pre-Android feature phone that > > I wish to use as a fallback option when (more frequently than I would > > like) my broadban

Re: Seems like MM_FILTER_RULE_TTY_WITH_NET overrides ID_MM_DEVICE_IGNORE

2024-03-08 Thread Aleksander Morgado
Hey Menno, > > After many hours we finally found out ModemManager is probing the devices, > > so we added the udev rules: > > > > /etc/udev/rules.d/78-custom-mm-blacklist-internal-modem.rules : > > > > ACTION!="add|change|move", GOTO="custom_mm_blacklist_internal_modem_end" > > ATTRS{idVendor}=="

Re: How to probe a modem exposing virtual ports (GSM 07.10 muxed ports)

2024-03-08 Thread Aleksander Morgado
Hey Garfield, > I have a situation where I have a ublox modem, the LISA u200, wired up using > its SPI bus as the communication channel. On the DTE side is a raspberry pi > SBC with a custom spi platform driver that exposes a tty device for modem. > This driver is not capable of multiplexing an

Re: ModemManager Issue with multiple WWAN Sierrawireless Ubuntu 22.04

2024-03-08 Thread Aleksander Morgado
Hey Ankur, > > I want to report an issue with the modem manager in Ubuntu 22.04. Even though > the modem firmware is updated, the modem manager service causes frequent > disconnection issues. However, when I disable the modem manager service and > use qmicli and minicoM methods, the modem works

Re: Assistance Needed with SIM Card Issue Causing QMI Operation Failures

2024-03-08 Thread Aleksander Morgado
Hey, > > Still having serious issues with this issue.. > > Is there any insight where the QMI errors are coming from? Is it the modem > that is telling MM that there is something wrong? > The errors start to happen when we try to read information from the SIM card. The first problem in the debug

Re: SIM Reconnection Issues (Modem Manager 1.20.4)

2024-03-08 Thread Aleksander Morgado
Hey, > > Recently I have encountered an issue related to reconnecting cellular. > > *OS*: Raspian OS Lite (32 bits) -> Linux panells3 6.1.0-rpi7-rpi-v8 #1 > SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux > *Modem*: SIM7600G-H > > The SIM is active. Using mmcli I can see that th

Re: ModemManager hangs SIMCOM A7602E-H modem

2024-03-19 Thread Aleksander Morgado
Hello Artem, > I am trying to get SIMCOM A7602E-H modem to work with ModemManager 1.14.12 > and the problem is the modem hangs after some time unless power cycled. If I > disable ModemManager, the modem is working for a long time. > Any chance you can get MM debug logs to see if any of the requ

Re: SIM Reconnection Issues (Modem Manager 1.20.4)

2024-03-19 Thread Aleksander Morgado
Hey Armand, > > Find attached a .zip with 4 logs files: > >- *mmlogs_P2.log*: is the ModemManager logs for one of the boards >(board P2) >- *nmlogs_P2.log*: is the NetworkManager logs for the board P2 (board >P2) >- *mmlogs_P4.log*: is the ModemManager logs for the other boar

Re: Modems not detected with the latest MM

2024-03-27 Thread Aleksander Morgado
or is this a known issue? > > Thank you, > Radu > > SHA-1 6388b583c7b9c25d3061a070f54f9d97d59e2b2c: > > root@MCG-67:~# mmcli --version > mmcli 1.23.5 > Copyright (2011 - 2023) Aleksander Morgado > License GPLv2+: GNU GPL version 2 or later > <http://gnu.org/lic

Deprecating 3GPP2 (CDMA/EVDO) and POTS

2024-03-27 Thread Aleksander Morgado
Hey! I think it is time to deprecate all 3GPP2 related implementations, which would include fully removing the Modem.Cdma interface and the support for CDMA/EVDO-only devices. Most (all?) networks have already phased out 3GPP2 based network technologies, and so there is really no point in maintain

Re: Modems not detected with the latest MM

2024-04-09 Thread Aleksander Morgado
Hey Radu, > > I attached 1 OK log (ModemManager-1.23.4-ok.log - git > 6a8797927c1ef9df1f56513b742f01de86f5167f), and one not ok log > (ModemManager-1.23.5-nok.log git 6388b583c7b9c25d3061a070f54f9d97d59e2b2c). > > Please let me know if I can be of any help. > Radu > I looked at the two logs and

Re: Empty APN, 2 PDP contexts and 1 PDP context

2024-04-09 Thread Aleksander Morgado
Hey! > > First of all I wanted to say thanks for developing and supporting a great > piece of software. > Thanks to you for using it! > We have a few thousand devices running ModemManager 1.18.6 and Quectel EC21 > modem. Our service provider Twilio/Kore keeps reporting that on some devices >

Re: How to probe a modem exposing virtual ports (GSM 07.10 muxed ports)

2024-04-09 Thread Aleksander Morgado
On Tue, Apr 2, 2024 at 3:43 PM Garfield Watkins wrote: > > Unfortunately there doesn't seem to be a way for to write a udev rule against > a pseudo terminal... > Are they not notified via udev really? You could also try to set it up with ModemManager not running with udev support (--test-no-ude

Re: How to recover from serial device being force closed.

2024-04-09 Thread Aleksander Morgado
Hey! > > I completely understand why there may be concerns at editing such critical > code for a use case that is not very common. > > Unfortunately my current situation requires renaming the interfaces. Multiple > modems may take turns being 'selected' (having the interface renamed) to pass >

Re: How to probe a modem exposing virtual ports (GSM 07.10 muxed ports)

2024-04-09 Thread Aleksander Morgado
Hey > > No unfortunately they are not. They (the psuedo terminals) are created by > opening /dev/ptmx which creates a terminal(s) in /dev/pts/ . These are not > enumerated in any way. Oh well... let me try your suggestion and see if it > works. > If the ptys don't have an entry in sysfs, not

Re: How to probe a modem exposing virtual ports (GSM 07.10 muxed ports)

2024-04-12 Thread Aleksander Morgado
On Tue, Apr 9, 2024 at 11:28 AM Garfield Watkins wrote: > > Is there any other workaround you can suggest ? I really do need these > virtual terminals exposed by the multiplexer. > Without adjusting MM to support the specific use case of the ptys, I'm not sure there is any easy way to handle thi

Re: Re:Re:Re: May I commit binary files into MM project?

2024-04-17 Thread Aleksander Morgado
Hey, Sorry bother you again. In our local another PC, the way previous I used > don't work by method 'sudo systemctl start ModemManager'. > But command method 'sudo ModemManager' works. > There are 2 attachments for reference. > ModemManager.log was generated by command > 'sudo ModemManager --de

Re: SIM PIN Unlock Error in MM 1.22.0

2024-04-22 Thread Aleksander Morgado
Hey Amol, > > We are getting following error when trying to send pin to the SIM card. The > problem is not observed in MM 1.20.4. However, please note that the SIM card > does unlocks after the below command even though error is reported. > > # mmcli -i 0 --pin=1234 > error: couldn't send PIN co

Re: How to probe a modem exposing virtual ports (GSM 07.10 muxed ports)

2024-05-07 Thread Aleksander Morgado
Hey, > > I am in the same situation and my Quectel BG770A-GL modem is using the > EMUX instead of the standard CMUX mode. > > Quectel is only providing full PPP support for this EMUX mode and so > would like to know what could be > the best way to add support for thoses /dev/pts virtual devices in

Re: Quectel EC25 & AT&T connection Catch-22

2024-05-07 Thread Aleksander Morgado
Hey Bruce, Thanks to everyone who joined the discussion, all the points already raised are valid. Just some small notes from my side. > > I have a question about using both QMI and the serial interface with > ModemManager. > > I had little difficulty getting ModemManager's SimpleModem to connect

Re: mmcli --disable command

2024-07-31 Thread Aleksander Morgado
Hey! > > It seems the disable command is not much different than > "--simple-disconnect". The disable command as it stands today is a bit > misleading because it gives an impression that modem is disabled (the state > is reported "disabled" in mmcli -m 0 output) but modem is actually still > r

Re: Enable fails for QUALCOMM modem with MM 1.20.4

2024-07-31 Thread Aleksander Morgado
Hey! > From a quick look at src/mm-broadband-modem-qmi.c ModemManager now seems to > use DMSSetEventReport to enable indications for OperatingMode which is not > supported by older devices. > We should never break support for older devices, at least that is the target! If anyone ever sees a modem

Re: Enable fails for QUALCOMM modem with MM 1.20.4

2024-07-31 Thread Aleksander Morgado
Hey Martin! > > Now enabling does not lead to an error message anymore, but the modem > still seems to have problems, as it remains in the "searching" state: > If it needs to fallback to 2G it may take a while, did you wait long enough? I realize your email is >1month old, were you able to move t

Re: Quectel EC25 modem failed to be enabled with MM 1.22.0 and QMI 1.34.0

2024-07-31 Thread Aleksander Morgado
On Wed, Jul 31, 2024 at 5:12 PM Florin wrote: > > Hi all, > we updated MM and QMI to the above versions and now the Quectel EC25 modem > won't work anymore. > Previously, with MM 1.20.6 and QMI 1.32.4 the modem functioned correctly. > > At system start, the modem fails to get initialized, and MM

Re: Registration issues with Telit modem LE910C4 and modem manager 1.18.8

2024-07-31 Thread Aleksander Morgado
Hey > I hope someone can help shed some light onto this issue as I am at a loss. > > I am investigating an issue that is occurring in a few IoT devices where > either the modem has trouble registering to the network or it is being > rejected shortly after a data connection is established. I'm tr

Re: Set the default SIM slot

2024-07-31 Thread Aleksander Morgado
Hey, > > Is there a way to set a default SIM slot? > > I have a OpenWrt device with an eUICC (slot 1) and UICC-slot (slot 2). The > eUICC is always selected as the active slot on boot (but does not work). > Switching the slot generally works, but no connection can be established: > "device not

Re: Feature phone with 3G modem capability used to work under 1.18 but no longer works under 1.20

2024-07-31 Thread Aleksander Morgado
Hey Alex, > > > > On Mon, Feb 19, 2024 at 2:31 AM Alex Villacís Lasso > > wrote: > >> El 16/2/24 a las 17:48, Alex Villacís Lasso escribió: > >>> I have this old phone, a Samsung E3210B pre-Android feature phone that > >>> I wish to use as a fallback option when (more frequently than I would > >>

Re: Quectel EC25 modem failed to be enabled with MM 1.22.0 and QMI 1.34.0

2024-07-31 Thread Aleksander Morgado
Hey Florin, > I followed-up on > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/874 and > the problem seems to be resolved in newer version. > Specifically, I backported these 2 patches: > https://github.com/balena-os/meta-balena/pull/3478/commits/2d53d2cb60a155ece0563fbb

Re: SimCom SIM7100E not functional since MM version 1.20.5

2024-09-09 Thread Aleksander Morgado
> we have been having issues with SimCom SIM7100E and MM since at least version > 1.20.5 (even older maybe, we have reports MM 1.18.4 works ok). > Have also tried using latest dev releases (MM 1.23.9, MBIM 1.31.5, QMI > 1.35.5) but the modem still fails to function correctly. > I have created thi

Re: License of the introspection XMLs

2024-09-09 Thread Aleksander Morgado
Hey, > I would really appreciate it if someone could clarify the license of the > introspection XMLs, since there is no license declaration in those files. > > I am trying to build a cli tool querying information from ModemManager over > dbus and am wondering what my license choices are in order

Re: Couldn't find associated QMI port

2024-09-09 Thread Aleksander Morgado
Hi, > > I have a dual SIM IOT device which was running modem-manager 1.10 on Ubuntu > 16.04. Recently upgraded to modem-manager 1.20.0 on Ubuntu 22.04. > > > > When switching from the first slot to the second slot, modem-manager is stuck > with 3GPP status "registered" with the warning messages

<    5   6   7   8   9   10   11   12   13   14   >