[Gta04-owner] Modem is not reset when GTA04 is powered off

NeilBrown neilb at suse.de
Fri Mar 9 21:45:23 CET 2012

On Fri, 09 Mar 2012 20:24:51 +0000 Neil Jerram <neil at ossau.homelinux.net>

> "Dr. H. Nikolaus Schaller" <hns at goldelico.com> writes:
> > Hi Neil,
> >
> > Am 05.03.2012 um 20:11 schrieb Neil Jerram:
> >
> >> While testing sending DTMF tones a few days ago, I discovered that the
> >> modem isn't reset when GTA04 is powered off.  It appears that the
> >> battery has to be taken out.
> > This is a known (severe) bug of the GTA04A3 (Early Adopter) boards.
> >
> > It has been fixed in the GTA04A4 board.
> Right, yes, that rings a bell now.  And obviously it's good news that
> this isn't a problem for GTA04A4.
> > A software solution could be that e.g. QtMoko or SHR checks after
> > starting the gsm daemon if calls are still running and applies
> > a precautionary AT+CHUP. This would not harm booting a A4 board.
> For GTA04A3, I'd like also to issue AT_ORESET (1) when booting up,
> before starting up oFono or FSO, and (2) when shutting down the phone.
> But the problem is that I can't work out how to script this so that it's
> done automatically.  With "minicom -S ...", I can't make minicom quit
> after the "OK" comes.
> Does anyone know how it's possible to script sending "AT_ORESET" and
> then expecting an "OK"?  (And similarly for AT+CHUP.)

I would suggest trying the "chat" program.
It might be as simple as
   chat '' AT_ORESET OK < /dev/ttyHS_Modem > /dev/ttyHS_Modem


> (Sometimes I find that the modem appears to be in a stuck state after
> powering on the phone, and I'm guessing that this is another problem
> caused by the modem not having been completely switched off.  The
> oFono-level symptom is as previously described at [1].  When it's in
> this stuck state, it doesn't help to shutdown and reset oFono, but I
> does help if I shutdown oFono, then do an AT_ORESET by hand, and then
> restart oFono.
> [1]
> http://lists.goldelico.com/pipermail/gta04-owner/2012-February/001717.html)
> Many thanks!
>      Neil
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/gta04-owner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120310/de5bfdd2/attachment.bin>

More information about the Gta04-owner mailing list