Messages in this thread | | | Date | Wed, 12 Aug 2009 08:26:45 -0600 | Subject | Event notification when sysfs attribute changes | From | "Rick L. Vinyard, Jr." <> |
| |
I'd like to allow userspace applications to track and display state changes (without polling) in a driver that exports attributes via sysfs.
What is the best way to notify userspace applications when a sysfs exported attribute changes?
In particular I wanted to drive the notification in the *_store() function of the sysfs attribute.
Also, ideally, the mechanism would allow multiple userspace applications to hook into the notification.
Thanks,
Rick
| |