<div dir="ltr">Hi there,<div><br></div><div>It seems that my modem supports pretty much all modes:</div><div><br></div><div>  Modes    |         supported: allowed: 2g; preferred: none<br>           |                    allowed: 3g; preferred: none<br>           |                    allowed: 2g, 3g; preferred: 3g<br>           |                    allowed: 2g, 3g; preferred: 2g<br>           |                    allowed: 2g, 4g; preferred: 4g<br>           |                    allowed: 2g, 4g; preferred: 2g<br>           |                    allowed: 3g, 4g; preferred: 3g<br>           |                    allowed: 3g, 4g; preferred: 4g<br>           |                    allowed: 2g, 3g, 4g; preferred: 4g<br>           |                    allowed: 2g, 3g, 4g; preferred: 3g<br>           |                    allowed: 2g, 3g, 4g; preferred: 2g<br>           |           current: allowed: 3g; preferred: none<br></div><div><br></div><div>However, when I'm trying to set the preferred mode to 4g, I'm getting this:</div><div><br></div><div>pi@okamoto:~ $ sudo mmcli -m 0 --set-allowed-modes='3g|4g' --set-preferred-mode='4g'<br>error: couldn't set current modes: 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.Internal: QMI protocol error (3): 'Internal''<br></div><div><br></div><div>From the debug log:</div><div><br></div><div>ModemManager[11730]: [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 28<br><<<<<<   data   = 01:1B:00:00:03:04:00:12:00:33:00:0F:00:1E:03:00:02:08:05:17:01:00:01:11:02:00:18:00<br>ModemManager[11730]: [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 27<br><<<<<<   flags   = 0x00<br><<<<<<   service = "nas"<br><<<<<<   client  = 4<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 18<br><<<<<<   tlv_length  = 15<br><<<<<<   message     = "Set System Selection Preference" (0x0033)<br><<<<<< TLV:<br><<<<<<   type       = "Acquisition Order Preference" (0x1e)<br><<<<<<   length     = 3<br><<<<<<   value      = 02:08:05<br><<<<<<   translated = { [0] = 'lte ' [1] = 'umts '}<br><<<<<< TLV:<br><<<<<<   type       = "Change Duration" (0x17)<br><<<<<<   length     = 1<br><<<<<<   value      = 01<br><<<<<<   translated = permanent<br><<<<<< TLV:<br><<<<<<   type       = "Mode Preference" (0x11)<br><<<<<<   length     = 2<br><<<<<<   value      = 18:00<br><<<<<<   translated = umts, lte<br>ModemManager[11730]: [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 20<br><<<<<<   data   = 01:13:00:80:03:04:02:12:00:33:00:07:00:02:04:00:01:00:03:00<br>ModemManager[11730]: [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 19<br><<<<<<   flags   = 0x80<br><<<<<<   service = "nas"<br><<<<<<   client  = 4<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 18<br><<<<<<   tlv_length  = 7<br><<<<<<   message     = "Set System Selection Preference" (0x0033)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 01:00:03:00<br><<<<<<   translated = FAILURE: Internal<br></div><div><br></div><div><br></div><div>May I know if I entered the syntax correctly please?</div><div><br></div><div>Thanks,</div><div>Leo</div></div>