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

2020-09-04 Thread Matthew Starr
I would best go about implementing these changes.  Thanks. Best Regards, Matthew Starr ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

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

2019-06-19 Thread Matthew Starr
Manager, then MM might make things worse in a configuration with a new MM and older NM. In this case the serial port would never recover from a data session since there is nothing to call Disconnect(). If you could implement #3 with detection of if Disconnect() is implemented, and if not fall b

New u-blox TOBY-R200 Firmware and CID Issues

2019-05-29 Thread Matthew Starr
odemManager[305]: [1559059479.534045] (ttyACM0) device open count is 1 (close) May 28 16:04:39 canect2 daemon.warn NetworkManager[312]: [1559059479.5596] device (ttyACM0): Activation: failed for connection 'Aeris' May 28 16:04:39 canect2 daemon.warn NetworkManager[312]: [15590594

RE: ModemManager Delayed Signal Lost Disconnect on u-blox TOBY-R200

2019-05-07 Thread Matthew Starr
lose) May 7 20:16:09 canect2 daemon.debug ModemManager[304]: [1557260169.869992] (ttyACM0): --> 'AT+CSQ' May 7 20:16:12 canect2 daemon.debug ModemManager[304]: [1557260172.872177] Couldn't refresh signal quality: 'Serial command timed out&#

RE: ModemManager Delayed Signal Lost Disconnect on u-blox TOBY-R200

2019-05-07 Thread Matthew Starr
never filed a bug report in GitLab. I could grab the old logs I have or possibly recreate the condition and file a new issue in GitLab if that would help track it. > > -- > Aleksander > https://aleksander.es Best regards, Matthew Starr ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

ModemManager Delayed Signal Lost Disconnect on u-blox TOBY-R200

2019-05-06 Thread Matthew Starr
canect2 daemon.debug ModemManager[304]: [1557167510.903522] (ttyACM0) closing serial port... May 6 18:31:50 canect2 daemon.debug ModemManager[304]: [1557167510.903842] (ttyACM0) serial port closed May 6 18:31:50 canect2 daemon.warn NetworkManager[311]: [1557167510.9206] device (ttyACM0): Ac

Re: Infinite connection loop

2018-10-22 Thread Matthew Starr
. Regards, Matthew Starr > Date: Mon, 22 Oct 2018 11:39:37 +0200 > From: Sven Schwermer > To: Aleksander Morgado > Cc: modemmanager-devel@lists.freedesktop.org > Subject: Re: Infinite connection loop > Message-ID: <41689DBE-1755-4F85-BFA7- > 97cf6e588...@svenschwermer.de>

RE: ModemManager can't open serial port after previously opening it successfully

2018-08-20 Thread Matthew Starr
se_force() function is called and self->priv->forced_close is set to TRUE, that is when the port stops working in ModemManager. At that point the forced_close value is never reset to FALSE. Best regards, Matthew Starr ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

RE: ModemManager can't open serial port after previously opening it successfully

2018-08-14 Thread Matthew Starr
> -Original Message- > From: Matthew Starr > Sent: Monday, August 06, 2018 11:36 AM > > > -Original Message- > > From: Matthew Starr > > Sent: Thursday, July 19, 2018 2:22 PM > > To: 'Aleksander Morgado' > > > > &

[PATCH] ublox: add additional models to supported_modes_per_model

2018-07-30 Thread Matthew Starr
Updated the models based on information from the u-blox website. -- plugins/ublox/mm-modem-helpers-ublox.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/plugins/ublox/mm-modem-helpers-ublox.c b/plugins/ublox/mm-modem-helpers-ublox.c index ff1a8488..1c124d41 100

RE: ModemManager can't open serial port after previously opening it successfully

2018-07-19 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Thursday, July 19, 2018 2:16 PM > > Hey, > > On Thu, Jul 19, 2018 at 3:47 PM, Matthew Starr > wrote: > > I am running ModemManager 1.8.0 and NetworkManager 1.8.0 on

