How to determine the event of the linux devices?

Posted by sasayins on Stack Overflow See other posts from Stack Overflow or by sasayins
Published on 2010-06-07T09:22:08Z Indexed on 2010/06/07 9:32 UTC
Read the original article Hit count: 278

Filed under:
|

Hi, I am learning some embedded programming. I am using Linux as my platform and I want to create a daemon program that will check if a particular device(magstrife, keypad, etc) is active. Like for example, my daemon program is running in the background, then when I make a keypress event, my deamon app will do something.

What implementation should I do to create this app? And how can I check the event of the devices?

Thanks.

© Stack Overflow or respective owner

Related posts about linux

Related posts about embedded