Project FIN & Simcom SIM7600E modem


#1

Hey guys,

I have a prototype FIN board running at my office, and the Simcom SIM7100E modem works out of the box.

I am now trying to switch it for a SIM7600E modem due to costs. The modem is recognised by ModemManager but stays in “connecting” state. Any reason why this shouldn’t work?

Gr, Frans


#2

Hey @FransvanHoogstraten - the fact that the modem is recognised by NM means that HW wise, we already validated the support. Now on the software, what base image are you using in your Dockerfile?


#3

FROM resin/%%RESIN_MACHINE_NAME%%-python:2.7-20170719

For raspi3


#4

Can you please try to add the following env var declaration in your Dockerfile, and reboout the device after it has pulled the update?

ENV UDEV=off

#5

Yes, I tried it and it does not change the behaviour.

Wouldn’t MM of NM logs help here? How do I get to those again?


#6

These 4 command outputs will be useful for debugging, all of them to be ran from the host (you can access a host shell from your device resin.io dashboard):

List all the Modem Manager handled interfaces:

mmcli -L

Show details about main modem (usually it is 0, some modems are enumerated as 1)

mmcli -m 0

Show all the Network Manager profiles loaded (helps understanding if the cellular profile is valid and loaded)

nmcli c

Also, let’s see how the modem is loaded from the USB PoV

lsusb

#7

mmcli -L output:

Found 1 modems:
        /org/freedesktop/ModemManager1/Modem/0 [SIMCOM INCORPORATED] SIMCOM_SIM7600E-H

mmcli -m 0 output:

/org/freedesktop/ModemManager1/Modem/0 (device id '39b77b6ac448f59e4ccc7e715115c7c95feb29e3')
  -------------------------
  Hardware |   manufacturer: 'SIMCOM INCORPORATED'
           |          model: 'SIMCOM_SIM7600E-H'
           |       revision: 'LE11B08SIM7600M22'
           |   H/W revision: 'unknown'
           |      supported: 'gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '867584030114974'
  -------------------------
  System   |         device: '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2'
           |        drivers: 'option1, qmi_wwan'
           |         plugin: 'SimTech'
           |   primary port: 'ttyUSB5'
           |          ports: 'ttyUSB3 (qcdm), wwan0 (net), ttyUSB5 (at), ttyUSB6 (at)'
  -------------------------
  Numbers  |           own : 'unknown'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
           |          state: 'connecting'
           |    power state: 'on'
           |    access tech: 'unknown'
           | signal quality: '60' (cached)
  -------------------------
  Modes    |      supported: 'allowed: 2g; preferred: none
           |                  allowed: 3g; preferred: none
           |                  allowed: 2g, 3g; preferred: none
           |                  allowed: 2g, 3g; preferred: 2g
           |                  allowed: 2g, 3g; preferred: 3g
           |                  allowed: 2g, 3g, 4g; preferred: none'
           |        current: 'allowed: any; preferred: none'
  -------------------------
  Bands    |      supported: 'unknown'
           |        current: 'unknown'
  -------------------------
  IP       |      supported: 'ipv4, ipv6, ipv4v6'
  -------------------------
  3GPP     |           imei: '867584030114974'
           |  enabled locks: 'none'
           |    operator id: '20408'
           |  operator name: 'NL KPN KPN'
           |   subscription: 'unknown'
           |   registration: 'home'
           |    EPS UE mode: 'csps-2'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

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

nmcli c output:

KPN                 d811a35a-70fc-3716-84e1-a3578d10cc1e  gsm       ttyUSB5
Wired connection 1  50b16666-4008-3bfd-ab14-0f202999f43c  ethernet  eth0
resin-dns           b38041a6-c11c-4f95-aa2f-0e1673217030  bridge    resin-dns
supervisor0         4768b532-3b27-4fa4-a4cf-bf91aa430332  bridge    supervisor0

lsusb output:

Bus 001 Device 004: ID 1e0e:9001 Qualcomm / Option
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 005: ID 0403:6010 Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Thanks for helping!

BR, Frans


#8

If you are interested, I can also just give you access to the device…