Fwd: libqmi troubleshooting
franco papalardo
franco.papalardo at iquall.net
Mon Jan 29 17:38:42 UTC 2018
qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
[/dev/cdc-wdm0] Successfully got serving system:
Registration state: 'not-registered'
CS: 'detached'
PS: 'detached'
Selected network: 'unknown'
Radio interfaces: '1'
[0]: 'none'
Data service capabilities: '0'
Detailed status:
Status: 'power-save'
Capability: 'none'
HDR Status: 'none'
HDR Hybrid: 'no'
Forbidden: 'no'
qmicli -d /dev/cdc-wdm0 --nas-get-system-info
[/dev/cdc-wdm0] Successfully got system info:
GSM service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
WCDMA service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
LTE service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
SIM reject info: 'unavailable'
qmicli -d /dev/cdc-wdm0 --nas-network-scan
[/dev/cdc-wdm0] Successfully scanned networks
Network [0]:
MCC: '722'
MNC: '310'
Status: 'available, home, not-forbidden, preferred'
Description: 'CLARO AR'
Network [1]:
MCC: '722'
MNC: '310'
Status: 'available, home, not-forbidden, preferred'
Description: 'CLARO AR'
Network [2]:
MCC: '722'
MNC: '7'
Status: 'available, roaming, not-forbidden, not-preferred'
Description: 'Movistar'
Network [3]:
MCC: '722'
MNC: '34'
Status: 'available, roaming, not-forbidden, not-preferred'
Description: 'AR TP'
Network [4]:
MCC: '722'
MNC: '34'
Status: 'available, roaming, not-forbidden, not-preferred'
Description: 'AR TP'
Network [0]:
MCC: '722'
MNC: '310'
RAT: 'lte'
Network [1]:
MCC: '722'
MNC: '310'
RAT: 'gsm'
Network [2]:
MCC: '722'
MNC: '7'
RAT: 'lte'
Network [3]:
MCC: '722'
MNC: '34'
RAT: 'lte'
Network [4]:
MCC: '722'
MNC: '34'
RAT: 'gsm'
Network [0]:
MCC: '722'
MNC: '310'
MCC with PCS digit: 'yes'
Network [1]:
MCC: '722'
MNC: '310'
MCC with PCS digit: 'yes'
Network [2]:
MCC: '722'
MNC: '7'
MCC with PCS digit: 'no'
Network [3]:
MCC: '722'
MNC: '34'
MCC with PCS digit: 'no'
Network [4]:
MCC: '722'
MNC: '34'
MCC with PCS digit: 'no'
Here also,
qmicli -d /dev/cdc-wdm0 --nas-get-home-network
[/dev/cdc-wdm0] Successfully got home network:
Home network:
MCC: '722'
MNC: '310'
Description: 'CLARO AR'
qmicli -d /dev/cdc-wdm0 --nas-get-system-info
[/dev/cdc-wdm0] Successfully got system info:
GSM service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
WCDMA service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
LTE service:
Status: 'none'
True Status: 'none'
Preferred data path: 'no'
SIM reject info: 'unavailable'
2018-01-29 14:37 GMT-03:00 franco papalardo <franco.papalardo at iquall.net>:
> qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
> [/dev/cdc-wdm0] Successfully got serving system:
> Registration state: 'not-registered'
> CS: 'detached'
> PS: 'detached'
> Selected network: 'unknown'
> Radio interfaces: '1'
> [0]: 'none'
> Data service capabilities: '0'
> Detailed status:
> Status: 'power-save'
> Capability: 'none'
> HDR Status: 'none'
> HDR Hybrid: 'no'
> Forbidden: 'no'
>
> qmicli -d /dev/cdc-wdm0 --nas-get-system-info
> [/dev/cdc-wdm0] Successfully got system info:
> GSM service:
> Status: 'none'
> True Status: 'none'
> Preferred data path: 'no'
> WCDMA service:
> Status: 'none'
> True Status: 'none'
> Preferred data path: 'no'
> LTE service:
> Status: 'none'
> True Status: 'none'
> Preferred data path: 'no'
> SIM reject info: 'unavailable'
>
>
>
> qmicli -d /dev/cdc-wdm0 --nas-network-scan
> [/dev/cdc-wdm0] Successfully scanned networks
> Network [0]:
> MCC: '722'
> MNC: '310'
> Status: 'available, home, not-forbidden, preferred'
> Description: 'CLARO AR'
> Network [1]:
> MCC: '722'
> MNC: '310'
> Status: 'available, home, not-forbidden, preferred'
> Description: 'CLARO AR'
> Network [2]:
> MCC: '722'
> MNC: '7'
> Status: 'available, roaming, not-forbidden, not-preferred'
> Description: 'Movistar'
> Network [3]:
> MCC: '722'
> MNC: '34'
> Status: 'available, roaming, not-forbidden, not-preferred'
> Description: 'AR TP'
> Network [4]:
> MCC: '722'
> MNC: '34'
> Status: 'available, roaming, not-forbidden, not-preferred'
> Description: 'AR TP'
> Network [0]:
> MCC: '722'
> MNC: '310'
> RAT: 'lte'
> Network [1]:
> MCC: '722'
> MNC: '310'
> RAT: 'gsm'
> Network [2]:
> MCC: '722'
> MNC: '7'
> RAT: 'lte'
> Network [3]:
> MCC: '722'
> MNC: '34'
> RAT: 'lte'
> Network [4]:
> MCC: '722'
> MNC: '34'
> RAT: 'gsm'
> Network [0]:
> MCC: '722'
> MNC: '310'
> MCC with PCS digit: 'yes'
> Network [1]:
> MCC: '722'
> MNC: '310'
> MCC with PCS digit: 'yes'
> Network [2]:
> MCC: '722'
> MNC: '7'
> MCC with PCS digit: 'no'
> Network [3]:
> MCC: '722'
> MNC: '34'
> MCC with PCS digit: 'no'
> Network [4]:
> MCC: '722'
> MNC: '34'
> MCC with PCS digit: 'no'
>
> 2018-01-29 14:32 GMT-03:00 Dan Williams <dcbw at redhat.com>:
>
>> On Mon, 2018-01-29 at 12:58 -0300, franco papalardo wrote:
>> > Hello
>> >
>> > I'm working in mobile broadband for linux mini PC,
>> >
>> > My issue here I don't know if it's hardware issue, SIM issue or there
>> > is
>> > something that I'm not doing right now.
>> >
>> > I have a Sierra AirPrime MC7710, also a SIM reader integrated in the
>> > motherboard, the system is reading the SIM and also the 3G adapter,
>> > here is
>> > some data:
>>
>> Looks like the modem is not registered with any provider. Can you grab
>> the output of:
>>
>> qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
>> qmicli -d /dev/cdc-wdm0 --nas-get-system-info
>> qmicli -d /dev/cdc-wdm0 --nas-network-scan
>>
>> Dan
>>
>> > qmicli -d /dev/cdc-wdm0 --wda-get-data-format
>> > [/dev/cdc-wdm0] Successfully got data format
>> > QoS flow header: no
>> > Link layer protocol: 'raw-ip'
>> > Uplink data aggregation protocol: 'disabled'
>> > Downlink data aggregation protocol: 'disabled'
>> > NDP signature: '0'
>> > Uplink data aggregation max size: '0'
>> > Downlink data aggregation max size: '0'
>> >
>> > qmicli -d /dev/cdc-wdm0 --uim-get-card-status
>> > [/dev/cdc-wdm0] Successfully got card status
>> > Provisioning applications:
>> > Primary GW: slot '0', application '0'
>> > Primary 1X: session doesn't exist
>> > Secondary GW: session doesn't exist
>> > Secondary 1X: session doesn't exist
>> > Card [0]:
>> > Card state: 'present'
>> > UPIN state: 'not-initialized'
>> > UPIN retries: '0'
>> > UPUK retries: '0'
>> > Application [0]:
>> > Application type: 'usim (2)'
>> > Application state: 'ready'
>> > Application ID:
>> > A0:00:00:00:87:10:02:FF:54:F0:01:89:00:00:01:FF
>> > Personalization state: 'ready'
>> > UPIN replaces PIN1: 'no'
>> > PIN1 state: 'disabled'
>> > PIN1 retries: '5'
>> > PUK1 retries: '10'
>> > PIN2 state: 'enabled-not-verified'
>> > PIN2 retries: '3'
>> > PUK2 retries: '10'
>> > Application [1]:
>> > Application type: 'unknown (0)'
>> > Application state: 'detected'
>> > Application ID:
>> > A0:00:00:00:87:10:04:FF:54:F0:01:89:00:00:01:FF
>> > Personalization state: 'unknown'
>> > UPIN replaces PIN1: 'no'
>> > PIN1 state: 'not-initialized'
>> > PIN1 retries: '0'
>> > PUK1 retries: '0'
>> > PIN2 state: 'not-initialized'
>> > PIN2 retries: '0'
>> > PUK2 retries: '0'
>> >
>> >
>> > lsusb
>> > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> > Bus 001 Device 005: ID 17ef:602d Lenovo
>> > Bus 001 Device 004: ID 1199:68a2 Sierra Wireless, Inc.
>> > Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp.
>> > RT2870/RT3070
>> > Wireless Adapter
>> > Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port
>> > HUB
>> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> >
>> >
>> > cat /etc/qmi-network.conf
>> > APN=surfo2
>> >
>> > qmicli -d /dev/cdc-wdm0 --wds-get-default-settings=3gpp
>> > Default settings retrieved:
>> > APN: 'surfo2'
>> > PDP type: 'ipv4'
>> > Username: ''
>> > Password: ''
>> > Auth: 'none'
>> >
>> > qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength
>> > [/dev/cdc-wdm0] Successfully got signal strength
>> > Current:
>> > Network 'none': '-128 dBm'
>> > RSSI:
>> > Network 'none': '-128 dBm'
>> > ECIO:
>> > Network 'none': '-2.5 dBm'
>> > IO: '-106 dBm'
>> > SINR: (8) '9.0 dB'
>> >
>> >
>> > qmicli -d /dev/cdc-wdm0 --nas-get-system-selection-preference
>> > [/dev/cdc-wdm0] Successfully got system selection preference
>> > Emergency mode: 'no'
>> > Mode preference: 'lte'
>> > Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary,
>> > gsm-pcs-1900, wcdma-2100, wcdma-900'
>> > LTE band preference: '1, 3, 7, 8, 20'
>> > Roaming preference: 'any'
>> > Network selection preference: 'automatic'
>> > Service domain preference: 'cs-ps'
>> > Service selection preference: 'automatic'
>> >
>> >
>> > Those are a couple of outputs if you need something special let me
>> > know.
>> > I can get my device to connect to the apn. The output is:
>> >
>> > qmi-network /dev/cdc-wdm0 start
>> > Loading profile...
>> > APN: surfo2
>> > Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-
>> > network=surfo2
>> > --client-no-release-cid'...
>> > error: couldn't start network: QMI protocol error (14): 'CallFailed'
>> > call end reason (3): generic-no-service
>> > verbose call end reason (3,2001): [cm] no-service
>> > Saving state... (CID: 20)
>> > error: network start failed, no packet data handle
>> > Clearing state...
>> >
>> >
>> > I have been searching for like 2 weeks with no results
>> >
>> > I appreciate if you can help me.
>> >
>> > Regards,
>> > Franco
>> > --
>> > _______________________________________________
>> > libqmi-devel mailing list
>> > libqmi-devel at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>>
>
>
>
> --
> --
>
>
> *Franco PapalardoMAIL franco.papalardo at iquall.net
> <franco.papalardo at iquall.net>*
>
> *SKYPE franco.papalardo at iquall.net <franco.papalardo at iquall.net>CEL
> +54.9.11.2172.6119*
> *Av. Honorio Pueyrredón 1475 C.A.B.A. República Argentina*
>
--
--
*Franco PapalardoMAIL franco.papalardo at iquall.net
<franco.papalardo at iquall.net>*
*SKYPE franco.papalardo at iquall.net <franco.papalardo at iquall.net>CEL
+54.9.11.2172.6119*
*Av. Honorio Pueyrredón 1475 C.A.B.A. República Argentina*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180129/668c115c/attachment-0001.html>
More information about the libqmi-devel
mailing list