All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: RE: Removal of modemconf plugin
Date: Tue, 17 Aug 2010 12:21:58 +0200	[thread overview]
Message-ID: <1282040518.23399.69.camel@localhost.localdomain> (raw)
In-Reply-To: <CE761E84DADF2947A4AF22FB8D97A47328F28F73@shsmsx501.ccr.corp.intel.com>

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

Hi Yang,

> >> What about dual mode modems that with two different serial ports?
> >> e.g. a modem support both GSM and CDMA, there is a serial port
> >> For GSM, and there is a serial another for CDMA.
> >>
> >>
> >> Why not keep both udev and modemconf plug-in. It remains for the user
> >> To decide which way to use. I think maybe we can change the compile
> >> Scrips, let user to select which plug-in to use.
> >
> >I don't even see a problem with this at all. Every serial port is
> >present in udev, so you can write proper udev rules for it. A modem with
> >a serial port for GSM and another one CDMA will be just presented as two
> >modems inside oFono. So no problem at all.
> >
> >So modemconf plugin will be removed since it is not needed at all. The
> >only component that needs it is the phonesim plugin. And that will get
> >its own configuration file.
> 
> Can we just add some code in phonesim to make it look like a pseudo serial device which can be managed by udev? That is, if we start the phonesim, it will simulate some tty ports under /dev and udevd will inform the oFono there is a new device (We need some rule for phonesim). And the device disappears if phonesim meets an end.
> Maybe this is possible if we can send message to udevd the same way as kernel via netlink.

in theory yes, but phonesim is the one piece that also works via TCP. So
just having a /etc/ofono/phonesim.conf is a lot simpler.

Regards

Marcel



  reply	other threads:[~2010-08-17 10:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-12 15:00 Removal of modemconf plugin Marcel Holtmann
2010-08-13  8:06 ` Kalle Valo
2010-08-13 12:56   ` Marcel Holtmann
2010-08-17  9:25     ` Zhang, Caiwen
2010-08-17  9:54       ` Marcel Holtmann
2010-08-17 10:08         ` Gu, Yang
2010-08-17 10:21           ` Marcel Holtmann [this message]
2010-08-17 10:29         ` Wang, Pengzhuo
2010-08-17 10:58           ` Marcel Holtmann
2010-08-13  8:52 ` Pekka Pessi
2010-08-13 12:56   ` Marcel Holtmann
2010-08-13 18:22     ` Pekka Pessi

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=1282040518.23399.69.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 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.