All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giacinto Cifelli <gciofono@gmail.com>
To: ofono@ofono.org
Subject: Re: Option to not power off radio during start ofono
Date: Wed, 19 Feb 2020 12:24:51 +0100	[thread overview]
Message-ID: <CAKSBH7Eg=4Ci+R-tB5LQ1nsiTAhdtUQ6s-ScO=W239P2tbmpmA@mail.gmail.com> (raw)
In-Reply-To: <CAHB-Pjm6HLEcobwDnS5sgvg6vL_FxemUGZb4mcp82UmbDLO-SQ@mail.gmail.com>

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

Hi Richard,

>>
>> trying is quite easy. In plugins/ublox.c, there are 2 occurrencies of
>> "AT+CFUN=4":
>>  -> change both of them to "AT+CFUN=1".
>>   (I am not sure whether this will produce an error in case the modem
>> is already in CFUN:1, but it is worth trying).
>
> Yeah I have done this for a while. The question was not how to do it,
> just if there was an interest to get this kind of code upstreamed.
>

I don't have a uBlox modem at hand to test, but I expect there can be
problems similar to race conditions if the AT+CFUN=4 is commented out
instead of being changed to something more innocent.
Actually also an empty "AT" would do in your case.

Giacinto

  reply	other threads:[~2020-02-19 11:24 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 [this message]
2020-02-19 18:52 ` Denis Kenzior
2020-02-26 10:25   ` Richard =?unknown-8bit?q?R=C3=B6jfors?=

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='CAKSBH7Eg=4Ci+R-tB5LQ1nsiTAhdtUQ6s-ScO=W239P2tbmpmA@mail.gmail.com' \
    --to=gciofono@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.