Force 2G/3G/4G modes (when they are not reported as supported)

José Joseddg92 at gmail.com
Wed Oct 28 09:04:19 PDT 2015


Hi, I am working with a Sierra MC7710, and this is a output example from
ModemManager:

root at ccimx6sbc:~# mmcli -m 0



/org/freedesktop/ModemManager1/Modem/0 (device id
'29d88ce7cabb0305731a99b422f212ed0b521c0f')

  -------------------------

  Hardware |   manufacturer: 'Generic'

           |          model: 'MBIM [1199:68A2]'

           |       revision: 'SWI9200X_03.05.23.02ap'

           |      supported: 'gsm-umts, lte'

           |        current: 'gsm-umts, lte'

           |   equipment id: '358178043545302'

  -------------------------

  System   |         device:
'/sys/devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3'

           |        drivers: 'qcserial, cdc_mbim'

           |         plugin: 'Generic'

           |   primary port: 'cdc-wdm0'

           |          ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0
(mbim), wwan0 (net)'

  -------------------------

  Numbers  |           own : 'unknown'

  -------------------------

  Status   |           lock: 'none'

           | unlock retries: 'sim-pin2 (3)'

           |          state: 'connected'

           |    power state: 'on'

           |    access tech: 'lte'

           | signal quality: '54' (recent)

  -------------------------

  Modes    |      supported: 'allowed: 2g, 3g, 4g; preferred: none'

           |        current: 'allowed: 2g, 3g, 4g; preferred: none'

  -------------------------

  Bands    |      supported: 'unknown'

           |        current: 'unknown'

  -------------------------

  IP       |      supported: 'ipv4, ipv6, ipv4v6'

  -------------------------

  3GPP     |           imei: '358178043545302'

           |  enabled locks: 'fixed-dialing, ph-fsim, net-pers,
net-sub-pers, provider-pers, corp-pers'

           |    operator id: '21407'

           |  operator name: 'Movistar'

           |   subscription: 'unknown'

           |   registration: 'home'

  -------------------------

  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'


  -------------------------

  Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/0'


As you can see, there is only one supported mode (allowed: 2g, 3g, 4g;
preferred: none) which (as far as I know) offers me no contl about
which network technology is being used. When using this modem with
other SIM cards or other protocols (this modem also supports QMI,
direct IP and serial) the supported modes varies.

My understanding is that the supported modes are provided by the modem
to ModemManager. Which variables affect the supported modes reported?

Is there a way to force ModemManager to use only 2g/3g/4g despite of
the supported modes reported by the modem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20151028/b9872243/attachment.html>


More information about the ModemManager-devel mailing list