I think you could use sysfs_notify to send the notification and use select() or poll() to wait for changes in the sysfs file in the interrupt handler routine. You can find an example of this in the gpio-fan driver.<br>Hope it helps<br>

<br>-- <br>Saluti,<br>Fabio Pozzi<br><br>