Re: [RFC] TTY port locked problems when using PPP

2019-06-27 Thread Piotr Figiel
Hi, czw., 27 cze 2019 o 10:20 Aleksander Morgado napisał(a): > The main issue with this approach is that ModemManager would do a lot > of tasks that were exclusively done by NetworkManager before, like IP > addressing setup or IP routing setup. I'm sure we can instruct NM to > play nicely with th

Re: [RFC] TTY port locked problems when using PPP

2019-06-27 Thread Piotr Figiel
Hi Aleksander, wt., 18 cze 2019 o 14:43 Aleksander Morgado napisał(a): > My opinion is a bit open on this, I liked the first way because we > would try to be as robust as possible and totally avoid using the port > with wrong CLOCAL settings, but I don't think we can have that > robustness unles

SMS retrieval on Telit LE910 V2 EU with MBIM

2018-05-14 Thread Piotr Figiel
Hi, I'm looking now into SMS support on LE910 modem running in MBIM mode. This is on MM 1.7.991 and libmbim 1.16. It seems sending messages works out of the box but retrieval has some issues. I found that the MM doesn't receive MBIM notifications when new SMS come, i.e. no MBIM_SMS_READ_INFO is s

Re: issue with Quectel EC20

2017-12-21 Thread Piotr Figiel
OK, this is on top of mm-1-6. Best regards, Piotr. From d5ffba8afb2c18e51eb0a982b31a0c92b7337e64 Mon Sep 17 00:00:00 2001 From: Piotr Figiel Date: Thu, 21 Dec 2017 14:08:35 +0100 Subject: [PATCH] bearer-qmi: fix connect with libqmi lower than 1.18 --- src/mm-bearer-qmi.c | 4 +++- 1 file changed

Re: issue with Quectel EC20

2017-12-21 Thread Piotr Figiel
Hi Dan, thanks for looking at this. 2017-12-20 18:11 GMT+01:00 Dan Williams : > Can you change MM to log debug info? > mmcli --set-logging=DEBUG > > and then try a connection attempt. That will hopefully yield more > information, including the QMI protocol dumps so we can see what's > really hap

issue with Quectel EC20

2017-12-20 Thread Piotr Figiel
Hi, I'm trying to get Quectel EC20 working with ModemManager without success. I have kernel with compiled in option and qmi_wwan drivers, with patches suggested in Quectel documentation. I was able to get it working with qmi-network tool, although ModemManager 1.16.10 (+libqmi 1.16.0) struggles

Re: Unexpected +CGDCONT? error: 'Sending command failed: 'Resource temporarily unavailable''

2017-07-20 Thread Piotr Figiel
Hi Ben, I stumbled on similar issues when dealing with modem restarts on 1.6. This was briefly discussed here: https://lists.freedesktop.org/archives/modemmanager-devel/2017-June/005016.html In that case patch I sent in last message fixed the issue with modem reappearing though the underlying re

Re: Re: Issues with modem reset

2017-06-29 Thread Piotr Figiel
se as original issue doesn't appear there and we didn't notice obvious regressions. Maybe you could consider including them if you don't see risk of regression on other supported modems. Best regards, Piotr. 2017-06-28 17:20 GMT+02:00 Aleksander Morgado : > On Wed, Jun 28, 2017

Re: Re: Issues with modem reset

2017-06-28 Thread Piotr Figiel
Hi Carlo, Aleksander, 2017-06-28 15:10 GMT+02:00 Carlo Lobrano : > (...) > > Not really sure what's happening here, but I do remember a similar issue > where adding some new debug logs, it appeared that the reply sent to > PORTCFG? parser was an empty string, the thread in this mailing list is

Re: Issues with modem reset

2017-06-28 Thread Piotr Figiel
Hi, 2017-06-28 10:41 GMT+02:00 Aleksander Morgado : > Can you retry but before running the reset operation, do an explicit > disconnection and/or disable? I checked with nmcli d disconnect prior to mmcli -r and I'm not able to reproduce this. Though once mmcli -r failed because of timeout on AT c

Re: Issues with modem reset

2017-06-28 Thread Piotr Figiel
asn't there. Best regards, Piotr. 2017-06-28 10:59 GMT+02:00 Aleksander Morgado : > On Wed, Jun 28, 2017 at 10:54 AM, Piotr Figiel wrote: >> thanks for reply. >> Yes I could but I think it races with NM which tries to reestablish >> connection, not sure if such t

Re: Issues with modem reset

2017-06-28 Thread Piotr Figiel
), but the problem may still be in MM and can trigger in case the modem suffers spontaneous restart (or is reconnected on USB). Best regards, Piotr. 2017-06-28 10:41 GMT+02:00 Aleksander Morgado : > On Wed, Jun 28, 2017 at 10:27 AM, Piotr Figiel wrote: >> I'm debugging it now but hi

Issues with modem reset

2017-06-28 Thread Piotr Figiel
gh it seems to fail differently between versions). I'm debugging it now but hints would be appreciated. Best regards, Piotr Figiel. ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: [PATCH] libmm-glib: set clear func by default in the MMModemPortInfo array

2017-02-09 Thread Piotr Figiel
_variant_to_garray > (mm-common-helpers.c:238) > ==261== by 0x6601AB9: ensure_internal_ports (mm-modem.c:766) > ==261== by 0x6603E42: mm_modem_peek_ports (mm-modem.c:825) > ==261== by 0x65CD94D: owns_port (nm-modem-broadband.c:196) > > Reported-by: Piotr Figiel > --- &

[PATCH 1/1] libmm-glib: fix leaking MMModemPortInfo and bearer_path string

2017-02-08 Thread Piotr Figiel
From: Piotr Figiel --- libmm-glib/mm-modem-simple.c | 1 + libmm-glib/mm-modem.c| 9 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libmm-glib/mm-modem-simple.c b/libmm-glib/mm-modem-simple.c index 910f06b..9338c45 100644 --- a/libmm-glib/mm-modem-simple.c

[PATCH 0/1] libmm-glib: fix leaking MMModemPortInfo and bearer_path string

2017-02-08 Thread Piotr Figiel
From: Piotr Figiel There are two leaks reported by valgrind on NetworkManager using ModemManager's libmm-glib, this is reproducible upon modem restart with NetworkManager version 1.4. This patch was tested on top of mm-1-6, but it's also aplicable on master. Please review an