From: Denis Kenzior <denkenz@gmail.com>
To: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>, ofono@lists.linux.dev
Cc: absicsz@gmail.com, merlijn@wizzup.org
Subject: Re: [PATCH 1/6] gobi: PERSIST_LOW_POWER instead of LOW_POWER when disabling modem
Date: Mon, 28 Jul 2025 09:39:41 -0500 [thread overview]
Message-ID: <63de4b6f-9af8-4bfb-b97e-8d5c7d53e53a@gmail.com> (raw)
In-Reply-To: <20250725121954.650668-2-ivo.g.dimitrov.75@gmail.com>
Hi Ivo,
On 7/25/25 7:19 AM, Ivaylo Dimitrov wrote:
> We don't want modem to auto wake-up when
> ---
> plugins/gobi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/plugins/gobi.c b/plugins/gobi.c
> index 52ead377..027c4dba 100644
> --- a/plugins/gobi.c
> +++ b/plugins/gobi.c
> @@ -442,7 +442,7 @@ static void get_oper_mode_cb(struct qmi_result *result, void *user_data)
> switch (data->oper_mode) {
> case QMI_DMS_OPER_MODE_ONLINE:
> param = qmi_param_new_uint8(QMI_DMS_PARAM_OPER_MODE,
> - QMI_DMS_OPER_MODE_LOW_POWER);
> + QMI_DMS_OPER_MODE_PERSIST_LOW_POWER);
Not so sure about this. In the past we've had problems with some QMI modems
either not honoring this mode, or turning off entirely (my memory is fuzzy
here). Perhaps we can make this an attribute as well and let hardware
detection logic set the low power mode to use? Similar to how you handle LTE
capability in patch 5?
> if (!param) {
> shutdown_device(modem);
> return;
> @@ -922,7 +922,7 @@ static int gobi_disable(struct ofono_modem *modem)
> goto out;
>
> param = qmi_param_new_uint8(QMI_DMS_PARAM_OPER_MODE,
> - QMI_DMS_OPER_MODE_LOW_POWER);
> + QMI_DMS_OPER_MODE_PERSIST_LOW_POWER);
> if (!param)
> return -ENOMEM;
>
Regards,
-Denis
next prev parent reply other threads:[~2025-07-28 14:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 12:19 [0/6] droid: migrate to gobi QMI driver Ivaylo Dimitrov
2025-07-25 12:19 ` [PATCH 1/6] gobi: PERSIST_LOW_POWER instead of LOW_POWER when disabling modem Ivaylo Dimitrov
2025-07-25 12:28 ` Ivaylo Dimitrov
2025-07-28 14:39 ` Denis Kenzior [this message]
2025-07-28 16:48 ` Ivaylo Dimitrov
2025-07-25 12:19 ` [PATCH 2/6] gobi: fix start_service_requests() return type Ivaylo Dimitrov
2025-07-25 12:19 ` [PATCH 3/6] gobi: request PDS service if supported Ivaylo Dimitrov
2025-07-25 12:19 ` [PATCH 4/6] gobi: Do not try to create WDA service if modem does not support it Ivaylo Dimitrov
2025-07-25 12:19 ` [PATCH 5/6] gobi: Introduce "LTE" modem property Ivaylo Dimitrov
2025-07-28 14:46 ` Denis Kenzior
2025-07-28 16:44 ` Ivaylo Dimitrov
2025-07-28 17:13 ` Denis Kenzior
2025-07-25 12:19 ` [PATCH 6/6] plugins: drop droid and use gobi for droid4 modem instead Ivaylo Dimitrov
2025-07-28 14:50 ` [0/6] droid: migrate to gobi QMI driver patchwork-bot+ofono
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=63de4b6f-9af8-4bfb-b97e-8d5c7d53e53a@gmail.com \
--to=denkenz@gmail.com \
--cc=absicsz@gmail.com \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=merlijn@wizzup.org \
--cc=ofono@lists.linux.dev \
/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.