On Tue, Apr 14, 2009 at 10:59:12AM +0530, Prashant Bhole wrote:
> Hi Grag,
> I have already tried kobject_uevent. I thought kobject_uevent will notify
> about the changes. But that didn't work. I think netlink is the only way to
> asynchronously communicate with user space. Is there any other way?

kobject_uevent uses netlink :)

What did you do to see if it worked or not?  Did you run
        udevadm monitor

If not, please try that to see all uevents coming from the kernel.

Or, use poll on the sysfs file and set up the poll in the kernel
properly.

Hope this helps,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to