All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Extend modem.conf
Date: Wed, 21 Oct 2009 17:04:37 -0500	[thread overview]
Message-ID: <200910211704.38061.denkenz@gmail.com> (raw)
In-Reply-To: <4ADECBE4.1060500@gmail.com>

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

Hi Ryan,

> Hello,
>
> I was wanting to extend the syntax of the modem.conf file. It is extra
> work to maintain a different plugin file for each generic AT modem with
> a different speed, serial settings.
>

I agree that this would be useful.

> I'm not sure on the best syntax for this. Maybe below could be a solution.
>
> [generic]
> Driver=atgen
> Device=/dev/ttyS0
> DeviceOpts=baud=115200:read=on:local:on

I prefer something like:
[generic]
Driver=atgen
Device=/dev/ttyS0
Baud=115200
Read=on
Local=on

We can even capitalize the values in gattty if it makes things easier.

> Also, shouldn't the "Driver" keyword in the file be named "Plugin"
> instead? It may give a better indication where to read in the source.

Everything is a driver, in this case we mean the modem driver.  These are also 
generally always plugins of the same name which leads to confusion.

Regards,
-Denis

      reply	other threads:[~2009-10-21 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21  8:52 Extend modem.conf Ryan Raasch
2009-10-21 22:04 ` 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=200910211704.38061.denkenz@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.