Set allowed mode to 2G, 3G, 4G not working

Aleksander Morgado aleksander at aleksander.es
Wed Feb 20 18:06:45 UTC 2019


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