mmcli set allowed and preferred modes - internal failure
Leo K
bingoxxx78 at gmail.com
Fri Jun 26 16:52:40 UTC 2020
Hi Aleksander,
It's the BroadMobi BM806U (Qualcomm MDM 9225) and I suspect it was taken
out from a D-Link DWR-921 C3:
https://openwrt.org/toh/d-link/d-link_dwr-921#tab__revision_c3
It only has the cdc-wdm0 and wwan0 ports.
I was able to enable the LTE-FDD band 1, 3 and 8 earlier but now stuck with
preferred mode = none.
Please let me know if you need any additional information.
Many thanks,
Leo
On Thu, Jun 25, 2020 at 9:31 PM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> Hey,
>
>
> > 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?
> >
>
> Syntax is correct, not sure why the QMI command fails like that though.
> What device is this?
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200627/064a8918/attachment.htm>
More information about the ModemManager-devel
mailing list