<div dir="ltr">Hi Aleksander,<div><br></div><div>Thanks for your reply.</div><div><br></div><div>Please find the output below (sorry it's a bit long):</div><div><br></div><div>pi@okamoto:~ $ sudo qmicli -d /dev/cdc-wdm0 --nas-get-system-selection-preference --verbose<br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] Opening device with flags 'auto'...<br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] automatically selecting QMI mode<br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] created endpoint<br>[29 Jun 2020, 22:52:06] [Debug] QMI Device at '/dev/cdc-wdm0' ready<br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] Assuming service 'nas' is supported...<br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] Allocating new client ID...<br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 16<br><<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:03<br><br>[29 Jun 2020, 22:52:06] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 15<br><<<<<<   flags   = 0x00<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 4<br><<<<<<   message     = "Allocate CID" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Service" (0x01)<br><<<<<<   length     = 1<br><<<<<<   value      = 03<br><<<<<<   translated = nas<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 12<br><<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 11<br><<<<<<   flags   = 0x80<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "indication"<br><<<<<<   transaction = 0<br><<<<<<   tlv_length  = 0<br><<<<<<   message     = "Sync" (0x0027)<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Sync indication received<br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   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<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 23<br><<<<<<   flags   = 0x80<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 12<br><<<<<<   message     = "Allocate CID" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Allocation Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 03:02<br><<<<<<   translated = [ service = 'nas' cid = '2' ]<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Registered 'nas' (version unknown) client with ID '2'<br>[29 Jun 2020, 22:52:07] [Debug] Asynchronously getting system selection preference...<br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 13<br><<<<<<   data   = 01:0C:00:00:03:02:00:01:00:34:00:00:00<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 12<br><<<<<<   flags   = 0x00<br><<<<<<   service = "nas"<br><<<<<<   client  = 2<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 0<br><<<<<<   message     = "Get System Selection Preference" (0x0034)<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 116<br><<<<<<   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<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 115<br><<<<<<   flags   = 0x80<br><<<<<<   service = "nas"<br><<<<<<   client  = 2<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 103<br><<<<<<   message     = "Get System Selection Preference" (0x0034)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Emergency mode" (0x10)<br><<<<<<   length     = 1<br><<<<<<   value      = 00<br><<<<<<   translated = no<br><<<<<< TLV:<br><<<<<<   type       = "Mode Preference" (0x11)<br><<<<<<   length     = 2<br><<<<<<   value      = 08:00<br><<<<<<   translated = umts<br><<<<<< TLV:<br><<<<<<   type       = "Band Preference" (0x12)<br><<<<<<   length     = 8<br><<<<<<   value      = 80:03:40:00:00:00:02:00<br><<<<<<   translated = gsm-dcs-1800, gsm-900-extended, gsm-900-primary, wcdma-2100, wcdma-900<br><<<<<< TLV:<br><<<<<<   type       = "Roaming Preference" (0x14)<br><<<<<<   length     = 2<br><<<<<<   value      = FF:00<br><<<<<<   translated = any<br><<<<<< TLV:<br><<<<<<   type       = "LTE Band Preference" (0x15)<br><<<<<<   length     = 8<br><<<<<<   value      = 85:00:00:00:E0:01:00:00<br><<<<<<   translated = 1, 3, 8, 38, 39, 40, 41<br><<<<<< TLV:<br><<<<<<   type       = "Network Selection Preference" (0x16)<br><<<<<<   length     = 1<br><<<<<<   value      = 00<br><<<<<<   translated = automatic<br><<<<<< TLV:<br><<<<<<   type       = "Service Domain Preference" (0x18)<br><<<<<<   length     = 4<br><<<<<<   value      = 02:00:00:00<br><<<<<<   translated = cs-ps<br><<<<<< TLV:<br><<<<<<   type       = "GSM WCDMA Acquisition Order Preference" (0x19)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = automatic<br><<<<<< TLV:<br><<<<<<   type       = "TD SCDMA Band Preference" (0x1a)<br><<<<<<   length     = 8<br><<<<<<   value      = 21:00:00:00:00:00:00:00<br><<<<<<   translated = a, f<br><<<<<< TLV:<br><<<<<<   type       = "Acquisition Order Preference" (0x1c)<br><<<<<<   length     = 7<br><<<<<<   value      = 06:08:02:01:09:05:04<br><<<<<<   translated = { [0] = 'lte ' [1] = 'cdma-1xevdo ' [2] = 'cdma-1x ' [3] = 'td-scdma ' [4] = 'umts ' [5] = 'gsm '}<br><<<<<< TLV:<br><<<<<<   type       = "Network Selection Registration Restriction" (0x1d)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = unrestricted<br><<<<<< TLV:<br><<<<<<   type       = "Usage Preference" (0x1f)<br><<<<<<   length     = 4<br><<<<<<   value      = 02:00:00:00<br><<<<<<   translated = data-centric<br><<<<<< TLV:<br><<<<<<   type       = "Voice Domain Preference" (0x20)<br><<<<<<   length     = 4<br><<<<<<   value      = 03:00:00:00<br><<<<<<   translated = ps-preferred<br><br>[/dev/cdc-wdm0] Successfully got system selection preference<br>   Emergency mode: 'no'<br>  Mode preference: 'umts'<br>       Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary, wcdma-2100, wcdma-900'<br>     LTE band preference: '1, 3, 8, 38, 39, 40, 41'<br>        TD-SCDMA band preference: 'a, f'<br>      Roaming preference: 'any'<br>     Network selection preference: 'automatic'<br>     Service domain preference: 'cs-ps'<br>    GSM/WCDMA acquisition order preference: 'automatic'<br>   Usage preference: 'data-centric'<br>      Voice domain preference: 'ps-preferred'<br>       Registration restriction: 'unrestricted'<br>      Acquisition order preference: lte, cdma-1xevdo, cdma-1x, td-scdma, umts, gsm<br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Releasing 'nas' client with flags 'release-cid'...<br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] Unregistered 'nas' client with ID '2'<br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 17<br><<<<<<   data   = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:03:02<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 16<br><<<<<<   flags   = 0x00<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 2<br><<<<<<   tlv_length  = 5<br><<<<<<   message     = "Release CID" (0x0023)<br><<<<<< TLV:<br><<<<<<   type       = "Release Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 03:02<br><<<<<<   translated = [ service = 'nas' cid = '2' ]<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   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<br><br>[29 Jun 2020, 22:52:07] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 23<br><<<<<<   flags   = 0x80<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 2<br><<<<<<   tlv_length  = 12<br><<<<<<   message     = "Release CID" (0x0023)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Release Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 03:02<br><<<<<<   translated = [ service = 'nas' cid = '2' ]<br><br>[29 Jun 2020, 22:52:07] [Debug] Client released<br>[29 Jun 2020, 22:52:07] [Debug] Closed<br></div><div><br></div><div>Regards,</div><div>Leo</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 28, 2020 at 2:54 PM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Leo,<br>
<br>
> It's the BroadMobi BM806U (Qualcomm MDM 9225) and I suspect it was taken out from a D-Link DWR-921 C3:<br>
><br>
> <a href="https://openwrt.org/toh/d-link/d-link_dwr-921#tab__revision_c3" rel="noreferrer" target="_blank">https://openwrt.org/toh/d-link/d-link_dwr-921#tab__revision_c3</a><br>
><br>
> It only has the cdc-wdm0 and wwan0 ports.<br>
><br>
> I was able to enable the LTE-FDD band 1, 3 and 8 earlier but now stuck with preferred mode = none.<br>
><br>
> Please let me know if you need any additional information.<br>
><br>
<br>
I'm afraid I don't recall seeing an issue like that before :/ It could<br>
really be some missing TLV in the Set System Selection Preference or<br>
something like that. Could you run the<br>
--nas-get-system-selection-preference qmicli command with --verbose to<br>
see which TLVs the Get command sends?<br>
<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</blockquote></div>