<div dir="ltr">Hi,<div><br></div><div>We are having trouble with band selection on the Quectel BG96. It seems the band selection command executes successfully, but the modem always stays on LTE band 20 regardless of the band selection preference. We are using ModemManager version 1.10.0 patched with commit f2c878e7 to allow setting the band preference without SIGSEGV.<br></div><div><br></div><div>Here we try to configure the modem to avoid band 20.<br></div><div><br></div><div><font face="monospace">$ mmcli -m 0 --set-current-bands='eutran-8'<br>successfully set current bands in the modem<br>$ mmcli -m 0 <br>  --------------------------------<br>  General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0<br>           |            device id: 6efb0cb14e9698c55a05a847f5c774f135ac7011<br>  --------------------------------<br>  Hardware |         manufacturer: Quectel<br>           |                model: 0<br>           |             revision: BG96MAR02A10M1G<br>           |         h/w revision: 10000<br>           |            supported: gsm-umts, lte<br>           |              current: gsm-umts, lte<br>           |         equipment id: 860536043902982<br>  --------------------------------<br>  System   |               device: /sys/devices/platform/soc/30800000.aips-bus/30b20000.usb/ci_hdrc.1/usb2/2-1<br>           |              drivers: option1, qmi_wwan<br>           |               plugin: Quectel<br>           |         primary port: cdc-wdm0<br>           |                ports: ttyUSB0 (qcdm), ttyUSB1 (gps), ttyUSB2 (at), <br>           |                       cdc-wdm0 (qmi), wwan0 (net), ttyUSB3 (at)<br>  --------------------------------<br>  Status   |                 lock: sim-pin2<br>           |       unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)<br>           |                state: connected<br>           |          power state: on<br>           |          access tech: lte<br>           |       signal quality: 100% (recent)<br>  --------------------------------<br>  Modes    |            supported: allowed: 2g; preferred: none<br>           |                       allowed: 4g; preferred: none<br>           |                       allowed: 2g, 4g; preferred: 4g<br>           |                       allowed: 2g, 4g; preferred: 2g<br>           |              current: allowed: 4g; preferred: none<br>  --------------------------------<br>  Bands    |            supported: egsm, dcs, pcs, g850, eutran-1, eutran-2, eutran-3, <br>           |                       eutran-4, eutran-5, eutran-8, eutran-12, eutran-13, eutran-17, <br>           |                       eutran-18, eutran-19, eutran-20, eutran-39<br>           |              current: eutran-8<br>  --------------------------------<br>  IP       |            supported: ipv4, ipv6, ipv4v6<br>  --------------------------------<br>  3GPP     |                 imei: <redacted><br>           |          operator id: 24201<br>           |        operator name: TELENOR<br>           |         registration: home<br>  --------------------------------<br>  3GPP EPS | ue mode of operation: csps-2<br>  --------------------------------<br>  SIM      |            dbus path: /org/freedesktop/ModemManager1/SIM/0<br>  --------------------------------<br>  Bearer   |            dbus path: /org/freedesktop/ModemManager1/Bearer/0<br>$ qmicli -d /dev/cdc-wdm0 -p --nas-get-rf-band-info<br>[/dev/cdc-wdm0] Successfully got RF band info<br>   Radio Interface:   'lte'<br>     Active Band Class: 'eutran-20'<br>        Active Channel:    '6400'</font><br></div><div><font face="monospace">$ mmcli -m 0 --command="AT+QENG=\"servingcell\""<br>response: '+QENG: "servingcell","NOCONN","CAT-M","FDD",242,01,105ED03,496,6400,20,3,3,78BF,-51,-6,-28,24,76<br></font></div><div><br></div><div>Relevant part of the ModemManager log:</div><div><br></div><div><font face="monospace">ModemManager[6395]: <debug> [1594121691.792737] Setting new list of bands: 'eutran-8'<br>ModemManager[6395]: [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 39<br><<<<<<   data   = 01:26:00:00:03:01:00:4A:00:33:00:1A:00:17:01:00:01:15:08:00:80:00:00:00:00:00:00:00:12:08:00:00:00:00:00:00:00:00:00<br>ModemManager[6395]: [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 38<br><<<<<<   flags   = 0x00<br><<<<<<   service = "nas"<br><<<<<<   client  = 1<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 74<br><<<<<<   tlv_length  = 26<br><<<<<<   message     = "Set System Selection Preference" (0x0033)<br><<<<<< TLV:<br><<<<<<   type       = "Change Duration" (0x17)<br><<<<<<   length     = 1<br><<<<<<   value      = 01<br><<<<<<   translated = permanent<br><<<<<< TLV:<br><<<<<<   type       = "LTE Band Preference" (0x15)<br><<<<<<   length     = 8<br><<<<<<   value      = 80:00:00:00:00:00:00:00<br><<<<<<   translated = 8<br><<<<<< TLV:<br><<<<<<   type       = "Band Preference" (0x12)<br><<<<<<   length     = 8<br><<<<<<   value      = 00:00:00:00:00:00:00:00<br><<<<<<   translated = (null)<br>ModemManager[6395]: [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 20<br><<<<<<   data   = 01:13:00:80:03:01:02:4A:00:33:00:07:00:02:04:00:00:00:00:00<br>ModemManager[6395]: [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 19<br><<<<<<   flags   = 0x80<br><<<<<<   service = "nas"<br><<<<<<   client  = 1<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 74<br><<<<<<   tlv_length  = 7<br><<<<<<   message     = "Set System Selection Preference" (0x0033)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br>ModemManager[6395]: [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 13<br><<<<<<   data   = 01:0C:00:00:03:01:00:4B:00:34:00:00:00<br>ModemManager[6395]: [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 12<br><<<<<<   flags   = 0x00<br><<<<<<   service = "nas"<br><<<<<<   client  = 1<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 75<br><<<<<<   tlv_length  = 0<br><<<<<<   message     = "Get System Selection Preference" (0x0034)<br>ModemManager[6395]: [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 151<br><<<<<<   data   = 01:96:00:80:03:01:02:4B:00:34:00:8A:00:02:04:00:00:00:00:00:10:01:00:00:11:02:00:10:00:12:08:00:00:00:00:00:00:00:00:00:15:08:00:80:00:00:00:00:00:00:00:16:01:00:00:18:04:00:02:00:00:00:19:04:00:01:00:00:00:1C:05:00:04:08:00:00:04:1D:04:00:00:00:00:00:1F:04:00:02:00:00:00:20:04:00:01:00:00:00:24:08:00:02:00:00:00:00:00:00:00:25:08:00:9F:18:0E:0A:40:00:00:00:26:08:00:9F:18:0E:0A:00:00:00:00:27:11:00:04:08:00:00:00:0A:00:00:00:0B:00:00:00:04:00:00:00<br>ModemManager[6395]: [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 150<br><<<<<<   flags   = 0x80<br><<<<<<   service = "nas"<br><<<<<<   client  = 1<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 75<br><<<<<<   tlv_length  = 138<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      = 10:00<br><<<<<<   translated = lte<br><<<<<< TLV:<br><<<<<<   type       = "Band Preference" (0x12)<br><<<<<<   length     = 8<br><<<<<<   value      = 00:00:00:00:00:00:00:00<br><<<<<<   translated = (null)<br><<<<<< TLV:<br><<<<<<   type       = "LTE Band Preference" (0x15)<br><<<<<<   length     = 8<br><<<<<<   value      = 80:00:00:00:00:00:00:00<br><<<<<<   translated = 8<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      = 01:00:00:00<br><<<<<<   translated = gsm<br><<<<<< TLV:<br><<<<<<   type       = "Acquisition Order Preference" (0x1c)<br><<<<<<   length     = 5<br><<<<<<   value      = 04:08:00:00:04<br><<<<<<   translated = { [0] = 'lte ' [1] = 'none ' [2] = 'none ' [3] = 'gsm '}<br><<<<<< TLV:<br><<<<<<   type   = 0x1d<br><<<<<<   length = 4<br><<<<<<   value  = 00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x1f<br><<<<<<   length = 4<br><<<<<<   value  = 02:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x20<br><<<<<<   length = 4<br><<<<<<   value  = 01:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x24<br><<<<<<   length = 8<br><<<<<<   value  = 02:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x25<br><<<<<<   length = 8<br><<<<<<   value  = 9F:18:0E:0A:40:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x26<br><<<<<<   length = 8<br><<<<<<   value  = 9F:18:0E:0A:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x27<br><<<<<<   length = 17<br><<<<<<   value  = 04:08:00:00:00:0A:00:00:00:0B:00:00:00:04:00:00:00</font><br><br></div><div>Resetting the modem doesn't help either. I am not sure whether this mailing list is the correct forum for this question or if I should ask Quectel about this. Any help is very much appreciated.</div><div><br></div><div>Best,</div><div>Fredrik</div></div>