mmcli set allowed and preferred modes - internal failure
Leo K
bingoxxx78 at gmail.com
Mon Jun 29 15:06:38 UTC 2020
Hi Aleksander,
Thanks for your reply.
Please find the output below (sorry it's a bit long):
pi at okamoto:~ $ sudo qmicli -d /dev/cdc-wdm0
--nas-get-system-selection-preference --verbose
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] Opening device with flags
'auto'...
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] automatically selecting QMI
mode
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] created endpoint
[29 Jun 2020, 22:52:06] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] Assuming service 'nas' is
supported...
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:03
[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 4
<<<<<< message = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<< type = "Service" (0x01)
<<<<<< length = 1
<<<<<< value = 03
<<<<<< translated = nas
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 12
<<<<<< data = 01:0B:00:80:00:00:02:00:27:00:00:00
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic indication
(translated)...
<<<<<< QMUX:
<<<<<< length = 11
<<<<<< flags = 0x80
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "indication"
<<<<<< transaction = 0
<<<<<< tlv_length = 0
<<<<<< message = "Sync" (0x0027)
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Sync indication received
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data =
01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:03:02
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic response
(translated)...
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x80
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 1
<<<<<< tlv_length = 12
<<<<<< message = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
<<<<<< TLV:
<<<<<< type = "Allocation Info" (0x01)
<<<<<< length = 2
<<<<<< value = 03:02
<<<<<< translated = [ service = 'nas' cid = '2' ]
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Registered 'nas' (version
unknown) client with ID '2'
[29 Jun 2020, 22:52:07] [Debug] Asynchronously getting system selection
preference...
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 13
<<<<<< data = 01:0C:00:00:03:02:00:01:00:34:00:00:00
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 12
<<<<<< flags = 0x00
<<<<<< service = "nas"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 0
<<<<<< message = "Get System Selection Preference" (0x0034)
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 116
<<<<<< data =
01:73:00:80:03:02:02:01:00:34:00:67:00:02:04:00:00:00:00:00:10:01:00:00:11:02:00:08:00:12:08:00:80:03:40:00:00:00:02:00:14:02:00:FF:00:15:08:00:85:00:00:00:E0:01:00:00:16:01:00:00:18:04:00:02:00:00:00:19:04:00:00:00:00:00:1A:08:00:21:00:00:00:00:00:00:00:1C:07:00:06:08:02:01:09:05:04:1D:04:00:00:00:00:00:1F:04:00:02:00:00:00:20:04:00:03:00:00:00
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic response
(translated)...
<<<<<< QMUX:
<<<<<< length = 115
<<<<<< flags = 0x80
<<<<<< service = "nas"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 1
<<<<<< tlv_length = 103
<<<<<< message = "Get System Selection Preference" (0x0034)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
<<<<<< TLV:
<<<<<< type = "Emergency mode" (0x10)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = "Mode Preference" (0x11)
<<<<<< length = 2
<<<<<< value = 08:00
<<<<<< translated = umts
<<<<<< TLV:
<<<<<< type = "Band Preference" (0x12)
<<<<<< length = 8
<<<<<< value = 80:03:40:00:00:00:02:00
<<<<<< translated = gsm-dcs-1800, gsm-900-extended, gsm-900-primary,
wcdma-2100, wcdma-900
<<<<<< TLV:
<<<<<< type = "Roaming Preference" (0x14)
<<<<<< length = 2
<<<<<< value = FF:00
<<<<<< translated = any
<<<<<< TLV:
<<<<<< type = "LTE Band Preference" (0x15)
<<<<<< length = 8
<<<<<< value = 85:00:00:00:E0:01:00:00
<<<<<< translated = 1, 3, 8, 38, 39, 40, 41
<<<<<< TLV:
<<<<<< type = "Network Selection Preference" (0x16)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = automatic
<<<<<< TLV:
<<<<<< type = "Service Domain Preference" (0x18)
<<<<<< length = 4
<<<<<< value = 02:00:00:00
<<<<<< translated = cs-ps
<<<<<< TLV:
<<<<<< type = "GSM WCDMA Acquisition Order Preference" (0x19)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = automatic
<<<<<< TLV:
<<<<<< type = "TD SCDMA Band Preference" (0x1a)
<<<<<< length = 8
<<<<<< value = 21:00:00:00:00:00:00:00
<<<<<< translated = a, f
<<<<<< TLV:
<<<<<< type = "Acquisition Order Preference" (0x1c)
<<<<<< length = 7
<<<<<< value = 06:08:02:01:09:05:04
<<<<<< translated = { [0] = 'lte ' [1] = 'cdma-1xevdo ' [2] = 'cdma-1x '
[3] = 'td-scdma ' [4] = 'umts ' [5] = 'gsm '}
<<<<<< TLV:
<<<<<< type = "Network Selection Registration Restriction" (0x1d)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = unrestricted
<<<<<< TLV:
<<<<<< type = "Usage Preference" (0x1f)
<<<<<< length = 4
<<<<<< value = 02:00:00:00
<<<<<< translated = data-centric
<<<<<< TLV:
<<<<<< type = "Voice Domain Preference" (0x20)
<<<<<< length = 4
<<<<<< value = 03:00:00:00
<<<<<< translated = ps-preferred
[/dev/cdc-wdm0] Successfully got system selection preference
Emergency mode: 'no'
Mode preference: 'umts'
Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary,
wcdma-2100, wcdma-900'
LTE band preference: '1, 3, 8, 38, 39, 40, 41'
TD-SCDMA band preference: 'a, f'
Roaming preference: 'any'
Network selection preference: 'automatic'
Service domain preference: 'cs-ps'
GSM/WCDMA acquisition order preference: 'automatic'
Usage preference: 'data-centric'
Voice domain preference: 'ps-preferred'
Registration restriction: 'unrestricted'
Acquisition order preference: lte, cdma-1xevdo, cdma-1x, td-scdma, umts, gsm
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Releasing 'nas' client with
flags 'release-cid'...
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Unregistered 'nas' client
with ID '2'
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 17
<<<<<< data = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:03:02
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 16
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 2
<<<<<< tlv_length = 5
<<<<<< message = "Release CID" (0x0023)
<<<<<< TLV:
<<<<<< type = "Release Info" (0x01)
<<<<<< length = 2
<<<<<< value = 03:02
<<<<<< translated = [ service = 'nas' cid = '2' ]
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data =
01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:03:02
[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic response
(translated)...
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x80
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 2
<<<<<< tlv_length = 12
<<<<<< message = "Release CID" (0x0023)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
<<<<<< TLV:
<<<<<< type = "Release Info" (0x01)
<<<<<< length = 2
<<<<<< value = 03:02
<<<<<< translated = [ service = 'nas' cid = '2' ]
[29 Jun 2020, 22:52:07] [Debug] Client released
[29 Jun 2020, 22:52:07] [Debug] Closed
Regards,
Leo
On Sun, Jun 28, 2020 at 2:54 PM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> Hey Leo,
>
> > 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.
> >
>
> I'm afraid I don't recall seeing an issue like that before :/ It could
> really be some missing TLV in the Set System Selection Preference or
> something like that. Could you run the
> --nas-get-system-selection-preference qmicli command with --verbose to
> see which TLVs the Get command sends?
>
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200629/addea981/attachment-0001.htm>
More information about the ModemManager-devel
mailing list