Set allowed mode to 2G, 3G, 4G not working

Stelling2 Carsten Carsten.Stelling2 at goerlitz.com
Wed Feb 20 17:26:59 UTC 2019


Hi,

I'm using ModemManager 1.10.0, and libmbim 1.18.0 in conjunction with Telit LE910-EU V2.
It all works fine, but I'm not able to set the preferred GSM mode or access technology.
I'm confused by this error message "Cannot change modes: only one combination supported', because only one mode is given.

Thank you for your help.

Carsten


root at test:~ mmcli -L
    /org/freedesktop/ModemManager1/Modem/0 [Telit] FIH7160
root at test:~ mmcli -m 0 -e
successfully enabled the modem
root at test:~ mmcli -m 0 --set-allowed-modes=2G
error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot change modes: only one combination supported'
root at test:~ mmcli -m 0 --set-allowed-modes=3G
error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot change modes: only one combination supported'
root at test:~ mmcli -m 0 --set-allowed-modes=4G
error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: Cannot change modes: only one combination supported'
root at test:~ mmcli -m 0 --set-preferred-mode=2G
error: setting preferred mode requires list of allowed modes
root at test:~ mmcli -m 0

--set-logging=DEBUG does not produce more info.

  --------------------------------
  General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: 410429ace015c7ad9d8b4c78cac375b3df2d89da
  --------------------------------
  Hardware |         manufacturer: Telit
           |                model: FIH7160
           |             revision: 20.00.413
           |         h/w revision: XMM7160_V1.2_HWID790_MBIM_NAND
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 356611071277481
  --------------------------------
  System   |               device: /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2
           |              drivers: cdc_acm, cdc_mbim
           |               plugin: Telit
           |         primary port: cdc-wdm0
           |                ports: ttyACM4 (unknown), ttyACM5 (unknown), wwan0 (net),
           |                       cdc-wdm0 (mbim), ttyACM0 (at), ttyACM1 (unknown), ttyACM2 (unknown),
           |                       ttyACM3 (at)
  --------------------------------
  Status   |       unlock retries: sim-pin2 (3)
           |                state: registered
           |          power state: on
           |          access tech: lte
           |       signal quality: 16% (recent)
  --------------------------------
  Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
           |              current: allowed: 2g, 3g, 4g; preferred: none
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: 356611071277481
           |        enabled locks: fixed-dialing
           |          operator id: 26201
           |        operator name: Telekom.de
           |         registration: roaming
  --------------------------------
  3GPP EPS | ue mode of operation: csps-1
  --------------------------------
  SIM      |            dbus path: /org/freedesktop/ModemManager1/SIM/0



More information about the ModemManager-devel mailing list