Equipment info without SIM installed

Colin Helliwell colin.helliwell at ln-systems.com
Wed Nov 8 08:18:08 UTC 2017


> On 07 November 2017 at 18:16 Aleksander Morgado <aleksander at aleksander.es> wrote:
> 
..
> 
> In the case above none of the commands we have was successful
> determining capabilities :/ But we could improve the +CPIN? check and
> also assume that if it's telling us "SIM not inserted" then it means
> it requires a SIM and therefore it's at least GSM/UMTS.
> 
> Could you test the attached patch?
> 

Yes, that solves it (for me).
mmcli reports:

/org/freedesktop/ModemManager1/Modem/0 (device id 'cc6e48875320c884e134430eb4b70f5996cec2a4')
  -------------------------
  Hardware |   manufacturer: 'Cinterion'
           |          model: 'EHS5-E'
           |       revision: 'REVISION 03.001'
           |   H/W revision: 'unknown'
           |      supported: 'gsm-umts'
           |        current: 'gsm-umts'
           |   equipment id: '357676767676767'
  -------------------------
  System   |         device: 'LinMux'
           |        drivers: 'linmux'
           |         plugin: 'Cinterion'
           |   primary port: 'ttyMux1'
           |          ports: 'ttyMux0 (at), ttyMux1 (at)'
  -------------------------
  Numbers  |           own : 'unknown'
  -------------------------
  Status   |           lock: 'unknown'
           | unlock retries: 'unknown'
           |          state: 'failed'
           |  failed reason: 'sim-missing'
           |    power state: 'on'
           |    access tech: 'unknown'
           | signal quality: '0' (cached)
  -------------------------
  Modes    |      supported: 'allowed: any; preferred: none'
           |        current: 'allowed: any; preferred: none'
  -------------------------
  Bands    |      supported: 'egsm, dcs, utran-1, utran-8'
           |        current: 'unknown'
  -------------------------
  IP       |      supported: 'none'
  -------------------------
  SIM      |           path: 'none'

  -------------------------
  Bearers  |          paths: 'none'


More information about the ModemManager-devel mailing list