From: Greg KH <greg@kroah.com>
To: Anil kumar <anils_r@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels
Date: Tue, 28 Apr 2009 21:10:56 -0700 [thread overview]
Message-ID: <20090429041056.GJ23062@kroah.com> (raw)
In-Reply-To: <254340.43645.qm@web32405.mail.mud.yahoo.com>
On Tue, Apr 28, 2009 at 06:32:07PM -0700, Anil kumar wrote:
>
> Hi,
>
> I see that we can use NETLINK_KOBJECT_UEVENT to send kernel messages
> to user space. This is available in most of the latest 2.6 kernels.
> But if I pick older kernels like 2.6.9 and NETLINK_KOBJECT_UEVENT is
> not available.
>
> Is there anything equivalent to NETLINK_KOBJECT_UEVENT for the driver
> to send messages to user space in older 2.6 kernels?
Older like 2.6.9? Wow, that's _many_ years old, why do you want to add
support for old kernels to something you are developing now?
Older kernels used the /sbin/hotplug interface to send messages to
userspace, you can use that.
good luck, you will need it :)
greg k-h
prev parent reply other threads:[~2009-04-29 4:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 1:32 netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels Anil kumar
2009-04-29 4:10 ` Greg KH [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=20090429041056.GJ23062@kroah.com \
--to=greg@kroah.com \
--cc=anils_r@yahoo.com \
--cc=linux-kernel@vger.kernel.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