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