AW: Set allowed mode to 2G, 3G, 4G not working
Stelling2 Carsten
Carsten.Stelling2 at goerlitz.com
Thu Feb 21 15:03:50 UTC 2019
Hi Aleksander,
Thank you for your fast response.
With your patch applied to 1.10.0, the error message is still the same.
Is there anything I can provide for debugging?
Carsten
-----Ursprüngliche Nachricht-----
Von: Aleksander Morgado [mailto:aleksander at aleksander.es]
Gesendet: Mittwoch, 20. Februar 2019 19:07
An: Stelling2 Carsten
Cc: modemmanager-devel at lists.freedesktop.org
Betreff: Re: Set allowed mode to 2G, 3G, 4G not working
Hey,
> I'm using ModemManager 1.10.0, and libmbim 1.18.0 in conjunction with Telit LE910-EU V2.
> It all works fine, but I'm not able to set the preferred GSM mode or access technology.
> I'm confused by this error message "Cannot change modes: only one combination supported', because only one mode is given.
>
> Thank you for your help.
>
> Carsten
>
>
> root at test:~ mmcli -L
> /org/freedesktop/ModemManager1/Modem/0 [Telit] FIH7160
> root at test:~ mmcli -m 0 -e
> successfully enabled the modem
> root at test:~ mmcli -m 0 --set-allowed-modes=2G
> error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot change modes: only one combination supported'
> root at test:~ mmcli -m 0 --set-allowed-modes=3G
> error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot change modes: only one combination supported'
> root at test:~ mmcli -m 0 --set-allowed-modes=4G
> error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot change modes: only one combination supported'
> root at test:~ mmcli -m 0 --set-preferred-mode=2G
> error: setting preferred mode requires list of allowed modes
> root at test:~ mmcli -m 0
>
Could you try with the patch here?
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/72
Totally untested!
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list