All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard =?unknown-8bit?q?R=C3=B6jfors?= <richard.rojfors@gmail.com>
To: ofono@ofono.org
Subject: Re: Option to not power off radio during start ofono
Date: Wed, 26 Feb 2020 11:25:24 +0100	[thread overview]
Message-ID: <CAHB-Pjk3HMRu0NWaz5TnSFRfNyrzrVQ-2fUeR3oCZnPnCyCChA@mail.gmail.com> (raw)
In-Reply-To: <f81e13eb-6c7a-78ce-c4dd-2fc998cdbb96@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1812 bytes --]

Hi Denis,

Den ons 19 feb. 2020 kl 19:52 skrev Denis Kenzior <denkenz@gmail.com>:

> Hi Richard,
>
> On 2/18/20 3:19 AM, Richard Röjfors wrote:
> > Hi,
> >
> > Ofono (at least for ublox) is always powering off the radio during start.
> > This can of course be handy of programmatic reasons to bring the modem
> > to a known state.
> > Some configuration requires the radio to be turned off;  for instance
> > the LTE auto connect APN. But on the other hand these are stored in
> > non-volatile memory and could be configured before hand.
>
> So by default we bring the device into airplane mode until the SIM card
> has been initialized.  Also, the policy decision of bringing the radio
> up / down was left to external services such as ConnMan.
>
> >
> > The big drawback with turning it off is that it might take time to
> > register again when the radio is on. I have seen it taking more than 10
> > minutes in extreme cases.
> >
>
> That's nuts.  Shouldn't take more than a few seconds?
>

I would assume so too, but that's what we have experienced.


>
> > In embedded systems this can be a big issue.
> >
>
> Indeed.
>
> > I'm thinking of adding a configuration option to keep the radio on
> > during start.
> >
> > Whats the general thought about this?
> >
>
> Not sure.  Are you certain that adding such low-level config options is
> the right approach?


I'm not sure thats why I started the discussion. The other suggestion
in this thread was to use some environment variable to pass the
information, maybe thats a better way?


>   Even documenting / explaining what and why this
> configuration option is there would be challenging I imagine.
>

Yes it will be. I think I'm convinced we should not have this
feature upstreams.

--Richard

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 2678 bytes --]

      reply	other threads:[~2020-02-26 10:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18  9:19 Option to not power off radio during start ofono Richard =?unknown-8bit?q?R=C3=B6jfors?=
2020-02-18 19:27 ` Giacinto Cifelli
2020-02-19  9:06   ` Richard =?unknown-8bit?q?R=C3=B6jfors?=
2020-02-19 10:04     ` Giacinto Cifelli
2020-02-19 10:41       ` Richard =?unknown-8bit?q?R=C3=B6jfors?=
2020-02-19 11:24         ` Giacinto Cifelli
2020-02-19 18:52 ` Denis Kenzior
2020-02-26 10:25   ` Richard =?unknown-8bit?q?R=C3=B6jfors?= [this message]

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=CAHB-Pjk3HMRu0NWaz5TnSFRfNyrzrVQ-2fUeR3oCZnPnCyCChA@mail.gmail.com \
    --to=richard.rojfors@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.