From: Denis Kenzior <denkenz@gmail.com>
To: Timo Ketola <timo.ketola@exertus.fi>, ofono@lists.linux.dev
Subject: Re: Quectel modem ceases working
Date: Wed, 10 Sep 2025 10:31:05 -0500 [thread overview]
Message-ID: <379c6d32-28be-40ac-a055-0ebcf13613ea@gmail.com> (raw)
In-Reply-To: <e400c04f-1550-4263-9f21-ce1476e12c80@exertus.fi>
Hi Timo,
On 9/10/25 5:59 AM, Timo Ketola wrote:
> Hi Denis,
>
> Thanks for looking at this!
>
> My further testing unsurprisingly shows that my hack does not really
> work. list-modems looks better and the IF gets IP address but actual
> traffic does not work.
Yeah, looks like the raw_ip setting isn't being reset back to what is expected.
>
>> What kernel are you running?
>
> 5.4.78 with RT patch.
Ugh. I really have no desire to support kernels pre-5.15 when the passthrough
capability was introduced. I also have no hardware that is not 802.3 mode
capable. You can try the following patch though and see if things work again.
Regards,
-Denis
diff --git a/plugins/gobi.c b/plugins/gobi.c
index 52ead377de7f..1b77e5e32ed6 100644
--- a/plugins/gobi.c
+++ b/plugins/gobi.c
@@ -665,10 +665,21 @@ static void set_data_format_cb(struct qmi_result *result,
void *user_data)
DBG("");
if (!qmi_result_set_error(result, NULL)) {
+ struct qmi_wda_data_format actual;
+
if (!compare_data_format(data, result))
goto done;
ofono_error("Setting Data Format had no effect");
+
+ if (!qmi_wda_parse_data_format(result, &actual) &&
+ data->data_format == WDA_DATA_FORMAT_802_3 &&
+ actual.ll_protocol ==
+ QMI_WDA_DATA_LINK_PROTOCOL_RAW_IP) {
+ ofono_warn("Modem seems to only work in raw-ip mode");
+ data->data_format = WDA_DATA_FORMAT_RAW_IP;
+ goto done;
+ }
}
if (data->data_format == WDA_DATA_FORMAT_802_3)
next prev parent reply other threads:[~2025-09-10 15:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 8:30 Quectel modem ceases working Timo Ketola
2025-09-09 15:23 ` Denis Kenzior
2025-09-10 10:59 ` Timo Ketola
2025-09-10 15:31 ` Denis Kenzior [this message]
2025-09-10 17:45 ` adam
2025-09-10 19:34 ` Denis Kenzior
2025-09-10 20:23 ` Adam Pigg
2025-09-10 17:49 ` Timo Ketola
2025-09-10 19:29 ` Denis Kenzior
2025-09-11 12:45 ` Timo Ketola
2025-09-11 14:43 ` Denis Kenzior
2025-09-11 19:08 ` adam
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=379c6d32-28be-40ac-a055-0ebcf13613ea@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@lists.linux.dev \
--cc=timo.ketola@exertus.fi \
/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.