All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: ofono with serial modem
Date: Fri, 02 Dec 2011 05:48:38 -0600	[thread overview]
Message-ID: <4ED8BB16.4020302@gmail.com> (raw)
In-Reply-To: <CAC+thW0YjVzQ-w0FOC228d+48Ug0o2+xpO5x44XL8LhL+nP7hg@mail.gmail.com>

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

Hi Andrea,

>> See the calypso modem driver in plugins/calypso.c for an example as well
>> as doc/calypso-modem.txt for an example udev rule.
> 
> At moment I'm interested in using ofono with a Telit GPRS module with
> serial interface.
> As far as I understand, there already exist a driver for Telit UC864-G
> in plugins dir. I'm trying to figure out how much of this driver can
> be used for other modules by Telit. I'm trying to follow the code path
> from udev detection down to driver selection. I'm therefore slightly
> confused by the interaction of the two modules udev.c and udevng.c. I

udev is the old detection code, udevng is the next generation detection
code.  They work together at the moment.

> see setup and init function for different modems in both of them. Are
> they supposed to provide different functions or is "ng" a short for
> new-generation or the like? If so, and supposed I need to write a new
> driver for the modem, where should I hook it?

If you're adding a new serial modem then likely you want to put it into
udev.c for now.  udevng is limited to USB devices only at the moment.

Regards,
-Denis

      reply	other threads:[~2011-12-02 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 10:52 ofono with serial modem Andrea Galbusera
2011-11-30  9:15 ` Denis Kenzior
2011-12-05 13:52   ` Andrea Galbusera
2011-12-02 11:48     ` Denis Kenzior [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=4ED8BB16.4020302@gmail.com \
    --to=denkenz@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.