For OLPC, we need to detect inactivity. For the moment (until the session bits and bobs are connected) I really just want to monitor /dev/input/event[x] where x = 0 to 4. I'm thinking of using select() with open fds on each input device, although I'm no expert in this sort of thing. Suggestions (or example code) welcome! Thanks, Richard.