[Community] GTA04 - Standby Time, Stable Kernel and Voice Quality
NeilBrown
neilb at suse.de
Sat Jan 26 05:02:07 CET 2013
On Fri, 25 Jan 2013 11:13:28 +1100 NeilBrown <neilb at suse.de> wrote:
> On Thu, 24 Jan 2013 23:37:24 +0000 Neil Jerram <neil at ossau.homelinux.net>
> wrote:
> > You've probably seen my recent emails about a C program for getting
> > diagnostic messages from the modem. My hope is that if we can
> > categorise all the failure states, and get an idea (or guess) of what
> > causes each of those to occur, we might then be able to reproduce them
> > with diagnostic messages on, and those messages might give us clues
> > about how to work around the problem. It would also be useful to have
> > low-power monitoring that would quickly identify whenever the modem had
> > gone into some bad state, and which bad state it was.
>
> I hadn't given those emails the attention they deserve - I will now.
> I'll try to integrate that tool into my log collection
Well that was interesting.
I arranged for this script to run at boot time:
----------------------------------------------------------------------
#!/bin/sh
while :
do
while [ ! -e /dev/ttyHS_Diagnostic ]
do sleep 5
done
/usr/local/bin/gta04-modem-messages -l 2 -k 5 > /tmp/gsm-diag
mv /tmp/gsm-diag /data/gsmd.logs/diag.`date '+%Y-%m-%d_%H:%M:%S'`
done
---------------------------------------------------------------------
So that I would get logs after any modem crash.
This resulted in my phone locking up hard on about 3 in every 4 reboots.
Maybe I was connecting too soon or something. Maps once ttyHS_Diagnostic
appears I should wait 10 seconds before running gta04-modem-messages. But
for now I just disabled it.
Neil
-------------- 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/community/attachments/20130126/20592008/attachment.asc>
More information about the Community
mailing list