[E3-hacking] Please help creating gpio-switch on ams-delta

Janusz Krzysztofik jkrzyszt at tis.icnet.pl
Wed May 13 15:07:10 BST 2009

Don Alexander wrote:
> Maybe this is a little off topic. But have you thought about using
> inotify to monitor events?
> ...
> I believe it can be used for any fs including sysfs? No?

No, not for sysfs. According to 
http://www.nabble.com/sysfs-and-inotify-td23021094.html, select() or 
poll() would do.

Anyway, thanks.

More information about the e3-hacking mailing list