Fwd: libqmi troubleshooting

franco papalardo franco.papalardo at iquall.net
Mon Jan 29 15:58:14 UTC 2018


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:

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
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180129/c587fc53/attachment.html>


More information about the libqmi-devel mailing list