It seems to be possible to monitor sysfs gpio using [e]poll
It seems to be possible to monitor sysfs gpio using [e]poll