On Thu, Feb 16, 2017 at 4:29 PM, Russ Westrem <lspwaterproof...@gmail.com> wrote: > Im am trying to lock to 4g only. > > Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none' > | current: 'allowed: 2g, 3g, 4g; preferred: none' > > > > root@LEDE:~# 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'
Is this in MBIM mode? There isn't any support for mode/capabilities changing in plain MBIM mode. If this is in QMI mode, try --set-current-capabilities=lte instead. ModemManager only exposes the list of mode combinations that are allowed by the modem in the current capability. See https://sigquit.wordpress.com/2013/06/03/changing-modes-and-capabilities-in-modemmanager/ > root@LEDE:~# mmcli -m 0 --set-preferred-mode=4g > error: setting preferred mode requires list of allowed modes --preferred-mode must be given with --allowed-modes. E.g. there may be a combination saying "allowed 2G, 3G and 4G" but preferred "4G". -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel