Unable to retrieve "Own Number"

Aleksander Morgado aleksander at aleksander.es
Wed Jun 12 04:35:52 UTC 2019


Hey,

> I have a number of Quectel EC25s with T-Mobile sims.  I'm using the
> debian versions of the following:
>
> modemmanager 1.10.0-1
> libqmi 1.22.0-1.2
>
> I'm on a stock debian kernel 4.19.0.5-amd64
>
> I can send and receive SMS messages and connect to the internet. Here's
> my mmcli (with the imei occluded)
>
>   mmcli -m 0
>    --------------------------------
>    General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0
>             |            device id: 214b03278af7e2ba2e9020ee8245083e2662874c
>    --------------------------------
>    Hardware |         manufacturer: QUALCOMM INCORPORATED
>             |                model: QUECTEL Mobile Broadband Module
>             |             revision: EC25AFAR05A04M4G
>             |         h/w revision: 10000
>             |            supported: gsm-umts, lte
>             |              current: gsm-umts, lte
>             |         equipment id: 861107038510906
>    --------------------------------
>    System   |               device:
> /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.1/1-1.1.4
>             |              drivers: qmi_wwan, option1
>             |               plugin: Quectel
>             |         primary port: cdc-wdm0
>             |                ports: wwp0s29u1u1u4i4 (net), ttyUSB1
> (qcdm), ttyUSB3 (at),
>             |                       ttyUSB4 (at), cdc-wdm0 (qmi)
>    --------------------------------
>    Status   |                 lock: sim-pin2
>             |       unlock retries: sim-pin (3), sim-pin2 (10), sim-puk
> (10), sim-puk2 (10)
>             |                state: connected
>             |          power state: on
>             |          access tech: lte
>             |       signal quality: 63% (cached)
>    --------------------------------
>    Modes    |            supported: allowed: 3g; preferred: none
>             |                       allowed: 4g; preferred: none
>             |                       allowed: 3g, 4g; preferred: 3g
>             |                       allowed: 3g, 4g; preferred: 4g
>             |              current: allowed: 3g, 4g; preferred: 4g
>    --------------------------------
>    Bands    |            supported: utran-4, utran-5, utran-2, eutran-2,
> eutran-4, eutran-12
>             |              current: utran-4, utran-5, utran-2, eutran-2,
> eutran-4, eutran-12
>    --------------------------------
>    IP       |            supported: ipv4, ipv6, ipv4v6
>    --------------------------------
>    3GPP     |                 imei: 86***6
>             |          operator id: 310260
>             |         registration: home
>    --------------------------------
>    3GPP EPS | ue mode of operation: csps-1
>    --------------------------------
>    SIM      |            dbus path: /org/freedesktop/ModemManager1/SIM/0
>    --------------------------------
>    Bearer   |            dbus path: /org/freedesktop/ModemManager1/Bearer/0
>
> there's no "Own Numbers" line.
>
> Using d-feet, I've tried to navigate to the property over dbus and its
> value is empty.
>
> On most of the SIMS there's a "welcome to T-Mobile" sms that comes in
> which makes me think its active and ready to go - especially since I can
> get online and transit SMSs over it.
>
> My /var/log/daemon.log thinks otherwise. Here's the important part, I think
>
> Jun 11 15:14:45 bernays-1B2M2Y8AsgTpgAmY7PhCfg ModemManager[485]:
> <warn>  Unhandled QMI radio interface (9)
> Jun 11 15:14:45 bernays-1B2M2Y8AsgTpgAmY7PhCfg ModemManager[485]:
> <warn>  Unhandled QMI radio interface (9)
> Jun 11 15:14:45 bernays-1B2M2Y8AsgTpgAmY7PhCfg ModemManager[485]:
> <warn>  Unhandled QMI radio interface (9)
> Jun 11 15:14:45 bernays-1B2M2Y8AsgTpgAmY7PhCfg ModemManager[485]:
> <warn>  couldn't load list of Own Numbers: 'Couldn't get MSISDN: QMI
> protocol error (16): 'NotProvisioned''
>

This is very very very very common in multiple operators around the
world. Your SIM card doesn't have the phone number programmed in it,
but that does not mean the SIM card is not initialized. It's just that
it doesn't store your own phone number.

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list