I am experiencing similar issues when trying to set allowed mode to all modes, and 
preferred to "none in particular" :) .
Simply doesn't work - even with a success message then settings remain so that 
preferred mode looks to be 4G. Would like very much to solve this.

Enrico



On Tue, 19 Nov 2019, Stelling2 Carsten wrote:

Date: Tue, 19 Nov 2019 10:10:44
From: Stelling2 Carsten <carsten.stelli...@goerlitz.com>
To: "modemmanager-devel@lists.freedesktop.org"
    <modemmanager-devel@lists.freedesktop.org>,
    "Daniele Palmas (dnl...@gmail.com)" <dnl...@gmail.com>
Subject: AW: Set allowed mode to 2G, 3G, 4G not working

Hi,

I've just updated MM from 1.10.0 to 1.12.0 with the result, that my application 
fails when setting the mode ('2G|4G') for Telit LE910-EU1. It also fails when 
using mmcli.
My version 1.10.0 contains Daniele's patches mentioned here 
https://lists.freedesktop.org/archives/modemmanager-devel/2019-February/007044.html
 and in following messages.

I assume, that Daniele's patches didn't go mainline.

Daniele, can you send a merge request, containing your patches for the master 
branch?
I'll test them as soon as possible with Telit LE910-EU1 and give you feedback, 
such that this feature can be released.

Thank you for your help.

Carsten

-----Ursprüngliche Nachricht-----
Von: ModemManager-devel 
[mailto:modemmanager-devel-boun...@lists.freedesktop.org] Im Auftrag von 
Stelling2 Carsten
Gesendet: Mittwoch, 27. Februar 2019 10:16
An: Daniele Palmas
Cc: modemmanager-devel@lists.freedesktop.org; Reinhard Speyerer; Aleksander 
Morgado
Betreff: AW: Set allowed mode to 2G, 3G, 4G not working

Hi Daniele,

Thank you. Yes, I'll give it a try tomorrow.

Following patches from your commits should be applied to MM 1.10.0

4089726c1fbdc90ecec8737f9ea287784708ca7f
90cb911437538d5b6bd681aa1d7e1be2e1700227

Is this right?

Best regards,

Carsten

-----Ursprüngliche Nachricht-----
Von: Daniele Palmas [mailto:dnl...@gmail.com]
Gesendet: Dienstag, 26. Februar 2019 14:59
An: Stelling2 Carsten
Cc: Aleksander Morgado; Reinhard Speyerer; 
modemmanager-devel@lists.freedesktop.org
Betreff: Re: Set allowed mode to 2G, 3G, 4G not working

Hi Carsten,

Il giorno ven 22 feb 2019 alle ore 12:12 Stelling2 Carsten
<carsten.stelli...@goerlitz.com> ha scritto:

Hi,

I must correct me, modem type is LE910-EU1 as Reinhard assumed. Sorry for this 
confusion.
As a workaround for testing, we send AT+WS46 commands via D-Bus, but that seems 
possible only, if MM runs in debug mode.
If we need this feature for production in the future, I understand that we can 
add it to the Telit plugin.

at the following link

https://gitlab.freedesktop.org/dnlplm/ModemManager.git

you can find a fork with two additional commits that should implement
what needed.

Before sending to Aleksander a merge request would you like to give it a try?

Regards,
Daniele

I'd be very happy, if you can support me during implementation at a later point 
in time.

Thank you Aleksander and Reinhard for your support.

Carsten

-----Ursprüngliche Nachricht-----
Von: Aleksander Morgado [mailto:aleksan...@aleksander.es]
Gesendet: Freitag, 22. Februar 2019 09:59
An: Reinhard Speyerer
Cc: modemmanager-devel@lists.freedesktop.org; Stelling2 Carsten
Betreff: Re: Set allowed mode to 2G, 3G, 4G not working

Within the debug output I found the following line
ModemManager[623]: <debug> [1550762368.321591] MBIM-powered Telit modem found...
which points out, that calling
if (mm_port_probe_list_is_xmm (probes))
did not find the XMM support.

It didn't find it, because the XACT=? check failed:
ModemManager[623]: <debug> [1550762359.960165] (ttyACM0): --> 'AT+XACT=?<CR>'
ModemManager[623]: <debug> [1550762360.882668] (ttyACM0): <--
'<CR><LF>ERROR<CR><LF>'

So I assume the XMM support that we have in the xmm plugin isn't ready
to handle this specific device.

The inability to switch modes in this device is not a bug, it's just
not implemented I'm afraid.

Hi Aleksander,

the Telit-preferred way seems to be to handle this with AT+WS46.
I haven't checked the code in detail but based on the AT+WS46
references in the Telit plugin I would have expected for
ModemManager to already use it.


If the modem is managed with MBIM, the generic MBIM implementation is
used for the Telit modem, so no AT+WS46 based mode switching will be
done. For this kind of cases, where we have MBIM for generic control
plus AT for other features, we would need to have a
"MMBroadbandModemMbimTelit" implementation that inherits from
MMBroadbandModemMbim but then shares features with the Telit-specific
AT modem object. So, it's totally possible to do this, but needs to be
done.

--
Aleksander
https://aleksander.es


_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to