On Tue, Apr 14, 2009 at 11:01 AM, Greg KH <greg@xxxxxxxxx> wrote:
On Tue, Apr 14, 2009 at 10:59:12AM +0530, Prashant Bhole wrote:kobject_uevent uses netlink :)
> 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?
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
--
~p~r~a~s~h~a~n~t~