From: Mylene JOSSERAND <mylene.josserand@openwide.fr>
To: ofono@ofono.org
Subject: Re: Sierra using QMI with linux-3.18.5 and oFono-1.16 possible?
Date: Fri, 10 Apr 2015 11:32:48 +0200 [thread overview]
Message-ID: <552798C0.5070707@openwide.fr> (raw)
In-Reply-To: <7D96BC0695F191498AA0147D723146AF5691319D@Ulm2-Exc1-MB1.p3-group.com>
[-- Attachment #1: Type: text/plain, Size: 1934 bytes --]
Hi Dirk,
On 04/10/2015 10:04 AM, Meul, Dirk wrote:
> Hi list,
>
> I'm trying to use a Sierra MC7304 datacard in QMI mode with oFono-1.16 running on ARM with linux-3.18.5 kernel.
>
> 1) Without modifications the MC7304 uses qmi-wwan and option drivers and is not recognized by oFono
> 2) After adding the product ID to the sierra module the datacard is recognized and useable, but not in QMI mode
> 3) With different product ID qmi-wwan and qcserial drivers are used but still not recognizes by oFono
> 4) Patched oFono-1.16 following "improving QMI support on recent kernels" patch set from February 2013 by Bjørn Mork, no working interface, neither with patched sierra nor with qmi-wwan/qcserial
>
> As the QMI interface /dev/cdc-wdmX now is in usbmisc interface and the patch set <https://lists.ofono.org/pipermail/ofono/2013-February/014240.html> wasn't merged I wonder if somebody is able to use QMI mode with recent kernels.
>
> So my question: is it possible to use the QMI mode on recent kernel with current oFono? Are there other patches needed I didn't found?
I am currently running Ofono (1.15) on a recent kernel (3.10.17).
I am using QMI mode, on another modem than Sierra, and it works well.
I have applied the patch series of Bjorn too but, for me, one line was missing.
It is in the plugins/udevng::check_device function.
I have added the usbmisc bus to check new devices. Sorry, I do not have time to send you a patch so try to edit this line :
if (g_str_equal(bus, "usb") == TRUE)
by this one :
if (g_str_equal(bus, "usb") == TRUE || g_str_equal(bus, "usbmisc"))
It will allow to check usb devices on usb _and_ usbmisc buses.
As Bjorn's patches was not applied (I do not know why), I did push back this modification.
At least, I should have sent it on this list.. Sorry, I did not have time and then, I forgot it ! :(
Hope this help,
Best regards,
Mylène JOSSERAND
next prev parent reply other threads:[~2015-04-10 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 8:04 Sierra using QMI with linux-3.18.5 and oFono-1.16 possible? Meul, Dirk
2015-04-10 9:32 ` Mylene JOSSERAND [this message]
2015-04-10 11:49 ` Meul, Dirk
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=552798C0.5070707@openwide.fr \
--to=mylene.josserand@openwide.fr \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox