Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH] modemconf: default to grabbing the "Device" entry from the config file
Date: Sat, 03 Oct 2009 04:25:09 +0200	[thread overview]
Message-ID: <1254536709.4114.4.camel@localhost.localdomain> (raw)
In-Reply-To: <20091002193620.42404dad@mycelium.queued.net>

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

Hi Andres,

> Previously, we manually listed every driver entry that needed Device;
> this meant that we needed to edit modemconf.c every time we added
> a new modem plugin.  Sjoerd Simons discovered that mbm doesn't work
> because it wasn't listed in modemconf, therefore Device was being
> ignored.  This patch makes modemconf default to setting Device, with
> exceptions made for certain plugin drivers.
> 
> A better way to fix this that I started working on would be to have
> each driver plugin have a table of desired/required strings, and to
> keep any knowledge of drivers out of udev.c and modemconf.c.  This
> may be a bit of a challenge for udev.c, though.  Is this something
> that people would like to see?

actually modemconf is only for static devices inside embedded systems
like a mobile phone. The desktop should auto-discover modems via udev
and MBM is one of them that get auto-discovered nicely when having a
proper libudev in place.

Regards

Marcel



      reply	other threads:[~2009-10-03  2:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-02 23:36 [PATCH] modemconf: default to grabbing the "Device" entry from the config file Andres Salomon
2009-10-03  2:25 ` Marcel Holtmann [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=1254536709.4114.4.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --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