Sim Card Status

Dan Williams dcbw at redhat.com
Tue Feb 6 15:53:24 UTC 2018


On Mon, 2018-02-05 at 15:57 +0000, Ray Kinsella wrote:
> Hi folks,
> 
> I previously build a homebrew LTE router using
> 
>   * Intel Galileo Generation 1
>   * Hauwei ME906e M2M LTE Modem
>   * M2 to mPCIe Convertor
> 
> ( http://mdr78.github.io/lte/router/2016/05/28/lte-modem-part-one.htm
> l )
> 
> I recently was sent a new x86 based board to try, its a more purpose 
> build routerboard compared to the Intel Galileo. The new routerboard 
> features a simcard slot on the board itself, the older homebrew LTE 
> router had it on the M2 to mPCIe Convertor.
> 
> I am suspicious that the Simcard slot isn't working, or at least the
> Sim 
> Card doesn't like the new slot. When I query its status I get the 
> following output.
> 
> root at ashroe-gw:~# qmicli -d /dev/cdc-wdm0 --uim-get-card-status
> [/dev/cdc-wdm0] Successfully got card status
> Provisioning applications:
>          Primary GW:   session doesn't exist
>          Primary 1X:   session doesn't exist
>          Secondary GW: session doesn't exist
>          Secondary 1X: session doesn't exist
> Card [0]:
>          Card state: 'error: no-atr-received (3)

This is the problem, I believe.  The "ATR" is Answer To Reset, eg:

https://www.eftlab.com/index.php/site-map/our-articles/169-demystifying
-atr-answer-to-reset

That means that the WWAN card is sending the SIM a RESET request and is
not receiving a response or the correct response from the SIM card. 
Something is definitely wrong between the WWAN card and the SIM slot.

Dan

>          UPIN state: 'not-initialized'
>                  UPIN retries: '0'
>                  UPUK retries: '0'
> 
> Full debug is available here, https://pastebin.com/4a80VW2y.
> 
> Similarly trying to start the network similarly fails.
> 
> root at ashroe-gw:~# qmicli -d /dev/cdc-wdm0 
> --wds-start-network=apn='3ireland.ie'
> error: couldn't start network: QMI protocol error (64): '(null)'
> 
> Full debug is available here, https://pastebin.com/wX73sYGG.
> 
> Any thoughts on how I confirm the Simcard is the problem?
> 
> Ray K
> _______________________________________________
> 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