Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Aleksander Morgado
Hey Peter, On Thu, Jan 13, 2022 at 3:22 PM Peter Naulls wrote: > > On 1/13/22 5:08 AM, Aleksander Morgado wrote: > > Hey Peter, > > > > > > > Unfortunately this log is missing the port notifications and the port > > probing phase; so we cannot investigate why the QMI port was not > > included in

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Aleksander Morgado
Hey, > So, the problem is the timing here exclusively, there is no failed QMI > protocol probing. This system you're running seems to be a bit slow, > and the events reported are taking a lot of time to complete before > the next one can be processed; we should definitely fix this in > ModemManage

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Peter Naulls
On 1/14/22 4:28 AM, Aleksander Morgado wrote: Hey Peter, For a quick workaround in your case, can you try modifying EXTRA_PROBING_TIME_MSECS in mm-plugin-manager.c and change it from 1500 to something bigger like e.g. 3000 or 4000? There's one thing clear though; the longer timeout should not

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Aleksander Morgado
Hey, > > For a quick workaround in your case, can you try modifying > > EXTRA_PROBING_TIME_MSECS in mm-plugin-manager.c and change it from > > 1500 to something bigger like e.g. 3000 or 4000? > > > > There's one thing clear though; the longer timeout should not be > > applied by default, as that w

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Peter Naulls
On 1/14/22 9:01 AM, Aleksander Morgado wrote: Hey, So removing the timing logic is not possible; but why not add an extremely longer value that will definitely be safe? E.g. why not set EXTRA_PROBING_TIME_MSECS to 6 to make it wait up to 1 minute in between port additions in the same dev

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Aleksander Morgado
Hey Peter, > > So removing the timing logic is not possible; but why not add an > > extremely longer value that will definitely be safe? E.g. why not set > > EXTRA_PROBING_TIME_MSECS to 6 to make it wait up to 1 minute in > > between port additions in the same device? Well, if we wait so long

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Peter Naulls
On 1/14/22 10:09 AM, Aleksander Morgado wrote: logic is not going to change. If MM detects a single TTY port, it's going to default to use PPP. It's not a fallback to PPP, it's using whatever it has for data connection, if PPP is the only way forward, PPP will be. I don't want PPP, ever. I do

Re: ANN: ModemManager 1.18.4 released / Avoiding PPP

2022-01-14 Thread Aleksander Morgado
Hey Peter, On Fri, Jan 14, 2022 at 4:14 PM Peter Naulls wrote: > > On 1/14/22 10:09 AM, Aleksander Morgado wrote: > logic is not going to change. > > > > If MM detects a single TTY port, it's going to default to use PPP. > > It's not a fallback to PPP, it's using whatever it has for data > > conn