ModemManager can't open serial port after previously opening it successfully

2018-07-19 Thread Matthew Starr
anect2 daemon.info ModemManager[302]: Simple connect state (6/8): Bearer Jul 19 13:18:06 canect2 daemon.warn NetworkManager[309]: [1532006286.6025] modem-broadband[ttyACM0]: failed to connect modem: Cannot run sequence: 'Could not open serial device ttyACM0: it h

RE: [PATCH v3] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init delay

2018-05-09 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Tuesday, May 08, 2018 2:53 AM > > Hey! > > On 08/05/18 00:26, Matthew Starr wrote: > > Added reading the ID_MM_UBLOX_PORT_READY_DELAY udev flag value > and using > &

[PATCH v3] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init delay

2018-05-07 Thread Matthew Starr
Added reading the ID_MM_UBLOX_PORT_READY_DELAY udev flag value and using it as an init delay when a value is set. The 20 second delay for the TOBY-L4 +READ URC has been reimplemented using the new ID_MM_UBLOX_PORT_READY_DELAY udev value. --- plugins/ublox/77-mm-ublox-port-types.rules | 2 ++ plu

RE: [PATCH] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init

2018-05-07 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Monday, May 07, 2018 2:31 PM > On Mon, May 7, 2018 at 6:47 PM, Matthew Starr > wrote: > >> -Original Message- > >> From: Aleksander Morgado [mailto:aleksan...

[PATCH v2] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init delay

2018-05-07 Thread Matthew Starr
Added reading the ID_MM_UBLOX_PORT_READY_DELAY udev flag value and using it as an init delay when a value is set. The 20 second delay for the TOBY-L4 +READ URC has been reimplemented using the new ID_MM_UBLOX_PORT_READY_DELAY udev value. --- plugins/ublox/77-mm-ublox-port-types.rules | 2 ++ plu

RE: [PATCH] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init

2018-05-07 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Monday, May 07, 2018 10:59 AM > On Mon, May 7, 2018 at 4:32 PM, Matthew Starr > wrote: > >> -Original Message- > >> From: Aleksander Morgado [mailto:al

[PATCH v1] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init delay

2018-05-04 Thread Matthew Starr
Added reading the ID_MM_UBLOX_PORT_READY_DELAY udev flag value and using it as an init delay when a value is set. The 20 second delay for the TOBY-L4 +READ URC has been reimplemented using the new ID_MM_UBLOX_PORT_READY_DELAY udev value. A 2 second delay for the TOBY-R2 was added since sometimes

RE: [PATCH] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init

2018-05-04 Thread Matthew Starr
nd to reliably get the TOBY-R200 to initialize with ModemManager I needed to have it use a 2 second delay using the ID_MM_UBLOX_PORT_READY_DELAY udev flag in the 77-mm-ublox-port-types.rules file. Without this the modem is sometimes never initialized by MM. I am planning on adding t

RE: [PATCH] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init

2018-05-04 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Thursday, May 03, 2018 6:49 AM > > Hey! > > On Wed, May 2, 2018 at 10:34 PM, Matthew Starr > wrote: > > Added reading the ID_MM_UBLOX_PORT_READY_DELAY udev flag value

[PATCH] ublox: use ID_MM_UBLOX_PORT_READY_DELAY udev flag as init

2018-05-02 Thread Matthew Starr
Added reading the ID_MM_UBLOX_PORT_READY_DELAY udev flag value and using it as an init delay when a value is set. The 20 second delay for the TOBY-L4 +READ URC has been reimplemented using the new ID_MM_UBLOX_PORT_READY_DELAY udev value. --- plugins/ublox/77-mm-ublox-port-types.rules | 2 ++ plu

RE: [PATCH 2/2] ublox: use ID_MM_PORT_READY_DELAY udev flag for ready delay

2018-05-02 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Tuesday, May 01, 2018 11:47 AM > On Tue, May 1, 2018 at 6:20 PM, Matthew Starr > wrote: > > Add reading the ID_MM_PORT_READY_DELAY udev flag value and using it > as >

RE: u-blox TOBY-R200 Intermittent Long Registration on Simple Connect

2018-05-01 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Monday, April 30, 2018 6:50 PM > > On Mon, Apr 30, 2018 at 10:45 PM, Dan Williams wrote: > > On Mon, 2018-04-30 at 20:09 +, Matthew Starr wrote: > >> > -

[PATCH 2/2] ublox: use ID_MM_PORT_READY_DELAY udev flag for ready delay

2018-05-01 Thread Matthew Starr
Add reading the ID_MM_PORT_READY_DELAY udev flag value and using it as an init delay when a value is set. The 20 second delay for the TOBY-L4 +READY URC has been reimplemented using the new ready delay timeout value. --- plugins/ublox/77-mm-ublox-port-types.rules | 2 ++ plugins/ublox/mm-plugin-ub

[PATCH 1/2] port-probe: add getter for ID_MM_PORT_READY_DELAY udev tag

2018-05-01 Thread Matthew Starr
Added support for a ID_MM_PORT_READY_DELAY udev tag which can be used to delay the init of a modem. This is useful for modems that may not respond correctly within some amount of time after a reset. --- src/mm-port-probe.c | 8 src/mm-port-probe.h | 1 + 2 files changed, 9 insertions(+)

RE: u-blox TOBY-R200 Intermittent Long Registration on Simple Connect

2018-04-30 Thread Matthew Starr
wait_for_ready() function, but just got (null) returned. Do you know if the TOBY-L4 has a unique USB product ID? If so, do you know what it is? Regards, Matthew Starr > > -- > Aleksander > https://aleksander.es ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

RE: [PATCH] u-blox: ignore non-AT ttyACM interfaces

2018-04-11 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Wednesday, April 11, 2018 3:21 AM > To: Dan Williams > Cc: Matthew Starr; modemmanager-devel@lists.freedesktop.org > Subject: Re: [PATCH] u-blox: ignore non-AT ttyACM interfaces

RE: [PATCH] u-blox: ignore non-AT ttyACM interfaces

2018-04-11 Thread Matthew Starr
> -Original Message- > From: Reinhard Speyerer [mailto:rs...@arcor.de] > Sent: Tuesday, April 10, 2018 4:23 PM > To: Matthew Starr > Cc: Dan Williams; modemmanager-devel@lists.freedesktop.org > Subject: Re: [PATCH] u-blox: ignore non-AT ttyACM interfaces > > On Tu

RE: [PATCH] u-blox: ignore non-AT ttyACM interfaces

2018-04-10 Thread Matthew Starr
> -Original Message- > From: Dan Williams [mailto:d...@redhat.com] > Sent: Tuesday, April 10, 2018 1:17 PM > To: Matthew Starr; modemmanager-devel@lists.freedesktop.org > Subject: Re: [PATCH] u-blox: ignore non-AT ttyACM interfaces > > On Tue, 2018-04-10 at 17:30

[PATCH] u-blox: ignore non-AT ttyACM interfaces

2018-04-10 Thread Matthew Starr
For the TOBY-R2, LISA-R2, and LARA-R2, the only valid AT ports are ttyACM0, ttyACM1, and ttyACM2. All other ttyACM ports cause MM to wait 20-30 seconds probing the port on startup. Ignoring the non-AT ttyACM ports allows MM to not wait 20-30 seconds probing and therefore startup much faster with

RE: u-blox TOBY-R200 Intermittent Long Registration on Simple Connect

2018-04-09 Thread Matthew Starr
> -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Friday, April 06, 2018 3:37 AM > To: Matthew Starr > Cc: Dan Williams; modemmanager-devel@lists.freedesktop.org > Subject: Re: u-blox TOBY-R200 Intermittent Long Registration o

RE: u-blox TOBY-R200 Intermittent Long Registration on Simple Connect

2018-04-05 Thread Matthew Starr
> -Original Message- > From: Dan Williams [mailto:d...@redhat.com] > Sent: Thursday, April 05, 2018 3:50 PM > To: Matthew Starr; modemmanager-devel@lists.freedesktop.org > Subject: Re: u-blox TOBY-R200 Intermittent Long Registration on Simple > Connect > > On

RE: u-blox TOBY-R200 Intermittent Long Registration on Simple Connect

2018-04-05 Thread Matthew Starr
> -Original Message- > From: Dan Williams [mailto:d...@redhat.com] > Sent: Thursday, April 05, 2018 1:22 PM > To: Matthew Starr; modemmanager-devel@lists.freedesktop.org > Subject: Re: u-blox TOBY-R200 Intermittent Long Registration on Simple > Connect > > On

u-blox TOBY-R200 Intermittent Long Registration on Simple Connect

2018-04-03 Thread Matthew Starr
the difference is between the fast and slow registration and what might be causing it? Any ideas how to fix it? Best regards, Matthew Starr Apr 3 19:28:08 canect2 daemon.info ModemManager[253]: [1522783688.313995] Simple connect started... Apr 3 19:28:08 canect2 daemon.debug ModemMana

RE: [PATCH] ublox: fix 'any' mode building

2018-04-03 Thread Matthew Starr
This patch fixed the issue. The u-blox LARA R204 modem now works without any issues. Thanks. Best regards, Matthew Starr > -Original Message- > From: Dan Williams [mailto:d...@redhat.com] > Sent: Monday, April 02, 2018 8:09 PM > To: Aleksander Morgado; modemm

u-blox LARA R204 causes ModemManager abort exit

2018-04-02 Thread Matthew Starr
- '+URAT: (3)OK' ** ERROR:ublox/mm-modem-helpers-ublox.c:817:mm_ublox_get_modem_mode_any: assertion failed: (any != MM_MODEM_MODE_NONE) Aborted This same error occurs every time ModemManager is run. I compiled with the options --without-qmi and --without-mbim since they are not used by my mod

RE: Using u-blox TOBY-R200, ModemManager not detecting already registered with network

2018-02-08 Thread Matthew Starr
by ModemManager. Best regards, Matthew Starr > -Original Message- > From: Aleksander Morgado [mailto:aleksan...@aleksander.es] > Sent: Wednesday, February 07, 2018 2:01 PM > To: Matthew Starr > Cc: Dan Williams; modemmanager-devel@lists.freedesktop.org > Subject: Re:

RE: Using u-blox TOBY-R200, ModemManager not detecting already registered with network

2018-02-07 Thread Matthew Starr
> > Try this patch instead... > > Dan > > --- > src/mm-iface-modem-3gpp.c | 28 +++- > 1 file changed, 15 insertions(+), 13 deletions(-) > > diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c > index baf743fb..77b502c0 100644 > --- a/src/mm-iface-modem-3

RE: Using u-blox TOBY-R200, ModemManager not detecting already registered with network

2018-02-05 Thread Matthew Starr
> On Mon, 2018-02-05 at 15:45 +0000, Matthew Starr wrote: > > > On Thu, 2018-02-01 at 22:09 +0000, Matthew Starr wrote: > > > > I am using a TOBY-R200 which does not support USB Ethernet like > > > > TOBY- > > > > L2 models, but only supports AT

Using u-blox TOBY-R200, ModemManager not detecting already registered with network

2018-02-01 Thread Matthew Starr
y both these devices are connecting using the same AT interface, but ModemManager cannot detect that the TOBY R200 is already registered with the network causing a long registration time? Any ideas how I could speed this up or make ModemManager realize the modem is registered already? Best regards,   Matthew Starr ___ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel