<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello list,</p>
    I seem to be hitting a strange problem trying to use a sysmoQMOD
    with Ofono and a Telit Modem (HE910)<br>
    There seems to be a window of around 30 seconds after starting
    osmo-remsim-client-st2 whereby ofono cannot talk to the modem. <br>
    There is no response to any AT commands on either the Modem or the
    Aux port.<br>
    After about 30 to 40 secs AT commands start working again and I can
    enable the modem.<br>
    It seems that switching from physical SIM to remote SIM causes the
    modem to lock-up for a while.<br>
    Anyone else seeing a similar issue?<br>
    <p>I've upgraded the firmware to the latest (0.5.1.24-bb9b0) but it
      make no difference.</p>
    <p>Regards</p>
    <p>Alan<br>
    </p>
    <p>Here is a debug log of the firmware with my notes:</p>
    <tt>....</tt><br>
    <b><tt>Power on board</tt></b><br>
    <tt>....</tt><br>
    <p><tt>=============================================================================</tt><tt><br>
      </tt><tt>SIMtrace2 firmware 0.5.1.24-bb9b0 (C) 2010-2016 by Harald
        Welte</tt><tt><br>
      </tt><tt>=============================================================================</tt><tt><br>
      </tt><tt>-I- Chip ID: 0x28900960 (Ext 0x00000000)</tt><tt><br>
      </tt><tt>-I- Serial Nr. 51203120-39513450-32303031-32333037</tt><tt><br>
      </tt><tt>-I- Reset Cause: general reset (first power-up reset)</tt><tt><br>
      </tt><tt>-I- Detected Quad-Modem ST12</tt><tt><br>
      </tt><tt>-I- VERSION_DET ADC=3731 => 3003455 uVund</tt><tt><br>
      </tt><tt>-I- USB init...</tt><tt><br>
      </tt><tt>USBD_Init</tt><tt><br>
      </tt><tt>Std gDesc Dev Std sAddr SetAddr(16) Std gDesc Dev Std
        gDesc Qua -W- Sta 0x888A8.</tt><tt><br>
      </tt><tt>-I- calling init of config 1...</tt><tt><br>
      </tt><tt>-I- 536881924: CLK activateda work-around</tt><tt><br>
      </tt><tt>-I- Modem 0: physical SIM</tt><tt><br>
      </tt><tt>-I- 0: Use local/physical SIM</tt><tt><br>
      </tt><tt>-I- Modem 1: physical SIM</tt><tt><br>
      </tt><tt>-I- 1: Use local/physical SIM</tt><tt><br>
      </tt><tt>-I- entering main loop...</tt><tt><br>
      </tt><tt>-I- 0: Card Detect Status -1 -> 0</tt><tt><br>
      </tt><tt>-I- 1: Card Detect Status -1 -> 0</tt><tt><br>
      </tt><tt>-I- USB is now configured</tt><tt><br>
      </tt><tt>-I- 1: VCC activated</tt><tt><br>
      </tt><tt>-I- 1: CLK activated</tt><tt><br>
      </tt><tt>-I- 1: CLK deactivated</tt><tt><br>
      </tt><tt>-I- 1: VCC deactivated</tt><tt><br>
      </tt><tt>-I- 1: VCC activated</tt><tt><br>
      </tt><tt>-I- 1: CLK activated</tt><tt><br>
      </tt><tt>-I- 1: CLK deactivated</tt><tt><br>
      </tt><tt>-I- 1: VCC deactivated</tt><tt><br>
      </tt><tt>-I- 0: VCC activated</tt><tt><br>
      </tt><tt>-I- 0: CLK activated</tt><tt><br>
      </tt><tt>-I- 0: CLK deactivated</tt><tt><br>
      </tt><tt>-I- 0: VCC deactivated</tt><tt><br>
      </tt><tt>-I- 0: VCC activated</tt><tt><br>
      </tt><tt>-I- 0: CLK activated</tt><tt><br>
      </tt><tt>-I- 0: CLK deactivated</tt><tt><br>
      </tt><tt>-I- 0: VCC deactivated</tt></p>
    <tt>...</tt><br>
    <b><tt>AT commands working fine here</tt></b><br>
    <tt>...</tt><br>
    <tt>Start </tt>osmo-remsim-client-st2 <br>
    .....<br>
    <p><tt>Std sInterface -W- Sta 0x88828 [0] -W- _ Std cFeat Hlt Std
        cFeat Hlt Std cFeat D</tt><tt><br>
      </tt><tt>-I- Modem 0: virtual SIM</tt><tt><br>
      </tt><tt>-I- 0: Use remote/emulated SIM</tt><tt><br>
      </tt><tt>-I- 0: ATR set: 3b 00</tt><tt><br>
      </tt><tt>-I- 0: Asserting modem reset</tt><tt><br>
      </tt><tt>-I- 0: De-asserting modem reset</tt><tt><br>
      </tt><tt>-I- 0: RST released</tt><tt><br>
      </tt><tt>-I- 0: RST asserted</tt><tt><br>
      </tt><tt>-I- 0: VCC activated</tt><tt><br>
      </tt><tt>-I- 0: CLK activated</tt><tt><br>
      </tt><tt>-I- 0: RST released</tt><tt><br>
      </tt><tt>-I- 0: computed Fi(1) Di(1) ratio: 372</tt><tt><br>
      </tt><tt>-I- 0: send_tpdu_header: 00 a4 00 0c 02</tt><tt><br>
      </tt><tt>-I- 0: flush_rx_buffer (5)</tt><tt><br>
      </tt><tt>-I- 0: flush_rx_buffer (2)</tt></p>
    <tt>...</tt><br>
    <b><tt>AT commands no longer work, no response to AT[CR]</tt></b><br>
    <tt>...</tt>
    <p><tt>NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd</tt><tt><br>
      </tt><tt>-I- 0: CLK deactivated</tt><tt><br>
      </tt><tt>-I- 0: VCC deactivated</tt><tt><br>
      </tt><tt>-I- 0: RST released</tt><tt><br>
      </tt><tt>-I- 0: RST asserted</tt><tt><br>
      </tt><tt>-I- 0: VCC activated</tt><tt><br>
      </tt><tt>-I- 0: CLK activated</tt><tt><br>
      </tt><tt>-I- 0: RST released</tt><tt><br>
      </tt><tt>-I- 0: computed Fi(1) Di(1) ratio: 372</tt><tt><br>
      </tt><tt>-I- 0: send_tpdu_header: 00 a4 00 0c 02</tt><tt><br>
      </tt><tt>-I- 0: flush_rx_buffer (5)</tt><tt><br>
      </tt><tt>-I- 0: flush_rx_buffer (2)</tt></p>
    <tt>...</tt><br>
    <b><tt>AT commands still not working</tt></b><br>
    <tt>...</tt>
    <p><tt></tt><tt>NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd</tt><tt><br>
      </tt><tt>-I- 0: CLK deactivated</tt><tt><br>
      </tt><tt>-I- 0: VCC deactivated</tt><tt><br>
      </tt><tt>-I- 0: RST released</tt><tt><br>
      </tt><tt>-I- 0: RST asserted</tt><tt><br>
      </tt><tt>-I- 0: VCC activated</tt><tt><br>
      </tt><tt>-I- 0: CLK activated</tt><tt><br>
      </tt><tt>-I- 0: RST released</tt><tt><br>
      </tt><tt>-I- 0: computed Fi(1) Di(1) ratio: 372</tt><tt><br>
      </tt><tt>-I- 0: send_tpdu_header: 00 a4 00 0c 02</tt><tt><br>
      </tt><tt>-I- 0: flush_rx_buffer (5)</tt></p>
    <tt>...</tt><br>
    <b><tt>AT Commands start working again here</tt></b><br>
    <tt>...</tt>
    <p><tt></tt><tt>NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd</tt><br>
      <br>
    </p>
  </body>
</html>