koshev-msk / modemfeed

Other
107 stars 63 forks source link

Sierra Wireless EM9191 question #30

Open rdmitry0911 opened 7 months ago

rdmitry0911 commented 7 months ago

Hi, I'm trying to get modeminfo to work with Sierra Wireless EM9191 I can see partial information on Network tab and nothing in Hardware tab (see attached) however, with mmcli I can get everything.

root@OpenWrt:~# mmcli -m 0
  -----------------------------------
  General   |                   path: /org/freedesktop/ModemManager1/Modem/0
            |              device id: bbf336843ed59656d2f2858d292b624d3e5d3882
  -----------------------------------
  Hardware  |           manufacturer: Sierra Wireless, Incorporated
            |                  model: Sierra Wireless EM9191
            |      firmware revision: 03.10.07.00_GENERIC
            |         carrier config: default
            |           h/w revision: EM9191
            |              supported: gsm-umts, lte, 5gnr
            |                current: gsm-umts, lte, 5gnr
            |           equipment id: 35XXXXXXXXXXX
  -----------------------------------
  System    |                 device: /sys/devices/platform/1e1c0000.xhci/usb2/2-1/2-1.3
            |                drivers: cdc_mbim, option1
            |                 plugin: sierra
            |           primary port: cdc-wdm0
            |                  ports: cdc-wdm0 (mbim), ttyUSB0 (at), wwan0 (net)
  -----------------------------------
  Numbers   |                    own: +30XXXXXXXXXX
  -----------------------------------
  Status    |                   lock: sim-pin2
            |         unlock retries: sim-pin2 (3)
            |                  state: connected
            |            power state: on
            |            access tech: lte, 5gnr
            |         signal quality: 16% (cached)
  -----------------------------------
  Modes     |              supported: allowed: 3g; preferred: none
            |                         allowed: 4g; preferred: none
            |                         allowed: 3g, 4g; preferred: 4g
            |                         allowed: 3g, 4g; preferred: 3g
            |                         allowed: 5g; preferred: none
            |                         allowed: 4g, 5g; preferred: 5g
            |                         allowed: 4g, 5g; preferred: 4g
            |                         allowed: 3g, 5g; preferred: 5g
            |                         allowed: 3g, 5g; preferred: 3g
            |                         allowed: 3g, 4g, 5g; preferred: 5g
            |                         allowed: 3g, 4g, 5g; preferred: 4g
            |                         allowed: 3g, 4g, 5g; preferred: 3g
            |                current: allowed: 4g, 5g; preferred: 5g
  -----------------------------------
  Bands     |              supported: utran-1, utran-3, utran-4, utran-6, utran-5, utran-8, 
            |                         utran-9, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, 
            |                         eutran-7, eutran-8, eutran-12, eutran-13, eutran-14, eutran-17, 
            |                         eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28, 
            |                         eutran-29, eutran-30, eutran-32, eutran-34, eutran-38, eutran-39, 
            |                         eutran-40, eutran-41, eutran-42, eutran-46, eutran-48, eutran-66, 
            |                         eutran-71, utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-28, 
            |                         ngran-41, ngran-66, ngran-71, ngran-77, ngran-78, ngran-79
            |                current: utran-1, utran-3, utran-4, utran-6, utran-5, utran-8, 
            |                         utran-9, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, 
            |                         eutran-7, eutran-8, eutran-12, eutran-13, eutran-14, eutran-17, 
            |                         eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28, 
            |                         eutran-29, eutran-30, eutran-32, eutran-34, eutran-38, eutran-39, 
            |                         eutran-40, eutran-41, eutran-42, eutran-46, eutran-48, eutran-66, 
            |                         eutran-71, utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-28, 
            |                         ngran-41, ngran-66, ngran-71, ngran-77, ngran-78, ngran-79
  -----------------------------------
  IP        |              supported: ipv4, ipv6, ipv4v6
  -----------------------------------
  3GPP      |                   imei: 35XXXXXXXXXXX
            |          enabled locks: fixed-dialing
            |            operator id: 20201
            |          operator name: COSMOTE
            |           registration: home
            |   packet service state: attached
  -----------------------------------
  3GPP EPS  |   ue mode of operation: csps-2
            |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/4
            |     initial bearer apn: internet
            | initial bearer ip type: ipv4v6
  -----------------------------------
  3GPP 5GNR |              mico mode: unsupported
            |              drx cycle: unsupported
  -----------------------------------
  SIM       |       primary sim path: /org/freedesktop/ModemManager1/SIM/0
            |         sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/0 (active)
  -----------------------------------
  Bearer    |                  paths: /org/freedesktop/ModemManager1/Bearer/5

root@OpenWrt:~# mmcli -m 0 --signal-get
  ------------------------------
  Signal |         refresh rate: 5 seconds
         |       rssi threshold: 0 dBm
         | error rate threshold: no
  ------------------------------
  LTE    |                 rssi: -71.00 dBm
         |                 rsrq: -14.00 dB
         |                 rsrp: -105.00 dBm
         |                  s/n: 10.00 dB
root@OpenWrt:~# mmcli -m 0 --get-cell-info
  ------------------
  Cell info | cells: 
            |        cell type: lte, serving: no, physical ci: 20, rsrp: -104.000000, rsrq: -10.000000
            |        cell type: lte, serving: no, physical ci: 20, rsrp: -104.000000, rsrq: -10.000000
            |        cell type: lte, serving: no, physical ci: 20, rsrp: -104.000000, rsrq: -10.000000
            |        cell type: lte, serving: yes, operator id: 20201, tac: 11D1, ci: 19E4A2B, physical ci: 20, earfcn: 500, rsrp: -104.000000, rsrq: -10.000000

What how to fix this?

Thank you, Dmitry

Screenshot 2024-04-30 at 3 46 44 PM Screenshot 2024-04-30 at 3 46 14 PM Screenshot 2024-04-30 at 3 34 48 PM
koshev-msk commented 4 months ago

EM9191 not support currently yet. Unknown output format at commands syntax. You may attached log from next command

atinout /usr/share/modeminfo/scripts/SIERRA.at /dev/ttyUSB0 /tmp/em9191.log

Maybe needed additional info.