mmcli set allowed and preferred modes - internal failure
Leo K
bingoxxx78 at gmail.com
Wed Jun 24 15:51:20 UTC 2020
Hi there,
It seems that my modem supports pretty much all modes:
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 2g, 3g; preferred: 3g
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 2g
| current: allowed: 3g; preferred: none
However, when I'm trying to set the preferred mode to 4g, I'm getting this:
pi at okamoto:~ $ sudo mmcli -m 0 --set-allowed-modes='3g|4g'
--set-preferred-mode='4g'
error: couldn't set current modes:
'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.Internal: QMI protocol
error (3): 'Internal''
>From the debug log:
ModemManager[11730]: [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 28
<<<<<< 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
ModemManager[11730]: [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<< length = 27
<<<<<< flags = 0x00
<<<<<< service = "nas"
<<<<<< client = 4
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 18
<<<<<< tlv_length = 15
<<<<<< message = "Set System Selection Preference" (0x0033)
<<<<<< TLV:
<<<<<< type = "Acquisition Order Preference" (0x1e)
<<<<<< length = 3
<<<<<< value = 02:08:05
<<<<<< translated = { [0] = 'lte ' [1] = 'umts '}
<<<<<< TLV:
<<<<<< type = "Change Duration" (0x17)
<<<<<< length = 1
<<<<<< value = 01
<<<<<< translated = permanent
<<<<<< TLV:
<<<<<< type = "Mode Preference" (0x11)
<<<<<< length = 2
<<<<<< value = 18:00
<<<<<< translated = umts, lte
ModemManager[11730]: [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 20
<<<<<< data =
01:13:00:80:03:04:02:12:00:33:00:07:00:02:04:00:01:00:03:00
ModemManager[11730]: [/dev/cdc-wdm0] received generic response
(translated)...
<<<<<< QMUX:
<<<<<< length = 19
<<<<<< flags = 0x80
<<<<<< service = "nas"
<<<<<< client = 4
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 18
<<<<<< tlv_length = 7
<<<<<< message = "Set System Selection Preference" (0x0033)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 01:00:03:00
<<<<<< translated = FAILURE: Internal
May I know if I entered the syntax correctly please?
Thanks,
Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200624/9cc39069/attachment.htm>
More information about the ModemManager-devel
mailing list