Event notification when sysfs attribute changes

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

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux