netlink NETLINK_KOBJECT_UEVENT older 2.6 kernels
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
Quoted 10 lines · Anil kumar
Hi,
I see that we can use
NETLINK_KOBJECT_UEVENTto 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 andNETLINK_KOBJECT_UEVENTis not available.Is there anything equivalent to
NETLINK_KOBJECT_UEVENTfor 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