From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: oFono support for the Telit GC864-QUAD V2 serial port GSM/GPRS modem
Date: Wed, 17 Oct 2012 13:44:54 -0500 [thread overview]
Message-ID: <507EFCA6.1080905@gmail.com> (raw)
In-Reply-To: <20121017210322.617A1550-242D-48C9-854C-9E1733EB9FB3.mhubig@imko.de>
[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]
Hi Markus,
On 10/17/2012 02:13 PM, Markus Hubig wrote:
> On Wed, Oct 17, 2012 at 08:34:21AM -0500, Denis Kenzior wrote:
>> On 10/17/2012 06:28 AM, Markus Hubig wrote:
>>> 1. The one-and-only way to tell oFono to use a modem is by udev rules like
>>> this: KERNEL=="ttyUSB0", ENV{OFONO_DRIVER}="calypso"
>>>
>> Not the 'only' way, but that is the preferred way. The KERNEL==
>> line tells udev the device to use and OFONO_DRIVER part tells what
>> modem driver to use (e.g. one from plugins/)
>
> e.g. means there are other places where drivers can be found. What exactly
> makes some blob.c a oFono driver? And what's the minimal API I have to
> implement to make a working driver?
>
No, modem drivers are only found in plugins/. However, there are other
ways of creating modems besides udev. However, that is not really
relevant to this discussion.
The bare minimum API would be probe and remove. However, that is not
very useful :)
>>> So in order to write a driver to support the GC864, what would be a good
>>> starting point? Add support for serial port CMUX to the telit driver?
>>>
>> I would create a brand new modem driver, perhaps using calypso as
>> the starting point and go from there.
>
> Hm OK i'll give it at try. But the few docs I found refer havily to the simple
> oFono-API but were can I find it? Inside doc's?
>
The docs are referring to application APIs which are exposed via D-Bus.
These are found in the doc/ directory. There isn't a howto / tutorial
on how to write a brand new modem driver, however just about everything
can be figured out by poking around in plugins/.
>>> Looking forward for some advice ...
>>>
>> IRC is also a good place to get (quick) questions answered.
>
> Unfortunately every time I'm on IRC everybody else seems to be asleep ... ;-(
>
Maybe you're in the wrong hemisphere? :) Most of the (still active)
people are in the U.S. timezones.
Regards,
-Denis
prev parent reply other threads:[~2012-10-17 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-17 11:28 oFono support for the Telit GC864-QUAD V2 serial port GSM/GPRS modem Markus Hubig
2012-10-17 13:34 ` Denis Kenzior
2012-10-17 19:13 ` Markus Hubig
2012-10-17 18:44 ` 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=507EFCA6.1080905@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.