Re: sysfs and inotify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux