Hello list,
I've been playing with the sysmoQMOD board and I find that more often
than not the remsim-client justs sits there waiting for something [1]
when I list the modem using ofono/test/list-modem [2] it shows that
there is no SIM present. I've tried a Telit modem and a Sierra Wireless
modem and both do the same thing.
Sometimes it works but more often than not it justs sits there.
I've tried using the 'uhubctl' tool to power cycle the modem but this
has no effect on the st2 client. It deletes the modem instance and
cretes a new one in ofono.
Anyone have any suggestion of what I can try to trigger the modem to do
something?
Or how I can get some debug info from the card?
Thanks
Alan
---------------------------------
[1]
sudo ./osmo-remsim-client-st2 -V 0x1d50 -P 0x4004 -c 0 -C 1 -I 0 -H 1-6.1
simtrace2-remsim-client - Remote SIM card client for SIMtrace
(C) 2010-2017, Harald Welte <laforge(a)gnumonks.org>
(C) 2018, sysmocom -s.f.m.c. GmbH, Author: Kevin Redon <kredon(a)sysmocom.de>
<0000> fsm.c:299 RSPRO_CLIENT(server)[0x564613030760]{INIT}: Allocated
<0000> fsm.c:299 BANKD_CONN(bankd)[0x5646130317c0]{INIT}: Allocated
SIMtrace <- 01 05 00 00 00 00 09 00 01
SIMtrace <- 02 02 00 00 00 00 09 00 01
SIMtrace <= cardem_request_set_atr(3b 00 )
SIMtrace <- 01 02 00 00 00 00 0b 00 02 3b 00
SIMtrace <- 02 01 00 00 00 00 0b 00 02 2c 01
Entering main loop
<0003> input/ipa.c:128 127.0.0.1:9998 connection done
<0000> rspro_client_fsm.c:105
RSPRO_CLIENT(server)[0x564613030760]{INIT}: RSPRO link to 127.0.0.1:9998 UP
<0000> rspro_client_fsm.c:107
RSPRO_CLIENT(server)[0x564613030760]{INIT}: Received Event SRVC_E_TCP_UP
<0000> rspro_client_fsm.c:210
RSPRO_CLIENT(server)[0x564613030760]{INIT}: state_chg to ESTABLISHED
<0000> rspro_client_fsm.c:78
RSPRO_CLIENT(server)[0x564613030760]{ESTABLISHED}: Tx RSPRO connectClientReq
<0000> rspro_client_fsm.c:141
RSPRO_CLIENT(server)[0x564613030760]{ESTABLISHED}: Received RSPRO [L1]>
00 40 ee 07 [L2]> 30 3d 80 01 02 81 02 09 26 a2 34 a3 32 30 2d 0a 01 01
16 0a 66 69 78 6d 65 2d 6e 61 6d 65 80 0d 72 65 6d 73 69 6d 2d 73 65 72
76 65 72 81 0d 30 2e 31 2e 30 2e 31 32 2d 66 30 31 38 0a 01 00
<0000> simtrace2-remsim_client.c:669
RSPRO_CLIENT(server)[0x564613030760]{ESTABLISHED}: Received Event
SRVC_E_CLIENT_CONN_RES
<0000> rspro_client_fsm.c:254
RSPRO_CLIENT(server)[0x564613030760]{ESTABLISHED}: state_chg to CONNECTED
<0000> rspro_client_fsm.c:141
RSPRO_CLIENT(server)[0x564613030760]{CONNECTED}: Received RSPRO [L1]> 00
21 ee 07 [L2]> 30 1e 80 01 02 81 01 00 a2 16 b1 14 30 06 02 01 01 02 01
00 30 0a 80 04 7f 00 00 01 02 02 27 0f
<0000> simtrace2-remsim_client.c:687
BANKD_CONN(bankd)[0x5646130317c0]{INIT}: Received Event BDC_E_ESTABLISH
<0000> bankd_client_fsm.c:195 BANKD_CONN(bankd)[0x5646130317c0]{INIT}:
state_chg to REESTABLISH
<0000> bankd_client_fsm.c:159
BANKD_CONN(bankd)[0x5646130317c0]{REESTABLISH}: Creating TCP connection
to bankd at 127.0.0.1:9999
<0000> rspro_client_fsm.c:78
RSPRO_CLIENT(server)[0x564613030760]{CONNECTED}: Tx RSPRO
configClientBankRes
<0003> input/ipa.c:128 127.0.0.1:9999 connection done
RSPRO link to 127.0.0.1:9999 UP
<0000> bankd_client_fsm.c:47
BANKD_CONN(bankd)[0x5646130317c0]{REESTABLISH}: Received Event BDC_E_TCP_UP
<0000> bankd_client_fsm.c:181
BANKD_CONN(bankd)[0x5646130317c0]{REESTABLISH}: state_chg to ESTABLISHED
<0000> simtrace2-remsim_client.c:649
BANKD_CONN(bankd)[0x5646130317c0]{ESTABLISHED}: Received RSPRO [L1]> 00
45 ee 07 [L2]> 30 42 80 01 02 81 02 09 26 a2 39 a3 37 30 32 0a 01 02 16
0a 66 69 78 6d 65 2d 6e 61 6d 65 80 0c 72 65 6d 73 69 6d 2d 62 61 6e 6b
64 81 13 30 2e 31 2e 30 2e 31 32 2d 66 30 31 38 2d 64 69 72 74 79 0a 01 00
<0000> simtrace2-remsim_client.c:613
BANKD_CONN(bankd)[0x5646130317c0]{ESTABLISHED}: Received Event
BDC_E_CLIENT_CONN_RES
<0000> bankd_client_fsm.c:122
BANKD_CONN(bankd)[0x5646130317c0]{ESTABLISHED}: state_chg to CONNECTED
<0000> simtrace2-remsim_client.c:649
BANKD_CONN(bankd)[0x5646130317c0]{CONNECTED}: Received RSPRO [L1]> 00 2c
ee 07 [L2]> 30 29 80 01 02 81 01 00 a2 21 aa 1f 30 06 02 01 00 02 01 00
04 15 3b 9e 96 80 1f c7 80 31 e0 73 fe 21 1b 66 d0 02 17 8d 11 00 89
SIMtrace <= cardem_request_set_atr(3b 9e 96 80 1f c7 80 31 e0 73 fe 21
1b 66 d0 02 17 8d 11 00 89 )
SIMtrace <- 01 02 00 00 00 00 1e 00 15 3b 9e 96 80 1f c7 80 31 e0 73 fe
21 1b 66 d0 02 17 8d 11 00 89
<0000> bankd_client_fsm.c:58
BANKD_CONN(bankd)[0x5646130317c0]{CONNECTED}: Received Event BDC_E_RSPRO_TX
--------------------------
[2]
~/ofono/test/list-modems
[ /sierra_15 ]
Powered = 1
Interfaces = org.ofono.SimManager org.ofono.LocationReporting
org.ofono.VoiceCallManager
Model = MC7304
Revision = SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04
21:30:23
Manufacturer = Sierra Wireless, Incorporated
Serial = 356853054058773
Online = 0
SystemPath = /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2
Features = sim gps
Type = hardware
Emergency = 0
Lockdown = 0
[ org.ofono.SimManager ]
Present = 0
[ org.ofono.LocationReporting ]
Enabled = 0
Type = nmea
[ org.ofono.VoiceCallManager ]
EmergencyNumbers = 08 000 999 110 112 911 118 119
--------------------------------