From: "Rémi Denis-Courmont" <remi@remlab.net>
To: Kumar SANGHVI <kumar.sanghvi@stericsson.com>
Cc: netdev@vger.kernel.org, srinidhi.kasagar@stericsson.com,
linus.walleij@stericsson.com, sudeep.divakaran@stericsson.com,
gulshan.karmani@stericsson.com
Subject: Re: Query on usage of Netlink
Date: Fri, 08 Oct 2010 12:14:44 +0200 [thread overview]
Message-ID: <1b4c783a02b46d7da4e308699a41856c@chewa.net> (raw)
In-Reply-To: <20101008085056.GA13091@bnru01.bnr.st.com>
On Fri, 8 Oct 2010 14:21:28 +0530, Kumar SANGHVI
<kumar.sanghvi@stericsson.com> wrote:
> We have a requirement where-in we want to communicate the status of
> modem (whether modem is online or offline) from linux driver to
> user-space components. So that user-space components stop sending data
> to linux driver for communicating with modem, in case modem goes
> offline.
Is the modem control state machine in kernel space, as for say, 802.11
devices?
> We have decided to use the netlink mechanism to achieve this. We intend
> to send an integer value, defined in enum, to user-space indicating the
> current modem status.
(...)
> Or should we define a custom Netlink type in include/linux/netlink.h?
Did you consider using kobject and uevents (which are internally running on
top of Netlink)?
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
next prev parent reply other threads:[~2010-10-08 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-08 8:51 Query on usage of Netlink Kumar SANGHVI
2010-10-08 10:14 ` Rémi Denis-Courmont [this message]
2010-10-08 10:31 ` Kumar SANGHVI
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=1b4c783a02b46d7da4e308699a41856c@chewa.net \
--to=remi@remlab.net \
--cc=gulshan.karmani@stericsson.com \
--cc=kumar.sanghvi@stericsson.com \
--cc=linus.walleij@stericsson.com \
--cc=netdev@vger.kernel.org \
--cc=srinidhi.kasagar@stericsson.com \
--cc=sudeep.divakaran@stericsson.com \
/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;
as well as URLs for NNTP newsgroup(s).