Hello,<div><br></div><div>I remember that in QtMoko we had a specific patch for the GTA04 to check if the gsm chipset were still responding and restart it if not [0]. IIRC it happened often after receiving SMS in suspend mode (but not always, that's why it was difficult to point it out).</div><div><br></div><div>If I read correctly your workaround, it seems QtMoko had same issue and I think your solution is well better to workaround this issue (I'm not sure if it is the same, but I think so).</div><div><br></div><div>Regards,</div><div>Adrien</div><div><br></div><div><br></div><div>[0]: <a href="https://github.com/radekp/qtmoko/blob/master/devices/gta04/patches/restart-when-modem-stops-working.patch">https://github.com/radekp/qtmoko/blob/master/devices/gta04/patches/restart-when-modem-stops-working.patch</a></div><div>[1]: <a href="https://github.com/radekp/qtmoko/blob/master/devices/gta04/src/devtools/scripts/fix-modem-reenumerate.sh">https://github.com/radekp/qtmoko/blob/master/devices/gta04/src/devtools/scripts/fix-modem-reenumerate.sh</a> <- the called script which restart completly the QtMoko main processus<br><br>Le ven 12 déc 2014 à 18:11, Lukas Maerdian <luk@slyon.de> a écrit :<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Am 12.12.2014 um 16:41 schrieb Rico Rommel:
<blockquote> Am Freitag, 12. Dezember 2014, 16:17:54 schrieb Lukas Maerdian:
<blockquote> Hello everybody,

 since quite some time I'm trying to debug the Replicant modem suspend
 behavior, but I cannot find any solution...

 My problem is that the modem transitions into a strange state after a
 suspend/resume cycle, where it just returns the CME error 0 (phone
 failure) to every single AT command I send. If I kill/restart the Radio
 Interface Layer ("killall rild"), the modem seems to be working fine
 again, so I guess a "AT+CFUN=0; AT+CFUN=1" correctly resets the modem.
</blockquote> 
 I don't know if it's related to this or a bug in my phonesoftware, but on 
 resume my phone switches automatically to airplane mode. So I have to set 
 operating mode everytime the phone resumes. 
 I use kernel 3.12 and can't remember, if this problem also existed with kernel 
 3.7.
</blockquote>
Hi Rico,

indeed this seems to be the case! I'm on 3.12 as well and directly after
resume everything is fine (CFUN: 1) but about 1 sec after the resume I
receive a "+CREG: 0" URC and if I issue "AT+CFUN?" afterwards I receive
a "+CFUN: 4", i.e. airplane mode.

So, after this I can simply switch airplane mode off (AT+CFUN=1) and the
device will be back online! Well... the 3G connection still needs to be
re-configured, but this is another issue.

Thanks a bunch, this was the missing piece I was looking for!

I assume the modem is still operational during suspend, i.e. is able to
receive calls/SMS and interrupt the CPU, can you confirm this?

Best,
  Lukas

</div><div class="plaintext" style="white-space: pre-wrap;">_______________________________________________
Gta04-owner mailing list
Gta04-owner@goldelico.com
<a href="http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner">http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner</a>
</div></blockquote></div>