On 2010/11/30 09:10, Christopher Zimmermann wrote: > Still I'd like to implement a sysctl interface. The example of > lid_suspend did not help much. I need something like a callback when > userspace changes the sysctl variable. Is this possible? Or should I do > it like it is done for lid_suspend and regularly poll the variable?
Look at ddb.trigger (DBCTL_TRIGGER).
