public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels
@ 2009-04-29  1:32 Anil kumar
  2009-04-29  4:10 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Anil kumar @ 2009-04-29  1:32 UTC (permalink / raw)
  To: linux-kernel


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?

Thanks for your help in advance.

With regards,
  Anil


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels
  2009-04-29  1:32 netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels Anil kumar
@ 2009-04-29  4:10 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2009-04-29  4:10 UTC (permalink / raw)
  To: Anil kumar; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-29  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29  1:32 netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels Anil kumar
2009-04-29  4:10 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox