From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Ofono with Sagem Hilo GPRS
Date: Tue, 01 Jun 2010 17:13:13 -0500 [thread overview]
Message-ID: <201006011713.13937.denkenz@gmail.com> (raw)
In-Reply-To: <AANLkTik2eSxX2SKAex706K0m8VHtJ0atXQw-YCfdN578@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1897 bytes --]
Hi Andrew,
> > Seems we try to read EFmwis and get back a '\0' as a response. This
> > probably stalls the gatchat queue and causes the sim poll timeout to
> > fire. Or is there something else going on I'm not seeing?
>
> Yes, it seems there's not much we can do when the queue gets stuck so
> for each of these modems we need a custom driver. The sim polling
> code thinks the card is dead because it counts the timeout from the
> moment it submits the STATUS poll to the queue, not the moment the
> command is executed. We need to either disable the polling or start
> timer when the command is sent to modem.
I'm still of the opinion this is not really relevant with today's hardware.
The modem will be doing its own polling and it makes no sense for the main
processor to do so as well (power consumption goes through the roof.)
However, it could be some vendor is actually crazy enough to require it.
>
> If the device doesn't have a removable card, and there's a
> vendor-specific PROACTIVE COMMAND notification then there's no point
> polling. If the card is removable and modem doesn't support AT+CSIM,
> we can send the status through AT+CRSM instead, maybe
> atmodem/sim-poll.c should have a quirk for that.
I think we should assume that vendor specific STK notifications and non-
removable cards are the default, not the other way around.
We should keep sim polling out of atgen. Even initializing the stk atom in
atgen plugin is wrong due to how wildly different the modem implementations
are. People use atgen as the first driver to get started with oFono, so lets
keep its feature set conservative, or at least add more intelligence into the
atmodem stk driver. E.g. if CSIM is not supported / allowed, don't bother
doing anything.
However, this is now getting off-topic from the original discussion.
Regards,
-Denis
next prev parent reply other threads:[~2010-06-01 22:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 14:46 Ofono with Sagem Hilo GPRS Bouteille Yoann
2010-06-01 19:11 ` Denis Kenzior
2010-06-01 20:34 ` andrzej zaborowski
2010-06-01 21:17 ` Denis Kenzior
2010-06-01 21:46 ` andrzej zaborowski
2010-06-01 22:13 ` Denis Kenzior [this message]
2010-06-01 22:23 ` andrzej zaborowski
2010-06-01 22:24 ` andrzej zaborowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201006011713.13937.denkenz@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.