Fwd: libqmi troubleshooting
Dan Williams
dcbw at redhat.com
Mon Jan 29 17:32:03 UTC 2018
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
More information about the libqmi-devel
mailing list